Commit Graph

23049 Commits

Author SHA1 Message Date
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
93d7b47b79 [Gutter][refactor] Simplify TextEditorPresenter::updateCustomGutterDecorationState (Pass 2) 2015-04-22 07:28:58 -07:00
Jess Lin
14e5d38354 [Gutter] TextEditorPresenter: Consolidate common gutter state under @state.gutters 2015-04-22 07:28:58 -07:00
Jess Lin
d54e48699b [Gutter] Don't bother updating custom gutter decorations if editor is mini 2015-04-22 07:28:58 -07:00
Jess Lin
f62a27cfef [Gutter][DOM Persistence] Clear the decorations of a gutter node if it is not visible 2015-04-22 07:28:58 -07:00
Jess Lin
d78dfd86bf [Gutter][refactor] Simplify TextEditorPresenter::updateCustomGutterDecorationState 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
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
6319c9722a [Gutter][View Registry] Add Gutter view providers to the ViewRegistry 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
d2914bc73c [Gutter] Make the GutterContainerComponent able to create custom gutters 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
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
Dean Brettle
e96376121d Fix issue #6466 by using full path to atom 2015-04-22 00:55:17 -07:00
Kevin Sawicki
ecd0444643 Prepare 0.195 2015-04-21 19:13:54 -07:00
Kevin Sawicki
c2fc850e31 ⬆️ settings-view@0.195 2015-04-21 18:56:56 -07:00
Kevin Sawicki
5c8872c24e ⬆️ apm@0.161 2015-04-21 18:43:19 -07:00
Kevin Sawicki
78a25e7ded ⬆️ apm@0.160 2015-04-21 18:27:17 -07:00
Kevin Sawicki
07b842b913 Merge pull request #6246 from jussi-kalliokoski/fix-test-script
🎨 💚 Fixed the test script.
2015-04-21 17:43:45 -07:00
Kevin Sawicki
2d34726b90 ⬆️ grim@1.2.2
Closes atom/deprecation-cop#36
2015-04-21 16:24:34 -07:00
Kevin Sawicki
e52177efad Merge pull request #6459 from atom/ks-remove-insecure-dependencies
Upgrade insecure dependencies
2015-04-21 16:24:14 -07:00
Kevin Sawicki
1cb8f27ee0 ⬆️ settings-view@0.194 2015-04-21 16:06:55 -07:00
Kevin Sawicki
07085a7cfe ⬆️ semver@4.3.3 2015-04-21 16:06:55 -07:00
Kevin Sawicki
a1670371d4 ⬆️ marked@0.3.3 2015-04-21 16:06:55 -07:00
Kevin Sawicki
85ec4a3fa4 Merge pull request #6450 from atom/as-better-travis-ci
Make Travis build more resilient
2015-04-21 15:52:30 -07:00
Kevin Sawicki
8c1836098b Merge pull request #6456 from atom/bf-select-up-down-in-mini
core:select-up/down should work in mini editor as well as main editor.
2015-04-21 15:51:13 -07:00
Kevin Sawicki
8ca8b5ff21 Merge pull request #6457 from atom/mq-dependency-badge
Add david-dm dependency status badge to Readme
2015-04-21 15:50:19 -07:00
Kevin Sawicki
34f6646119 ⬆️ language-less@0.26 2015-04-21 15:48:44 -07:00