Nathan Sobo
22c65f2407
Move ::saveActiveItem specs from pane-view-spec to pane-spec
2014-01-14 19:41:00 -07:00
Nathan Sobo
e553fefc25
Add spec for Pane::destroyInactiveItems to pane-spec
2014-01-14 19:32:39 -07:00
Nathan Sobo
cf6fc22c87
Add spec for Pane::destroyItems to pane-spec
2014-01-14 19:31:13 -07:00
Nathan Sobo
a6d8f588c3
💄
2014-01-14 19:29:01 -07:00
Nathan Sobo
2ef74de0f8
Move ::moveItemToPane specs from pane-view-spec to pane-spec
2014-01-14 19:26:47 -07:00
Nathan Sobo
2ee6469b17
Move ::moveItem specs from pane-view-spec to pane-spec
2014-01-14 19:15:11 -07:00
Nathan Sobo
9977884a2c
Move ::destroyItem specs from pane-view-spec to pane-spec
2014-01-14 19:12:27 -07:00
Nathan Sobo
c331723c55
Move ::activateItem specs from pane-view-spec to pane-spec
2014-01-14 19:12:26 -07:00
Nathan Sobo
6ef6fb77f9
Rename pane-*-model specs
2014-01-13 17:22:02 -07:00
Nathan Sobo
4f604ced3c
Rename Pane to PaneView
2014-01-13 13:46:22 -07:00
Nathan Sobo
b438b311f3
Rename showItem methods to activateItem
...
These methods set the *active* item, so the verb activate provides a
clearer correspondence. We could change the noun to "shown" item, but
that's awkward and having both active panes and active items is a nice
correspondence in terminology.
2014-01-12 17:40:57 -07:00
Nathan Sobo
561e31c0c5
Remove ::removeItemAtIndex and make ::removeItem private
...
Call ::destroyItem or just destroy the item directly (it should emit the
'destroyed' event)
2014-01-12 17:25:51 -07:00
Nathan Sobo
28b085be1c
Rename ::makeActive to ::activate and focus panes when they're activated
2014-01-11 20:48:01 -07:00
Nathan Sobo
47870a1214
Remove views (rather than detaching) if Pane::destroyItem is called
2014-01-10 13:35:18 -07:00
Nathan Sobo
4b0d22917b
Trust CSS to perform layout now that we've switched to flexbox
...
The behavior of flexbox is actually slightly different in that it
divides space evenly among the immediate children of a row or column
rather than accounting for all splits. But it's actually not that big
a deal.
2014-01-10 12:12:44 -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
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
bc65137911
Remove telepath from Project, WorkspaceView, and Pane*
2014-01-03 16:23:23 -07: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
Nathan Sobo
611559ecd6
Fix pane spec. Fully test serialization lifecycle via ::testPersistence.
2013-12-17 17:05:54 -07:00
Ben Ogle
e8c5027026
💄 Update specs to use ::function() format
2013-12-13 10:28:38 -08:00
Ben Ogle
a25812dca7
Move cmd-s and cmd-S to workspaceView
2013-12-12 17:50:15 -08:00
Ben Ogle
1f9a7599b7
cmd-w works anywhere in the editor
2013-12-12 17:50:15 -08:00
probablycorey
f414c0955b
Specs don't prompt to save editors by default.
2013-12-12 10:35:11 -08:00
probablycorey
115203cbd2
Update spec description
2013-12-11 14:48:12 -08:00
probablycorey
4bfcdf4d5b
Remove unmodified editors from pane when the buffer is deleted
2013-12-10 17:08:07 -08:00
Nathan Sobo
a4d2b4d21a
Make TokenizedBuffer a telepath.Model subclass
...
There's a bunch of improvised code to make this work right now because
of the circularity of this refactoring. It will stabilize over time.
2013-12-07 02:25:47 -08:00
Nathan Sobo
b61654b52f
Upgrade to telepath 0.61.0
...
This version adds a bunch of reactive primitives and ensures we destroy
documents when they are no longer referenced.
2013-12-06 21:55:57 -08:00
Kevin Sawicki
f1e768767e
Rename EditorView::activeEditSession to editor
2013-11-26 19:35:16 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
Kevin Sawicki
7f039b3383
Update confirmSync references in specs
2013-11-22 15:09:47 -08:00
Kevin Sawicki
0377d64788
Assign to atom.project instead of window.project
2013-11-20 17:23:47 -08:00
Kevin Sawicki
cd37caae96
Add atom prefix to rootView
2013-11-20 17:23:47 -08:00
Kevin Sawicki
d0b380e535
Add atom prefix to rootView and project references
2013-11-20 17:23:47 -08:00
Kevin Sawicki
f9498732a5
Add atom prefix to rootView
2013-11-20 17:23:47 -08:00
Kevin Sawicki
2eeb399cf1
Remove deserializer shims on window
2013-11-20 13:51:12 -08:00
probablycorey
31a9bb83cf
Replace editSession variables with editor
2013-11-19 15:22:47 -08:00
probablycorey
756c2be64a
Replace editor instance variables with editorView
2013-11-19 14:57:35 -08:00
Kevin Sawicki
7d87ae00ff
Use Atom::replicate for second project
2013-11-15 11:17:34 -08:00
Ben Ogle
0bd701b4a6
Fix tests
2013-10-30 11:25:30 -07:00
Ben Ogle
a212a7c259
pane.split() doesn't implicitly copy the active item.
2013-10-30 11:25:30 -07:00
probablycorey
e7e28b568b
Purge autosave from Atom source
2013-10-28 17:27:44 -07:00
Cheng Zhao
05550717e2
Use temp.dir to replace '/tmp' in specs.
2013-10-21 21:36:08 +08:00
Kevin Sawicki
ede64f65c8
Attach to DOM for focus specs
2013-10-16 13:35:11 -07:00
Kevin Sawicki
80a3e0c9c9
Check that display isn't none for visibility
2013-10-16 13:35:11 -07:00
probablycorey
c44b04e47a
Merge remote-tracking branch 'origin/master' into cj-make-packages-async
2013-10-14 15:54:22 -07:00
Kevin Sawicki
cd633ede92
Remove logging from spec
2013-10-11 11:37:13 -07:00