Commit Graph

17 Commits

Author SHA1 Message Date
Antonio Scandurra
6fed847cce Don't use atom globals in gutter components 2015-10-07 15:25:02 -05:00
Nathan Sobo
7a5e441987 Don’t document SpacePen viets as valid gutter decoration items
We should really be retrieving the view for the item from the view
registry, but that can be done in a different PR.
2015-09-18 20:48:49 -06:00
Jess Lin
c128788a3b [Gutter] Migrate CustomGutterComponent to consume new state format 2015-05-13 11:15:44 -07:00
Jess Lin
5e766b6eee [Gutter] Clear custom gutter decorations from previous usages of a custom gutter element 2015-04-29 08:53:04 -07:00
Jess Lin
cdca9c3ef1 [Gutter] Fix coffeescript style issues 2015-04-22 07:29:00 -07:00
Jess Lin
9abd0232ce [Gutter] Remove ::getName from gutter components; save names in GutterContainerComponent 2015-04-22 07:29:00 -07:00
Jess Lin
3051470979 [Gutter] Make CustomGutterComponent::buildDecorationNode call into ::updateDecorationNode 2015-04-22 07:28:59 -07:00
Jess Lin
303cb4c368 [Gutter] Rename 'HTML' to 'Node' in some methods 2015-04-22 07:28:59 -07:00
Jess Lin
09d1b977de [Gutter] Convert ! to 'not', && to 'and' 2015-04-22 07:28:59 -07:00
Jess Lin
c9cbef9a0c [Gutter] Avoid reading position info off DOM nodes directly in CustomGutterComponent 2015-04-22 07:28:59 -07:00
Jess Lin
af629f8416 [Gutter] Remove check for null decorationState in CustomGutterComponent 2015-04-22 07:28:59 -07:00
Jess Lin
5dfa6b3e1e [Gutter] Remove test-only CSS 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
0d7f89467f [Gutter][DOM Persistence] Add ::hideNode and ::showNode to GutterComponent classes 2015-04-22 07:28:58 -07:00
Jess Lin
66f1f33861 [Gutter][View Registry] Make LineNumber- and Custom- GutterComponent get their view from the ViewRegistry 2015-04-22 07:28:58 -07:00
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