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
Machiste Quintana
2b43f7d163
Add active path and file name to atom-pane
2015-04-14 20:52:26 -04:00
Machiste Quintana
94c5de0aeb
🎨 Change wording in spec
2015-04-14 20:00:06 -04:00
Machiste Quintana
0c69ecdd7f
Unfocus spec
2015-04-14 19:57:29 -04:00
Machiste Quintana
5c9cb6d902
Revert " ✅ Add tests for images and archives"
...
This reverts commit 1a783963e3
.
2015-04-14 19:53:21 -04:00
Machiste Quintana
bf852160da
Revert "Add image and archive fixtures"
...
This reverts commit e6d1e16739
.
2015-04-14 19:52:07 -04:00
Machiste Quintana
1a783963e3
✅ Add tests for images and archives
2015-04-14 19:26:17 -04:00
Machiste Quintana
e6d1e16739
Add image and archive fixtures
2015-04-14 18:51:19 -04:00
Machiste Quintana
078c6a80cf
Add .has-file-path if active buffer has a file path
2015-04-14 18:35:32 -04:00
Max Brunsfeld
3d05ae02ba
Reopen windows when launching w/ no arguments
2015-04-14 14:18:44 -07:00
Max Brunsfeld
ce7d0c161d
Always quit Atom realistically in integration specs
2015-04-14 14:16:39 -07:00
Max Brunsfeld
d5ff7f26bf
Create a new ATOM_HOME dir for each integration spec
2015-04-14 14:14:39 -07:00
Kevin Sawicki
5272584d29
Merge pull request #6359 from atom/as-fix-linux-failing-specs
...
Fix some of the specs which fail on Linux
2015-04-14 11:07:58 -07:00
Antonio Scandurra
6190fe00d7
🎨 Avoid string interpolation in require
2015-04-14 19:34:43 +02:00
Antonio Scandurra
304b959ca8
🎨 Use tags to exclude spec on Linux
2015-04-14 19:34:04 +02:00