Max Brunsfeld
cfe5cfce76
Move .toggleLineComments method from TokenizedBuffer to TextEditor
2017-10-23 17:44:45 -07:00
Max Brunsfeld
311567ecec
Simplify .toggleLineComments method to avoid using oniguruma
2017-10-23 16:45:12 -07:00
Max Brunsfeld
c9c4957921
Avoid unnecessary work in TokenizedBuffer.isFoldableAtRow
2017-10-03 12:36:49 -07:00
Max Brunsfeld
4975f659c0
🎨 toggleLineCommentsForBufferRows
2017-10-03 11:27:00 -07:00
Max Brunsfeld
44d6868855
Preserve indentation when toggling comments on whitespace-only lines
2017-10-03 10:14:45 -07:00
Max Brunsfeld
345e236d86
Fix toggleLineCommentsForBufferRows
2017-09-25 09:52:15 -07:00
Max Brunsfeld
090b753d84
Move toggleLineCommentsForBufferRows to TokenizedBuffer
2017-09-24 10:34:34 -07:00
Max Brunsfeld
7cd6e266b2
Add back some default properties of TokenizedBuffer
2017-09-24 09:16:30 -07:00
Max Brunsfeld
a73de8c0b5
Avoid spurious updates in autoDecreaseIndentForBufferRow
2017-09-23 00:22:11 -07:00
Max Brunsfeld
e14aa842ff
Move auto-indent code to TokenizedBuffer, 🔥 LanguageMode
2017-09-22 16:44:21 -07:00
Max Brunsfeld
274a699272
Remove unused method TokenizedBuffer.indentLevelForRow
2017-09-22 16:20:10 -07:00
Max Brunsfeld
8be9375508
Remove unnecessary TokenizedBuffer methods
2017-09-22 14:38:54 -07:00
Max Brunsfeld
6c1356cae3
Move folding logic from LanguageMode to TokenizedBuffer
...
* Restate the folding logic to not *use* the TextEditor, but instead to
*return* ranges which can be folded by the editor.
* Convert the LanguageMode spec to JS
2017-09-22 12:04:51 -07:00
Max Brunsfeld
58035e4682
👕
2017-09-21 15:15:53 -07:00
Max Brunsfeld
67254766d7
Convert TokenizedBuffer to JS
2017-09-21 14:05:49 -07:00