Kevin Sawicki
3bd0093eb3
Update scrollbar style spec for new library API
2015-04-23 16:10:06 -07:00
Nathan Sobo
ec3f37dee3
Avoid deprecation warnings in spec
2015-04-22 13:12:09 -06:00
Jess Lin
3949153390
[Gutter] Presenter should return gutter decorations for screen row range, not buffer row range
2015-04-22 07:29:00 -07:00
Jess Lin
cdca9c3ef1
[Gutter] Fix coffeescript style issues
2015-04-22 07:29:00 -07:00
Jess Lin
55c6a11c36
[Gutter] Add comment to explain avoided decoration update in presenter & remove test
2015-04-22 07:29:00 -07:00
Jess Lin
166f040077
[Gutter] Address rename nit in CustomGutterComponent-spec
2015-04-22 07:28:59 -07:00
Jess Lin
85188ced03
[Gutter] Move 'lineNumberGutter' state to nest under 'gutters' in the presenter state
2015-04-22 07:28:59 -07:00
Jess Lin
79b460a0ca
[Gutter] Add ::getDomNode method to all 'components'
2015-04-22 07:28:59 -07:00
Jess Lin
28ff5dd3c3
[Gutter] Tests for CustomGutterComponent
2015-04-22 07:28:59 -07:00
Jess Lin
f418376013
[Gutter] Tests for GutterContainerComponent
2015-04-22 07:28:59 -07:00
Jess Lin
8c4d092767
[Gutter] TextEditorPresenter tests for custom gutter decorations
2015-04-22 07:28:59 -07:00
Jess Lin
14e5d38354
[Gutter] TextEditorPresenter: Consolidate common gutter state under @state.gutters
2015-04-22 07:28:58 -07:00
Jess Lin
34856d94f5
[Gutter][DOM Persistence] Keep a gutter in the DOM if it is merely hidden (not destroyed)
2015-04-22 07:28:58 -07:00
Jess Lin
f3d2597bda
[Gutter][View Registry] Make the Presenter pass sorted Gutter models instead of sorted derived state
2015-04-22 07:28:58 -07:00
Jess Lin
d734ffe545
[Gutter] Make TextEditorPresenter recognize Decorations for custom gutters
2015-04-22 07:28:58 -07:00
Jess Lin
8d6745d8a9
[Gutter] Replace GutterComponent with GutterContainerComponent in TextEditorComponent
2015-04-22 07:28:57 -07:00
Jess Lin
7582e98f4c
[Gutter] TextEditorPresenter: rename @state.gutter -> @state.lineNumberGutter
2015-04-22 07:28:57 -07:00
Jess Lin
ee7625249f
[Gutter] Create event subscription methods for gutter changes
2015-04-22 07:28:57 -07:00
Jess Lin
b361e1719c
[Gutter] Add decorateMarker method to Gutter model
2015-04-22 07:28:57 -07:00
Jess Lin
58d6712b0e
[Gutter] Augment Decoration to discern the line-number gutter from custom gutters
2015-04-22 07:28:57 -07:00
Jess Lin
eb321a64c1
[Gutter] Create a line-numbers Gutter on each TextEditor
2015-04-22 07:28:56 -07:00
Jess Lin
20d3c07bf5
[Gutter] Add add/get Gutter methods to TextEditor
2015-04-22 07:28:56 -07:00
Jess Lin
fccc9ebee4
[Gutter] Rename current references to 'Gutter' -> 'LineNumberGutter'
2015-04-22 07:28:56 -07:00
Jess Lin
a6efa104db
[Gutter] Don't allow the 'line-number' gutter to be destroyed
2015-04-22 07:28:56 -07:00
Jess Lin
94a0bf3f90
[Gutter] Create Gutter and GutterContainer w/ API to hide/show
2015-04-22 07:28:56 -07:00
Nathan Sobo
9823f4ce09
Fix legacy event spec for scheduler change
2015-04-21 08:09:07 -06:00
Nathan Sobo
76a919f8b4
Perform document updates in same frame when requested from reads
...
A common pattern is to put something on the DOM, measure it, then update
the DOM again based on that measurement. This change ensures that any
updates requested as a result of reading from the DOM get scheduled for
the end of the current frame. If you want to read *again* after these
follow-on updates, you will need to wait for the next frame. But at
least this way we ensure instant feedback with minimal thrashing
(1 reflow) when we have no choice but to read the DOM before updating.
/cc @benogle
2015-04-20 22:01:36 -06:00
Nathan Sobo
d1c44dcb54
Never load config settings from disk when a save is pending
...
Fixes #5771
We load the user’s settings from disk when we detect a change to their
config.cson file. However, if there’s a save pending, doing this will
end up blowing away the values we intend to save.
2015-04-20 12:12:05 -06:00
Nathan Sobo
96b0938c7c
🎨
2015-04-20 12:12:05 -06:00
Antonio Scandurra
50010a55b9
Use a guard clause to disable integration specs
2015-04-16 09:52:41 +02:00
Antonio Scandurra
17894fd36b
🎨
2015-04-16 09:15:46 +02:00
Antonio Scandurra
f3a1aebb8a
Merge branch 'master' into as-public-ci
2015-04-16 08:31:21 +02:00
Max Brunsfeld
c665747879
Merge pull request #6380 from atom/mb-reopen-windows
...
Reopen windows when starting app w/ no arguments
2015-04-15 15:50:22 -07:00
Max Brunsfeld
b8c7f655f9
🎨 Extract logic for storage folder into separate class
2015-04-15 15:09:49 -07:00
Max Brunsfeld
4545671dcf
Move file drag and drop specs to pane-view-spec
2015-04-15 14:20:16 -07:00
Max Brunsfeld
e4984d68cc
🎨 Tidy up pane container resize element spec
2015-04-15 14:09:27 -07:00
Kevin Sawicki
1c67912ab6
👕 remove a ;
2015-04-15 14:04:10 -07:00
Max Brunsfeld
632c57d7b4
Merge pull request #5902 from liuxiong332/pane-resize
...
add implementation for resizable panes, just solve the issue #274
2015-04-15 13:31:33 -07:00
Kevin Sawicki
9a0c3f94a9
Remove path data attributes when no active item
2015-04-15 10:32:22 -07:00
Kevin Sawicki
476cf4152c
🎨
2015-04-15 10:24:51 -07:00
Kevin Sawicki
d4439b1d55
Merge pull request #6383 from atom/mq-has-file-path
...
Indicate whether buffer has a file path
2015-04-15 10:21:57 -07:00
Machiste Quintana
8d0168a520
🎨
2015-04-15 13:12:38 -04:00
Kevin Sawicki
fda6bb3624
Add notification when reloading stylesheets fails
2015-04-15 09:18:02 -07:00
Kevin Sawicki
f8e940fdc0
Add spec for invalid theme stylesheet notification
2015-04-15 09:18:02 -07:00
liuxiong332
1331cfad4b
change the spec description to make it clear
2015-04-15 22:20:17 +08:00
Antonio Scandurra
cf17a1ddc8
Merge branch 'master' into as-public-ci
2015-04-15 09:40:33 +02:00
liuxiong332
47c1062561
rename the spec file name to 'pane-container-element-spec'
2015-04-15 12:55:45 +08:00
Machiste Quintana
0cb00a8de8
✅ Add converse specs
2015-04-14 23:23:26 -04:00
liuxiong332
e46d3b0d27
Merge remote-tracking branch 'origin' into pane-resize
...
Conflicts:
src/pane-element.coffee
src/pane.coffee
2015-04-15 10:09:41 +08:00
liuxiong332
4ab06aa627
fix some error in specs
2015-04-15 09:32:51 +08:00