Jess Lin
e2e737369a
[Gutter] Factor out method to set common gutter component properties
2015-04-22 07:28:58 -07:00
Jess Lin
7f1b0588f9
[Gutter] Create CustomGutterComponent
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
ce1d64f550
[Gutter] Create GutterContainerComponent
2015-04-22 07:28:57 -07:00
Jess Lin
754b38f410
[Gutter] Add ::getDomNode to LineNumberGutterComponent
2015-04-22 07:28:57 -07:00
Jess Lin
28f70c912e
[Gutter] Add ::getName to LineNumberGutterComponent
2015-04-22 07:28:57 -07:00
Jess Lin
b4ffa04e4c
[Gutter] Rename GutterComponent to LineNumberGutterComponent
2015-04-22 07:28:57 -07:00
Jess Lin
a96a790bda
[Gutter] Remove unused param 'presenter' from GutterComponent constructor
2015-04-22 07:28:57 -07:00
Jess Lin
d03e9e16b9
[Gutter] Make TextEditorPresenter aware of custom gutters (no decorations yet)
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
ecdf324e62
[Gutter] TextEditorPresenter: rename updateGutterState -> updateLineNumberGutterState
2015-04-22 07:28:57 -07:00
Jess Lin
cc89f972dc
[Gutter][style] Add parentheses to some method calls for readability
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
Ivan Zuzak
02070165e4
Move Grim deprecation calls to correctly attribute them with packages
2015-04-22 15:40:56 +02:00
Michael Bolin
bf9999d07a
core:select-up/down should work in mini editor as well as main editor.
...
Fixes #6445 .
2015-04-21 12:50:20 -07:00
bolinfest
9721e1306f
Merge pull request #6446 from atom/bf-bump-babel-5.1.11
...
⬆️ babel-core@5.1.11
2015-04-21 11:31:53 -07: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
Michael Bolin
88b6db8ac7
Bump babel-core from 4.0.2 to 5.1.11.
...
Notable new features from the [https://github.com/babel/babel/blob/master/CHANGELOG.md ](changelog):
* Add [trailing function comma proposal](https://github.com/jeffmo/es-trailing-function-commas ).
* Decorators based on [@wycat's stage 1 proposal](https://github.com/wycats ).
There is a number of bug fixes and performance improvements, as well.
2015-04-20 15:48:45 -07: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
vvakame
d02a67f5bb
📝 improves document consistency
2015-04-19 11:39:19 +09:00
Kevin Sawicki
edbcf4023e
Add back accidentally deleted resolve call
2015-04-16 14:57:11 -07:00
Kevin Sawicki
f1d90570b6
Check grammars/settings paths before reading
...
asar seems to create and throw errors synchronously when these
do not exist and fs.readdir is called.
2015-04-16 14:57:11 -07:00
Max Brunsfeld
356bb7ce0f
Don't rethrow exceptions from reading state files
...
They block startup.
2015-04-15 16:53:45 -07:00
Kevin Sawicki
2c5655b7d2
Remove unused requires
2015-04-15 15:55:31 -07:00
Kevin Sawicki
e6a49c4531
Remove unused resource path
2015-04-15 15:55:31 -07:00
Kevin Sawicki
8e5323d154
apm is back in app folder
2015-04-15 15:55:30 -07:00
Kevin Sawicki
df28212bdf
Expect atom.sh and apm in app folder
2015-04-15 15:55:30 -07:00
Kevin Sawicki
00e91dc9df
Look for apm in app folder
2015-04-15 15:55:30 -07:00
Kevin Sawicki
5a8885aeed
Revert "Revert "Add asar support in Atom""
2015-04-15 15:55:30 -07: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
8f06301880
Open window if Atom was previously quit w/ no open windows
2015-04-15 15:09:49 -07:00
Max Brunsfeld
b8c7f655f9
🎨 Extract logic for storage folder into separate class
2015-04-15 15:09:49 -07:00
Max Brunsfeld
e4984d68cc
🎨 Tidy up pane container resize element spec
2015-04-15 14:09:27 -07:00
Kevin Sawicki
1602b8cf45
👕 remove some coffee lint
2015-04-15 14:01:49 -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
7b02720d06
🎨 Finish rename
2015-04-15 13:16:31 -04:00
Machiste Quintana
8d0168a520
🎨
2015-04-15 13:12:38 -04:00
Kevin Sawicki
ff88cd6498
Add 0 load time for no-op ThemePackage::load
2015-04-15 09:27:53 -07:00
Kevin Sawicki
fda6bb3624
Add notification when reloading stylesheets fails
2015-04-15 09:18:02 -07:00