checker functions outline, pushing now but that's how it's meant to look in the future
This commit is contained in:
parent
cd6d9e1e86
commit
573a164246
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,12 @@ appEvent st ev
|
|||
|
||||
|
||||
-- TODO Refactor parts into SyntaxChecker.hs somehow
|
||||
-- Rough idea:
|
||||
-- 1) make some monad that carries kind of markup-info
|
||||
-- state from one checker function to the next
|
||||
-- 2) call checker functions in editor
|
||||
-- 3) get (combined) markup-info from checkers
|
||||
-- 4) apply markup-info in editor function
|
||||
|
||||
brackets :: [(Char,Char)]
|
||||
brackets = [('(',')'),('[',']'),('{','}')]
|
||||
|
|
Loading…
Reference in a new issue