Zachary Yedidia
bd0c5c655e
Add more syntax files and include syntax highlighter in the repo
2017-02-26 11:14:35 -05:00
Zachary Yedidia
1ba51e4f59
Fix newline state
2017-02-26 11:14:35 -05:00
Zachary Yedidia
7fe2b8ef2f
Store highlighting matches in each line
2017-02-26 11:14:35 -05:00
Zachary Yedidia
d0057121ef
Start implementing syntax highlighting optimizations
2017-02-26 11:14:35 -05:00
Zachary Yedidia
18c4196354
Store states in linearray
2017-02-26 11:14:35 -05:00
Zachary Yedidia
043f7cdc47
Fix various linter and vet warnings
2017-02-21 13:07:37 -05:00
Zachary Yedidia
eeaac76f5f
Use io.Readers to read files more efficiently
2016-11-29 13:44:30 -05:00
Zachary Yedidia
8c0983a36c
Add some more comments
2016-07-10 13:26:24 -04:00
Zachary Yedidia
3080e32a8f
Fix multiline remove in lineArray
...
I forgot that when you remove lines[n] then lines[n+1] becomes lines[n]
so to remove the range lines[a:b] you need to remove lines[a] for a-b
times. In this case we should delete lines[start.Y + 1] over and over
instead of removing lines[i] because i is contantly increasing.
Fixes #166
2016-06-08 10:21:27 -04:00
Zachary Yedidia
72f5808025
Replace rope with lineArray
2016-06-07 11:43:28 -04:00