Nathan Sobo
7422f4378e
Add property filters to TextEditor::getDecorations methods
...
This makes it much easier to write tests that inspect the state of
decorations.
2014-12-10 19:11:50 -07:00
Ben Ogle
f2ab14656b
BufferedProcess::onDidThrowError -> ::onDidThrowError
2014-12-10 18:08:43 -08:00
Ben Ogle
ad73902382
📝 Add docs
2014-12-10 16:27:05 -08:00
Ben Ogle
bf63a9715c
Add BufferedProcess::onDidThrowError()
2014-12-10 16:26:57 -08:00
Kevin Sawicki
9ac27bc2f8
Grim.logDeprecationWarnings -> Grim.logDeprecations
...
Closes #4486
2014-12-10 16:05:36 -08:00
Max Brunsfeld
a6f31ed791
Pass event to Cursor::onDidChangePosition callbacks
2014-12-09 17:21:03 -08:00
Max Brunsfeld
e04b5a74d7
Fix position in Cursor::moveToBeginningOfPreviousParagraph
...
Also, remove unused parameters to private Cursor methods
2014-12-09 16:59:50 -08:00
Kevin Sawicki
26e867d65e
Remove squirrel logging
2014-12-09 16:02:36 -08:00
Nathan Sobo
b386b00bc0
Wait for next animation frame before measuring when stylesheets change
...
Fixes #4479
2014-12-09 14:56:33 -07:00
Max Brunsfeld
caf6fdd5ac
Merge pull request #4478 from atom/mb-panel-markup
...
Allow PanelElements to be instantiated with markup
2014-12-09 13:05:35 -08:00
Nathan Sobo
299ea18c58
Don’t try to upgrade CSS rules with no selector text
...
Fixes #4469
2014-12-09 13:41:33 -07:00
Nathan Sobo
966360e022
Set ::visible to false on panels when they are destroyed
2014-12-09 13:41:33 -07:00
Max Brunsfeld
1c7843d9b2
💄
2014-12-09 11:36:04 -08:00
Max Brunsfeld
c9e7cfc02c
Allow PanelElements to be instantiated with markup
2014-12-09 11:24:59 -08:00
Nathan Sobo
6ccc60342f
Remove deprecated Workspace::activePane references
2014-12-09 10:45:54 -07:00
Max Brunsfeld
5c37d208f5
Don't throw when ::getDefaultCharacterWidth is called while detached
2014-12-08 16:56:46 -08:00
Max Brunsfeld
d03cfda6c4
📝 new TextEditorElement methods
2014-12-08 16:38:57 -08:00
Max Brunsfeld
8f02b21d08
Add TextEditorElement::onDidAttach, ::onDidDetach
2014-12-08 16:21:59 -08:00
Max Brunsfeld
953f2c61f7
Add TextEditorElement::getDefaultCharacterWidth
2014-12-08 16:14:26 -08:00
Max Brunsfeld
c812dfef9b
Merge pull request #4455 from atom/mb-fix-redo
...
Don't use a transaction in cursor/selection movement commands
2014-12-08 13:23:19 -08:00
Max Brunsfeld
631bca6c89
Don't use a transaction in cursor/selection movement commands
...
Previously, a transaction was used to set an undo grouping interval
for every editor command except `undo` and `redo`. The problem is
that currently, moving a marker inside of a transaction causes the
buffer's redo stack to be cleared. For now, just don't use
transactions for commands that don't modify the buffer's contents."
2014-12-08 13:06:59 -08:00
Kevin Sawicki
4945fd7aae
Don't make atom.services public yet
2014-12-08 12:37:06 -08:00
Ben Ogle
8d9098464c
Merge pull request #4413 from atom/bo-notification-dismiss
...
Add dismissing to notifications
2014-12-05 15:00:00 -08:00
Max Brunsfeld
11a07f41ac
Merge pull request #4414 from atom/mb-convert-stack-trace
...
Fix line numbers in coffeescript stack traces for error hooks
2014-12-05 14:06:22 -08:00
Ben Ogle
5cf97db07c
Add getNotifications()
2014-12-05 13:46:01 -08:00
Ben Ogle
f095d38978
Add dismissing to notifications
2014-12-05 13:46:01 -08:00
Kevin Sawicki
218f6ab629
Guard against no stylesheet disposable
2014-12-05 13:32:37 -08:00
Max Brunsfeld
8241351143
Merge pull request #4407 from atom/ns-add-services-api
...
Add atom.services API
2014-12-05 13:13:50 -08:00
Max Brunsfeld
286361bf2b
Fix line numbers in coffeescript stack traces for error hooks
2014-12-05 12:59:19 -08:00
Nathan Sobo
99f91fac48
Add atom.services API
2014-12-05 09:46:52 -08:00
Nathan Sobo
d4b0b33d86
📝 ability to pass DOM elements to atom.commands.add
2014-12-05 09:44:52 -08:00
Max Brunsfeld
4afe133f85
Allow setting editor text content in HTML
2014-12-05 09:30:33 -08:00
Max Brunsfeld
6a83246838
Use native DOM APIs for window drag/drop listeners
...
Otherwise, these event handlers will interfere with other
event handlers bound using other versions of jQuery
2014-12-03 20:26:36 -08:00
Max Brunsfeld
c19aee5472
Carry over remaining tooltip disposal code from space-pen extensions
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
Signed-off-by: Nathan Sobo <nathan@github.com >
2014-12-03 17:02:47 -08:00
Ben Ogle
e9d49b1df3
📝 Add tooltip examples
2014-12-03 16:23:08 -08:00
Ben Ogle
5a456c8552
📝 Add arg to pane::destroyItem()
2014-12-03 16:11:29 -08:00
Kevin Sawicki
1179ced85c
Remove duplicate require
2014-12-03 15:07:07 -08:00
Ben Ogle
24f7638e8b
Add Workspace::panelForItem()
2014-12-03 12:46:42 -08:00
Kevin Sawicki
f4b08649a0
Use JSON example since package.json is target
2014-12-03 11:04:17 -08:00
Nathan Sobo
53b538311e
Add activationEvents deprecation warning
2014-12-03 12:00:53 -07:00
Ben Ogle
37e6f03346
Fix tooltip command display when command has no keybinding
2014-12-02 16:31:38 -08:00
Ben Ogle
ac23717f8c
Only beep when there is a workspace
...
Some specs might not create one.
2014-12-02 15:52:37 -08:00
Nathan Sobo
dd63d47c11
Add getters for decoration types in addition to ‘overlay’
2014-12-02 15:59:12 -07:00
Max Brunsfeld
714cbc9f4b
Add deprecation warning for Workspace::getActiveEditor
2014-12-02 12:46:05 -08:00
Max Brunsfeld
64e4053a19
Deprecate delegated properties on workspace
...
* ::activePaneItem was already deprecated, but the stack
trace was internal and confusing
* ::activePane is newly deprecated
2014-12-02 12:37:27 -08:00
Kevin Sawicki
cacaba936b
Add restart helper on Windows
2014-12-02 11:31:18 -08:00
Max Brunsfeld
b20589fbb6
Decrease default undo grouping interval to 300ms
2014-12-02 11:19:31 -08:00
Nathan Sobo
8a40be8345
Null guard container in Pane::destroyed
2014-12-02 11:57:38 -07:00
Nathan Sobo
2d8d330df7
Add Workspace::onDidDestroyPaneItem for symmetry with ::onDidDestroyPane
2014-12-02 11:57:38 -07:00
Nathan Sobo
fbc9c05096
Add Workspace::onDidDestroyPane
...
This helps with the background-tips conversion
2014-12-02 11:57:38 -07:00