Commit Graph

13 Commits

Author SHA1 Message Date
Max Brunsfeld
079f4d901c Move all .toggleLineComments tests to text-editor-spec.js 2017-10-23 17:00:05 -07:00
Max Brunsfeld
311567ecec Simplify .toggleLineComments method to avoid using oniguruma 2017-10-23 16:45:12 -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
cd1a265dd3 Move .suggestedIndentForBufferRow tests to tokenized-buffer-spec 2017-09-24 09:54:06 -07:00
Max Brunsfeld
274a699272 Remove unused method TokenizedBuffer.indentLevelForRow 2017-09-22 16:20:10 -07:00
Max Brunsfeld
0884546d3c Move everything but auto-indent out of LanguageMode 2017-09-22 14:33:02 -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
b1a3460ad9 Fix scope name in TokenizedBuffer test 2017-09-21 15:52:07 -07:00
Max Brunsfeld
4c2680e68a Organize TokenizedBuffer test 2017-09-21 14:31:13 -07:00
Max Brunsfeld
15a5728751 Use async/await in TokenizedBuffer test 2017-09-21 14:27:52 -07:00
Max Brunsfeld
1ca1c545ba Convert TokenizedBuffer spec to JS 2017-09-21 14:06:05 -07:00