Nathan Sobo
e87b8dc463
Remove focusNext/PreviousPane methods from PaneContainer view
2014-01-09 18:35:01 -07:00
Nathan Sobo
cd699d8b9b
Transfer focus to the root view when the last focused pane is destroyed
2014-01-09 18:17:08 -07:00
Nathan Sobo
5e1b2e2696
Manage the active pane at the model level
2014-01-09 18:00:19 -07:00
Nathan Sobo
4026e6ca5c
Properly serialize pane focus state
2014-01-09 16:09:22 -07:00
Nathan Sobo
5ca7ad3bce
Add spec for destroyed pane items getting removed at the model layer
2014-01-09 16:07:57 -07:00
Nathan Sobo
4dcba4bb27
Destroy remaining items when a pane is destroyed
2014-01-09 16:06:02 -07:00
Nathan Sobo
073ea84d69
Handle consequences of item removal in the model
2014-01-09 16:05:00 -07:00
Nathan Sobo
2317c6835e
At the model layer: Focus next pane when a focused pane is destroyed
...
This incorporates the Focusable mixin into PaneModel and ensures that
all panes in the same pane container share a single focus context.
2014-01-09 12:19:01 -07:00
Nathan Sobo
4e99d003ee
Add Focusable mixin and FocusContext
...
Focusable objects have ::focus and ::blur methods and a ::focused
property. Focusable objects can be assigned a ::focusContext, and the
::focused property will only be true for at most one object with the
same context.
2014-01-09 12:19:01 -07:00
Nathan Sobo
1a5e10c1d2
Focus the new pane when splitting
2014-01-09 12:19:01 -07:00
Nathan Sobo
f031a9706d
Support unsplitting in the model layer
2014-01-09 12:19:01 -07:00
Nathan Sobo
eb7f3ff5af
Support splitting at the model layer
...
Splitting in the view will need to be removed and mapped to splits in
the model.
2014-01-09 12:19:00 -07:00
probablycorey
99a67ca1ab
Remove focused spec
2014-01-08 16:37:57 -08:00
probablycorey
196942d126
Rename .row and .column in pane specs
2014-01-08 16:31:56 -08:00
Corey Johnson & Nathan Sobo
25c099f3a2
Serialize the items and activeItem via PaneModel
...
This necessitates setting the ::activeView based on the model's
::activeItem instead of doing it in ::showItem.
2014-01-07 17:23:29 -07:00
Kevin Sawicki
d618472f95
Specify error as first argument
2014-01-06 17:25:26 -08:00
Kevin Sawicki
a45ffb3aaa
Add async Directory::getEntries
2014-01-06 17:25:26 -08:00
Kevin Sawicki
1d2b2eec4c
Add Sync suffix to Directory::getEntries
2014-01-06 17:25:26 -08:00
Matt Colyer
e8ce559034
Merge branch 'master' into fix-windows-specs
...
Conflicts:
package.json
2014-01-06 16:02:45 -08:00
Matt Colyer
0e6bc275b7
Merge branch 'master' into fix-windows-specs
...
Conflicts:
package.json
2014-01-06 11:19:37 -08:00
Nathan Sobo
0bbd9630f5
Fix pane spec
2014-01-03 17:50:46 -07:00
Nathan Sobo
c6770aa83e
Merge remote-tracking branch 'origin/master' into ns-remove-telepath-from-core
...
Conflicts:
package.json
src/pane.coffee
2014-01-03 17:46:45 -07:00
Nathan Sobo
e26d97d5ac
Remove telepath as a core dependency
2014-01-03 17:42:11 -07:00
Corey Johnson
b2177cbc09
Merge pull request #1360 from atom/cj-add-prepend-append-methods-to-workspace
...
Add prepend/append methods to WorkspaceView
2014-01-03 16:34:16 -08:00
probablycorey
9f32a24e7e
Add all Tool Panel append and prepend methods
2014-01-03 15:43:00 -08:00
Nathan Sobo
bc65137911
Remove telepath from Project, WorkspaceView, and Pane*
2014-01-03 16:23:23 -07:00
Matt Colyer
2b4c2f1758
Merge branch 'master' into fix-windows-specs
2014-01-03 14:34:02 -08:00
Nathan Sobo
77dba8d19b
Merge branch 'master' into ns-fix-mini-editor-leak
2014-01-03 10:03:25 -07:00
probablycorey
512f373ca6
Merge remote-tracking branch 'origin/master' into cj-update-user-keymap
2014-01-02 11:54:06 -08:00
Matt Colyer
9629afb145
Merge branch 'master' into fix-windows-specs
2014-01-02 08:38:59 -08:00
Nathan Sobo
821debcb85
Make Editor, DisplayBuffer, TokenizedBuffer to not use telepath
...
This commit introduces dependency on a new npm called
[reactionary](https://github.com/atom/reactionary ). It will serve as a
*much* lighter weight model framework to provide the reactive features
of telepath without the replication logic.
Specs are still failing for panes and workspace. I plan to just roll
forward and remove the telepath dependency from them as well.
2013-12-31 18:19:53 -07:00
probablycorey
88ee021b4d
Watch user's keycap for changes and apply them
2013-12-31 15:21:42 -08:00
Kevin Sawicki
fa9aa3691b
Extend GrammarRegistry in Syntax
2013-12-31 15:15:40 -08:00
Kevin Sawicki
c1fc09e510
Use grammars from registry
2013-12-31 15:15:39 -08:00
Kevin Sawicki
19212f99ee
Remove TextMateGrammar use in specs
2013-12-31 15:15:39 -08:00
Kevin Sawicki
2681dcc63c
Remove TextMateGrammar class now in first-mate
2013-12-31 15:15:39 -08:00
Kevin Sawicki
6f5d85edb9
Use grammar registry from first-mate
2013-12-31 15:15:39 -08:00
Kevin Sawicki
a59c01c6be
Move editor-specific grammar specs to editor-spec
2013-12-31 15:15:39 -08:00
Kevin Sawicki
33c1353500
Only generate evil files when needed
2013-12-31 15:11:29 -08:00
Kevin Sawicki
22a7c25104
💄 Remove unneeded requires, variables, commas, and parens
2013-12-31 15:05:34 -08:00
probablycorey
b0077986b4
Use temp user directory for keymap config specs
2013-12-31 14:31:06 -08:00
Nathan Sobo
dd2c6d2f24
Eliminate TextBuffer's dependence on telepath
...
Atom's TextBuffer now relies on the text-buffer npm for its core
functionality.
2013-12-31 12:13:15 -07:00
probablycorey
c37b884007
Add moveCursorToEnd/BeginningOfBufferLine
...
Fixes #1123
2013-12-31 08:21:35 -08:00
probablycorey
bac76784e0
cmd-left moves the cursor to column 0 on lines only containing whitespace
...
Fixes #1344
2013-12-30 13:57:34 -08:00
Matt Colyer
180912db61
Merge branch 'master' into fix-windows-specs
2013-12-20 12:14:31 -06:00
Matt Colyer
1da6bca2ae
Properly use writeSync
2013-12-18 18:35:20 -08:00
Matt Colyer
40630114e7
Another attempt at preventing clipping
2013-12-18 17:12:12 -08:00
Matt Colyer
6736b6af3e
Don't remove ci.log files for debugging
2013-12-18 16:38:14 -08:00
Nathan Sobo
42b203d502
🚱 Fix mini editor leak
...
Previously, we were overriding Editor::destroy, which is now provided
by telepath. Since the real destroy wasn't being called, we were failing
to remove editors associated with mini editor views.
2013-12-18 17:05:34 -07:00
Matt Colyer
8597951f0c
Make sure logStream exists
2013-12-18 15:24:18 -08:00