Commit Graph

8142 Commits

Author SHA1 Message Date
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
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
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
Wliu
129c0cc0e3 Fix tokenized buffer spec 2017-09-21 20:57:15 +02:00
Ash Wilson
880188b4b9 👕 Unnecessary fat arrows 2017-09-20 10:52:33 -04:00
Ash Wilson
99feb7f264 Spelling 2017-09-20 10:51:30 -04:00
Ash Wilson
1a53ad5722 Deserialize TextBuffers that have never been saved to disk 2017-09-20 10:51:30 -04:00
Ash Wilson
0782f0f4d0 "Retire" buffer IDs when the buffer can't be deserialized 2017-09-20 10:51:30 -04:00
Ash Wilson
868d9393de Deserialize the exact serialized project paths, never a parent dir 2017-09-20 10:51:29 -04:00
Ash Wilson
7d62f8b6eb Test for omitting deleted files 2017-09-20 10:51:29 -04:00
Ash Wilson
bdc503a795 Report deserialization errors from the project 2017-09-20 10:51:29 -04:00
Ash Wilson
48c1fb0f3c .deserialize() is async 2017-09-20 10:51:29 -04:00
Ash Wilson
928a3e2854 Expect the deserialization promise to reject with inaccessible dirs 2017-09-20 10:51:29 -04:00
Ash Wilson
3d51ed9766 Support {mustExist} option in setPaths 2017-09-20 10:51:29 -04:00
Ash Wilson
156cd02953 Optionally throw an error when attempting to open a non-existent dir 2017-09-20 10:51:29 -04:00
Max Brunsfeld
9bdf4b01d0 Merge pull request #15643 from atom/mb-async-onWillDestroyPaneItem
Wait for async PaneContainer.onWillDestroyPaneItem listeners
2017-09-19 11:21:54 -07:00
Max Brunsfeld
666adb2f0e Convert pane-container-spec to JS 2017-09-18 17:02:48 -07:00
Jason Rudolph
0054e3f796 :skull: Decaffeinate spec/notification-manager-spec.coffee 2017-09-16 21:03:04 -04:00
Jason Rudolph
45c3770293 :skull: Decaffeinate spec/notification-spec.coffee 2017-09-16 21:03:01 -04:00
Max Brunsfeld
19e56b5b3b Wait for async onWillDestroyPaneItem listeners 2017-09-13 13:31:33 -07:00
Max Brunsfeld
2374077a6e Wait for async onWillDestroyItem handlers before destroying item 2017-09-12 15:04:37 -07:00
Ash Wilson
8632e73d07 Merge pull request #15440 from atom/ku-reload-config-when-created
Replace pathwatcher w/ bundled watcher to catch created & rename events
2017-09-12 15:23:19 -04:00
Ash Wilson
fb4d7ee5e5 Clean the pending operations too 2017-09-12 14:39:17 -04:00
Ash Wilson
7737aec3ae 🔥 fdescribe 2017-09-12 11:25:29 -04:00
Ash Wilson
e275a5ff76 Ensure that .get calls before .requestLoad return .set properties 2017-09-12 11:21:20 -04:00
Ash Wilson
18a0a5a857 .set operations should be immediately visible through .get 2017-09-12 10:33:46 -04:00
Ash Wilson
e9588c8fae Bring the new spec up to date 2017-09-12 10:18:09 -04:00
Ash Wilson
adb032adf1 Some cosmetic coffeescript changes 2017-09-12 10:16:50 -04:00
Ash Wilson
bf121eab72 Remove some diagnostics 2017-09-12 10:16:25 -04:00
Ash Wilson
fa0bd1e049 Use a real clock and artificial file mtimes to work with nsfw 2017-09-12 10:15:55 -04:00
Ash Wilson
21e220cd5f Stub the correct fs method 2017-09-12 10:13:05 -04:00
Ash Wilson
046ff87f01 Trick the specs into seeing the settings as loaded 2017-09-12 10:12:38 -04:00
wpowell-oss
0b55d4e144 maxScreenLineLength rebased to github 2017-09-12 14:38:29 +12:00
wpowell-oss
f2bb941a51 Rebase to github/master 2017-09-12 13:58:26 +12:00
Warren Powell
a73f68c0dd Spec test for setMaxScreenLineLength 2017-09-12 13:58:26 +12:00
Wliu
1a4e6c4c85 Merge pull request #15603 from jsoref/spelling
Spelling
2017-09-10 18:29:38 +02:00
Josh Soref
feb27a6676 spelling: visible 2017-09-10 15:46:41 +00:00
Josh Soref
dee7be7dd6 spelling: syntactic 2017-09-10 15:46:41 +00:00
Josh Soref
3bf9be2a47 spelling: separated 2017-09-10 15:46:41 +00:00
Josh Soref
9ca5662bcb spelling: recycle 2017-09-10 15:46:40 +00:00
Josh Soref
1b93fcf35f spelling: recover 2017-09-10 15:46:40 +00:00
Josh Soref
00130a7589 spelling: programmatically 2017-09-10 15:46:40 +00:00