Kevin Sawicki
f1fd13b0b2
Return as soon as first paired character is found
...
Previously the character count of the entire string was taken even
though it was only checking for the presence of a paired character.
Now hasPairedCharacter returns as early as possible and the now
unused getCharacterCount has been removed.
2014-09-17 10:35:33 -07:00
Kevin Sawicki
e343b0e0fc
Don't treat consecutive variation selectors as a sequence
2014-09-17 10:17:27 -07:00
Kevin Sawicki
3acddf3e71
📝 Drop text
2014-09-17 10:17:26 -07:00
Kevin Sawicki
df68ae26a2
Add specs for variation sequences
2014-09-17 10:17:26 -07:00
Kevin Sawicki
fb7061f500
📝 Mention variation sequence in specs
2014-09-17 10:17:26 -07:00
Kevin Sawicki
878da262d2
Add support for Unicode variation sequences
...
These are character pairs that should be treated as tokens with a
buffer delta of 2 and a screen delta of 1.
2014-09-17 10:17:26 -07:00
Kevin Sawicki
36f60c517e
Assert other whitespace class is not present
2014-09-17 09:50:55 -07:00
Kevin Sawicki
348f865cab
Add spec for all whitespace lines
2014-09-17 09:47:49 -07:00
Kevin Sawicki
18f54e6780
💄 Put leading spec first
2014-09-17 09:42:31 -07:00
Kevin Sawicki
b281737838
Add leading/trailing classes to hard tab tokens
...
Previously the leading-whitespace and trailing-whitespace classes
were never added to tokens that were hard tabs.
2014-09-17 09:42:31 -07:00
Nathan Sobo
a0edb92e16
Rename editor.softWrapped config option back to editor.softWrap
2014-09-15 14:34:35 -06:00
Kevin Sawicki
8c2bcf3943
Catch and log deactivate errors
...
Closes #3538
2014-09-15 08:34:54 -07:00
Kevin Sawicki
e6252546c4
Set initialLoadComplete to true in specs
2014-09-11 15:49:44 -07:00
Ben Ogle
04c0824822
Fix / clean up specs
2014-09-11 11:28:21 -07:00
Ben Ogle
f38fb2a924
nof
2014-09-11 11:11:15 -07:00
Ben Ogle
f39114a95c
Subscribe to items via event methods.
...
Add deprecation warnings when they don’t return a disposable
2014-09-11 10:48:03 -07:00
Ben Ogle
c1f8065caf
Use the new split*() methods on Pane model in WorkspaceView specs
2014-09-10 17:41:38 -07:00
Ben Ogle
6e3c945fa2
Use event methods for theme subscriptions
2014-09-10 17:26:08 -07:00
Nathan Sobo
d55f5cba78
Upgrade first-mate for event subscription methods
2014-09-10 17:24:55 -06:00
Ben Ogle
d3b3fdefc9
Merge pull request #3507 from atom/bo-rename-events
...
Rename the rest of the internal events to the onDid* pattern
2014-09-10 12:11:26 -07:00
Ben Ogle
40b32930cf
Revert "Add Project::onDidCreateBuffer"
...
This reverts commit 4070e5fb25 .
2014-09-10 11:55:41 -07:00
Ben Ogle
61fa1c4230
Revert "Add Project::observeBuffers"
...
This reverts commit b6fe72ef9e .
Conflicts:
src/project.coffee
2014-09-10 11:55:26 -07:00
Kevin Sawicki
883f7e1f5a
Use cross-platform path in specs
2014-09-10 10:22:48 -07:00
Ben Ogle
5ba5215f5d
Add event subscription methods to ThemeManager
2014-09-09 15:35:00 -07:00
Ben Ogle
3bf348e51f
Add ThemeManager::onDidReloadAll
2014-09-09 15:24:55 -07:00
Ben Ogle
0afd8a1392
Add Package::onDidDeactivate
2014-09-09 15:09:18 -07:00
Ben Ogle
ae4f92cc52
Add onDidChangeStatuses
2014-09-09 14:45:31 -07:00
Ben Ogle
05f54d427d
Add Git::onDidChangeStatus
2014-09-09 14:28:30 -07:00
Ben Ogle
b6fe72ef9e
Add Project::observeBuffers
2014-09-09 14:13:26 -07:00
Ben Ogle
4070e5fb25
Add Project::onDidCreateBuffer
2014-09-09 14:12:49 -07:00
Ben Ogle
f357f694b3
Merge pull request #3456 from atom/ns-editor-event-methods
...
Add event subscription methods for Editor and associated classes
2014-09-09 13:40:45 -07:00
Kevin Sawicki
7b1f8cc7da
Set project path for window:open-path files
...
The project path will now be set to the parent directory if it isn't
already set when a file path is specified via the window:open-path
event.
Closes atom/tree-view#217
2014-09-09 09:55:31 -07:00
Ben Ogle
8aa1784c4a
Add Editor::onDidChangeScreenLines
2014-09-08 16:04:43 -07:00
Kevin Sawicki
35a48f0cfb
Update specs to expect an element
2014-09-08 09:33:51 -07:00
Ben Ogle
e6dbea09fe
Add onDidCreateMarker and onDidUpdateMarkers
2014-09-05 17:26:14 -07:00
Ben Ogle
aeffef30c6
Directly subscribe to the decorations in EditorComponent
2014-09-05 16:49:30 -07:00
Ben Ogle
7ae25d34e7
Decoration Params -> Properties
2014-09-05 16:20:42 -07:00
Ben Ogle
e6e6028683
Deprecate decoration events
2014-09-05 15:14:27 -07:00
Ben Ogle
6e8a626de2
Add ::onDidChangeSoftWrapped to DisplayBuffer and Editor
2014-09-05 13:41:46 -07:00
Ben Ogle
21e4d8a064
Add DisplayBuffer::onDidChange
2014-09-05 13:30:59 -07:00
Ben Ogle
db84b7952c
fix another linter error
2014-09-05 12:44:56 -07:00
Ben Ogle
289b22c782
Use event methods in TokenizedBuffer spec
2014-09-05 12:40:14 -07:00
Ben Ogle
a2adbff3e9
Add TokenizedBuffer::onDidTokenize
2014-09-05 12:33:28 -07:00
Ben Ogle
9435f852dd
Use new decoration updated event method
2014-09-05 12:25:14 -07:00
Nathan Sobo
6ad9531e5c
Add Selection::onDidChangeRange and ::onDidDestroy and deprecate ::on
2014-09-05 11:39:34 -07:00
Nathan Sobo
6bd8702421
Deprecate DisplayBufferMarker::on
2014-09-05 11:39:34 -07:00
Nathan Sobo
c69b5fc0a0
Remove specs for ::onDidMoveCursor, which was removed
2014-09-05 11:39:33 -07:00
Nathan Sobo
1131b33a83
Add DisplayBufferMarker::onDidChange and ::onDidDestroy
2014-09-05 11:39:33 -07:00
Nathan Sobo
161edfd15a
Remove ‘cursors-moved’ event
...
It event was not document only being used in EditorComponent. Due to
our batching strategy, it’s fine to respond to individual
::onDidMoveCursor events.
2014-09-05 11:39:33 -07:00
Nathan Sobo
2a81687d38
Add Editor::onDidMoveCursor
2014-09-05 11:39:33 -07:00