Nathan Sobo
69df046cb0
Move font size increase/decrease to the Workspace model
2014-01-21 16:44:06 -07:00
Nathan Sobo
d491007da8
Remove tests for simple delegators
2014-01-21 16:44:06 -07:00
Nathan Sobo
71c65e65eb
Move specs for Workspace::reopenItemSync to model layer
2014-01-21 16:44:06 -07:00
Nathan Sobo
3fad9c616f
Move specs for Workspace::open to model layer
2014-01-21 16:44:06 -07:00
Nathan Sobo
933787f1a4
Remove 'split' option from Workspace::openSync
2014-01-21 16:44:06 -07:00
Nathan Sobo
5e83dee493
Move specs for Workspace::openSingletonSync to model layer
2014-01-21 16:44:06 -07:00
Nathan Sobo
11ab6fd2ef
💄
2014-01-21 16:44:06 -07:00
Nathan Sobo
0758bd0231
Move specs for Workspace::openSync to model layer
2014-01-21 16:44:05 -07:00
Kevin Sawicki
627e43dccf
Hide tooltips when window is resized
...
Refs atom/feedback#12
2014-01-21 12:33:23 -08:00
Brandon Tilley
8bba4d8add
Intelligently activate new items when the active item is closed
...
If the active item was the pane's first item, the second item (which is
the new first item) is activated. Otherwise, the item to the left of the
closed item is activated.
2014-01-20 14:34:02 -08:00
Nathan Sobo
4190f2f1ca
Merge remote-tracking branch 'origin/master' into ns-fold-indicators
2014-01-20 14:40:14 -07:00
Nathan Sobo
525b5c9978
Don't make commented lines foldable based on the next line's indentation
...
Only the first line of a set of commented lines should be foldable, even
if some of the lines in the block are indented.
2014-01-20 14:29:08 -07:00
Nathan Sobo
86106cbf4d
Remove redundant specs
2014-01-20 14:27:45 -07:00
Kevin Sawicki
8436e8f62e
Reload user keymap when it is moved/removed
2014-01-20 10:37:13 -08:00
Nathan Sobo
2831b43042
Update foldability indicators on changes that don't insert/remove lines
...
On changes that insert/remove lines, we redraw the entire gutter, which
ensures the foldability markers are up to date. But other kinds of
changes could change the foldability of lines… if a line becomes
commented or its indentation changes, the foldability of that line and
the lines above and below could be affected. For now, the gutter
understands this fact and updates the foldability for the region
extending from one line before to one line after each change. Someday
I'd like the view logic to not bake in knowledge of the folding rules,
but this works for now.
2014-01-20 11:17:58 -07:00
Nathan Sobo
ed93695d64
Add a foldable indicator for multi-line comments
2014-01-18 12:08:37 -07:00
Nathan Sobo
4db2ad53fd
Rename .fold class to .folded on line numbers in gutter
...
Using an adjective blends in better with '.foldable'
2014-01-18 11:35:22 -07:00
Nathan Sobo
99f025d5d6
Rename .fold-icon to .icon-right in gutter to make it multi-purpose
2014-01-17 16:59:50 -07:00
Kevin Sawicki
e0cf20cda9
Don't throw error when saving empty pane
...
Closes #1440
2014-01-17 15:24:55 -08:00
Nathan Sobo
d879923cdb
Fix gutter view rendering specs
2014-01-17 16:03:02 -07:00
Nathan Sobo
d16526a1f7
Fix references to renamed method in specs
2014-01-17 15:57:49 -07:00
Nathan Sobo
b2dff15e51
Toggle folding upon 'mousedown' on a foldable line's fold-icon
2014-01-17 15:17:13 -07:00
Nathan Sobo
8757e1f145
Add downward pointing chevrons next to foldable row numbers in gutter
2014-01-17 14:34:53 -07:00
Nathan Sobo
8e75831318
Rename LanguageMode::doesBufferRowStartFold to ::isBufferRowFoldable
2014-01-17 14:30:40 -07:00
Kevin Sawicki
64ebc37204
Reload user stylesheet when changed
2014-01-17 11:33:25 -08:00
Nathan Sobo
926493f05c
Emit 'item-added' before setting the ::activeItem when adding first item
...
Fixes atom/tabs#11
2014-01-17 11:10:17 -07:00
Nathan Sobo
fe2def8321
Merge remote-tracking branch 'origin/master' into ns-empty-panes
2014-01-16 11:16:00 -07:00
probablycorey
23d9f6e41f
Use actual indentation length when setting indentation for row.
...
Closes #1293
2014-01-16 09:27:26 -08:00
Nathan Sobo
649f0ac246
Merge branch 'master' into ns-empty-panes
...
Conflicts:
package.json
2014-01-16 10:21:59 -07:00
Cheng Zhao
b7ae12f86f
Merge branch 'master' into chrome31
...
Conflicts:
package.json
2014-01-16 23:42:22 +08:00
Kevin Sawicki
24f386df2d
Wait 30 seconds for move events
2014-01-15 17:54:06 -08:00
Kevin Sawicki
1006706cf6
Consistently order less cache import paths
2014-01-15 17:42:17 -08:00
Cheng Zhao
fcffcc83f9
Merge branch 'master' into chrome31
...
Conflicts:
package.json
vendor/apm
2014-01-16 09:11:34 +08:00
Kevin Sawicki
fd1477fc92
Only depend on jasmine-tagged
...
jasmine-tagged now depends on jasmine-focused and everything needed
should be reachable from just a dependency on jasmine-tagged.
2014-01-15 15:48:19 -08:00
Nathan Sobo
9af4b14716
Never allow PaneContainer::root to be null
2014-01-15 16:07:47 -07:00
Nathan Sobo
aed9f18457
Accivate the first added pane item
2014-01-15 16:07:47 -07:00
Nathan Sobo
012363a785
Null guard item in ::destroyActiveItem
2014-01-15 16:07:47 -07:00
Nathan Sobo
1a48903f96
Only destroy empty panes on deserialization if config option is enabled
2014-01-15 16:07:47 -07:00
Nathan Sobo
44331d0ba6
Fix issues splitting panes with DOM events
...
* ::copyActiveItem guards against not having an active item
* The Pane constructor removes undefined items from params.items
2014-01-15 16:07:47 -07:00
Nathan Sobo
fe7c5b4bc1
Only destroy an empty panes if 'core.destroyEmptyPanes' is true
2014-01-15 16:07:47 -07:00
Nathan Sobo
1825af1309
Merge pull request #1415 from atom/ns-pane-model-specs
...
Move relevant pane specs from PaneView to Pane model
2014-01-15 15:06:43 -08:00
probablycorey
ac07cf3d9a
Merge remote-tracking branch 'origin/master' into cj-remove-editor-view-delegate-methods
...
Conflicts:
package.json
2014-01-15 13:52:42 -08:00
Nathan Sobo
1c6564f7a5
Move non-focus serialization specs from pane-view-spec to pane-spec
2014-01-14 21:39:47 -07:00
Nathan Sobo
d9d28b5236
Move ::itemForUri specs from pane-view-spec to pane-spec
2014-01-14 20:39:13 -07:00
Nathan Sobo
8734eab8cb
💄 Give dummy pane items ::getUri and ::getPath methods
2014-01-14 20:38:07 -07:00
Nathan Sobo
1ad5158f19
Streamline active status and focus specs in pane-view-spec
...
The specs can be simplified now that much of this logic is covered in
the model specs.
2014-01-14 20:27:30 -07:00
Nathan Sobo
453e034a5f
Simplify PaneView split specs because it's largely covered at the model
2014-01-14 20:21:24 -07:00
Nathan Sobo
9841a3588f
Move specs on PaneView::remove to Pane::destroy in pane-spec
2014-01-14 20:10:01 -07:00
Nathan Sobo
d8ddd52df8
Move ::activateItemAtIndex specs from pane-view-spec to pane-spec
2014-01-14 19:49:15 -07:00
Nathan Sobo
83696bb9c7
Move ::activateNext/PreviousItem specs from pane-view-spec to pane-spec
2014-01-14 19:46:12 -07:00