Antonio Scandurra
b5f866b6fc
Correctly (un)subscribe to model events on PaneAxisElement attach/detach
2016-03-28 14:49:26 +02:00
Lee Dohm
5fc111a104
📝 Add standard global notation
2016-03-26 15:50:07 -07:00
joshaber
fdebbf12ac
If we're been destroyed then we won't have an async anymore.
2016-03-25 17:14:09 -04:00
joshaber
8ee1c3274b
Always update the cached status path.
2016-03-25 17:13:06 -04:00
joshaber
fff1e8f3d1
Cache the results of calling getPathStatus so we're consistent across calls.
2016-03-25 15:36:44 -04:00
joshaber
f001c83263
Bring back some synchronous event emitting.
...
Preserve the previous behavior of emitting synchronously with observed
change.
2016-03-25 15:26:18 -04:00
joshaber
380df72808
All emissions will propagate out from the async layer.
2016-03-25 15:15:24 -04:00
joshaber
c9ff5db064
Don't update status anymore in the sync layer.
2016-03-25 15:15:10 -04:00
joshaber
4ecc6aac90
Grab the branch from the async layer.
2016-03-25 15:14:32 -04:00
joshaber
3aae2054f7
Grab status from the underlying async layer.
2016-03-25 15:14:12 -04:00
joshaber
2f58c40472
Pass subscriptions through to the async layer.
2016-03-25 15:12:06 -04:00
joshaber
952f4aae0e
Revert "Skip the first reload event."
...
This reverts commit 7294b95b70 .
2016-03-25 14:33:43 -04:00
joshaber
aee053dc10
Whoops. Bring back pathIsIgnored.
2016-03-25 12:46:49 -04:00
Antonio Scandurra
f9fb93f214
🎨
2016-03-25 16:37:01 +01:00
joshaber
b2b8370166
Merge branch 'master' into less-disk-io
2016-03-25 10:49:26 -04:00
joshaber
7294b95b70
Skip the first reload event.
2016-03-25 10:49:22 -04:00
joshaber
694d288e16
Cache the workdir and path.
2016-03-25 10:31:13 -04:00
Antonio Scandurra
c609f6c967
Destroy DisplayLayer upon DisplayBuffer destruction
2016-03-25 10:53:02 +01:00
Antonio Scandurra
27aad42644
Handle tab length retokenization in DisplayLayer
...
We still want to keep the tab length in TokenizedBuffer, because we need
it to understand if a certain buffer row is foldable or not (due to the
indent level)
2016-03-25 10:33:12 +01:00
Mark H. Wilkinson
e0f41d1af4
Fix typo in error message.
2016-03-25 00:05:10 +00:00
Antonio Scandurra
e6cb5c8e89
🐛 Guard against unexisting screen rows
2016-03-24 15:57:24 +01:00
Antonio Scandurra
a8d6a0036d
✨ Don’t unfold buffer rows when editing
2016-03-24 13:40:24 +01:00
Damien Guard
8b8e81efce
Merge pull request #10862 from PaulAik/master
...
Fix for Default Directory Provider incorrectly identifying file paths as URLs on Windows
2016-03-23 15:45:15 -07:00
Antonio Scandurra
6acbbb3a5c
Improve DisplayLayer management
2016-03-23 17:20:08 +01:00
Antonio Scandurra
21831a4e43
🐛 Fix inaccurate logic in moveLineDown
...
Instead of deleting and then inserting, it’s better to do the opposite
so that we don’t have to translate points at all.
2016-03-23 16:16:51 +01:00
Antonio Scandurra
f69c5bdee4
Oops.
2016-03-23 12:11:27 +01:00
Antonio Scandurra
25a4c4c293
Clear StorageFolder when --clear-window-state is supplied
2016-03-23 10:53:37 +01:00
Antonio Scandurra
80146ae631
Assign the supplied configDirPath to an instance variable
2016-03-23 10:52:34 +01:00
Antonio Scandurra
c2242e46c2
Read state from StorageFolder when it can’t be found in StateStore
2016-03-23 10:31:26 +01:00
Antonio Scandurra
756db7588b
Return an invalidated range only when TokenizedBuffer has one
2016-03-22 14:59:26 +01:00
Antonio Scandurra
9abc547bfb
Copy also DisplayLayer
2016-03-22 14:56:22 +01:00
Antonio Scandurra
326f2c6a9e
Add TextEditor.prototype.tokensForScreenRow for testing purposes
2016-03-22 14:49:42 +01:00
Antonio Scandurra
b1e07c0cfe
Use the new lineText property
2016-03-22 14:36:28 +01:00
Antonio Scandurra
27799d30f6
Use deserialized display layer when possible
2016-03-22 14:27:23 +01:00
Antonio Scandurra
137af38798
Add back screen row to block decorations nodes
2016-03-22 14:08:25 +01:00
Antonio Scandurra
4e23748660
Fix moveLineUp and moveLineDown to work with free-form folds
2016-03-22 14:02:13 +01:00
Antonio Scandurra
227670a407
Merge branch 'master' into ns-use-display-layers
2016-03-22 12:01:07 +01:00
Antonio Scandurra
cf22334455
Add invisible class to invisible block decorations
2016-03-22 11:50:54 +01:00
Antonio Scandurra
34f9ad8710
Add top/bottom ruler before/after a block decoration
2016-03-22 11:20:55 +01:00
Michelle Tilley
64308bbacb
Revert "Revert "Allow pasting white space when autoIndentOnPaste is enabled""
...
This reverts commit 5c03894227 .
2016-03-21 16:27:48 -07:00
Antonio Scandurra
8f2ebe8b79
🔥
2016-03-21 17:46:58 +01:00
Michelle Tilley
5c03894227
Revert "Allow pasting white space when autoIndentOnPaste is enabled"
...
This reverts commit 0088053de4 .
2016-03-20 22:22:33 -07:00
Yuya Tanaka
6d0c708a7b
🐎 wrap loop of setDefaults in transact
2016-03-20 14:54:22 +09:00
Nathan Sobo
5aba734a41
Remove specialTokens object from TokenizedLine
2016-03-18 19:21:12 -06:00
Nathan Sobo
b0c5870425
Remove dead code from TokenizedLine
2016-03-18 18:15:41 -06:00
Nathan Sobo
1994e3b404
Remove TokenizedLine::copy
2016-03-18 18:10:04 -06:00
Nathan Sobo
462157039b
Drop indentLevel and soft wrap support from TokenizedLine
2016-03-18 18:09:23 -06:00
Nathan Sobo
d62ef599cd
Replace tokens with tagCodes in DisplayLayer.prototype.getScreenLines
2016-03-18 15:57:49 -06:00
Nathan Sobo
1a2f306db3
🚿 Remove commented code
2016-03-18 15:57:03 -06:00
Antonio Scandurra
0cd6bd19af
Implement isWrapBoundary for DisplayLayer
...
So that we can correctly soft wrap CJK characters.
2016-03-18 18:30:35 +01:00