Commit Graph

27 Commits

Author SHA1 Message Date
Ford Hurley
3ad3852dd6 Add a test for generated TextEditor ids 2017-12-27 15:16:22 -05:00
Damien Guard
ca53cf9ec1
Remove the texteditor isModified/isReadOnly handling intended for unsavable edit buffers as causes issues with vim-mode-plus 2017-12-13 09:17:30 -08:00
Katrina Uychaco
b3cee41f28 Merge remote-tracking branch 'origin/master' into ku-add-readonly-editor-attribute 2017-12-05 14:02:39 -08:00
Damien Guard
70e773fa7b
Ensure read-only text editors are not considered 'modified'. Also clear read-only flag on successful save. 2017-12-04 13:12:08 -08:00
Max Brunsfeld
607ed74e7b Rename TokenizedBuffer to TextMateLanguageMode 2017-11-28 16:57:06 -08:00
Max Brunsfeld
74a2609216 Ensure stateStore isConnected for .shouldPromptToSave tests 2017-11-28 12:13:09 -08:00
Max Brunsfeld
e08091f193 Make assignLanguageMode take a language id instead of a language name 2017-11-28 11:14:29 -08:00
Max Brunsfeld
bd4cc42daf Set the visible state on newly-assigned language modes 2017-11-22 09:35:39 -08:00
Max Brunsfeld
aa1f5dde83 Fix TextEditor tests 2017-11-20 16:49:56 -08:00
Max Brunsfeld
f6c2e0eba4 Allow setting the null language mode w/ assignLanguageMode(buffer, null) 2017-11-20 09:48:00 -08:00
Max Brunsfeld
653ecd7f52 Merge branch 'master' into mb-use-language-mode-api 2017-11-15 12:52:36 -08:00
Nathan Sobo
ad1328db5a Revert "Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold"
This reverts commit 6227ecebed, reversing
changes made to 311055c575.
2017-11-14 12:17:50 -07:00
Max Brunsfeld
ff8ecf1a49 Fix errors when passing subword regex to native find methods 2017-11-08 14:00:00 -08:00
Max Brunsfeld
7bae4e7324 Use dedent for multiline template strings in text-editor-spec 2017-11-08 11:57:04 -08:00
Max Brunsfeld
20b0fc688d Use assignLanguageMode in TextEditor spec 2017-11-06 17:18:53 -08:00
Max Brunsfeld
fe6b385c97 Move largeFileMode logic to TokenizedBuffer 2017-11-06 17:07:23 -08:00
Max Brunsfeld
3d36455885 Make getNonWordCharacters take a position 2017-11-06 17:07:23 -08:00
Nathan Sobo
a1e8d25e55 Autoscroll to cursor position after folding or unfolding
There were several different fold/unfold code paths, so I decided to
weave simple autoscroll assertions into the existing tests.
2017-11-03 09:57:29 -06:00
Nathan Sobo
1e9753d8a5 Fix select-word command between word and non-word chararacters
In #15776, we accidentally stopped passing an option to the wordRegExp
method that caused us to prefer word characters when selecting words at
a boundary between word and non-word characters.
2017-11-02 10:22:22 -06:00
Max Brunsfeld
96e6b3a2ce Fix error in .getLongTitle when editor isn't in the workspace 2017-11-01 16:51:01 -07:00
Max Brunsfeld
616ebe71d9 Convert text-editor-spec.coffee to JavaScript 2017-11-01 15:51:14 -07:00
Max Brunsfeld
079f4d901c Move all .toggleLineComments tests to text-editor-spec.js 2017-10-23 17:00:05 -07:00
Max Brunsfeld
8d532e7780 Fix exception when trying to fold non-foldable row 2017-10-23 10:20:45 -07:00
Max Brunsfeld
4d057a16d6 Prompt to save when unloading if editor is in conflict 2017-10-03 11:09:33 -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
62e94f7b96 Rename language-mode-spec.js to text-editor-spec.js
This gets the ball rolling toward converting the text editor specs to JS
2017-09-22 14:40:34 -07:00