Commit Graph

150 Commits

Author SHA1 Message Date
Ben Ogle
d3ef6c91af Measure gutterWidth, and pass to presenter 2015-04-29 15:47:44 -07:00
Nathan Sobo
90d6eb7a13 Merge pull request #5217 2015-04-22 13:28:37 -06:00
Kevin Sawicki
5f38719dfc ⬆️ scrollbar-style@3.1 2015-04-22 10:27:07 -07:00
Jess Lin
79b460a0ca [Gutter] Add ::getDomNode method to all 'components' 2015-04-22 07:28:59 -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
8d6745d8a9 [Gutter] Replace GutterComponent with GutterContainerComponent in TextEditorComponent 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
7582e98f4c [Gutter] TextEditorPresenter: rename @state.gutter -> @state.lineNumberGutter 2015-04-22 07:28:57 -07:00
Antonio Scandurra
1c8cf4390c Rename to safe-clipboard
...and use remote only on Linux renderer processes.
2015-04-14 10:50:09 +02:00
Antonio Scandurra
87972caf1e 🐧 Disable failing spec 2015-04-13 16:24:22 +02:00
Antonio Scandurra
f633a4f771 Use src/native-clipboard in TextEditorComponent 2015-04-13 14:20:17 +02:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Kevin Sawicki
60913cd9bf 📝 Remove empty deprecated comments 2015-04-03 11:37:34 -07:00
Kevin Sawicki
7d592c8b78 includeDeprecations -> includeDeprecatedAPIs 2015-04-03 11:29:16 -07:00
Kevin Sawicki
63072bf8ae Check deprecations flag for space pen shim inclusion 2015-04-03 11:29:14 -07:00
Kevin Sawicki
baca3284f4 Conditionally include deprecations in TextEditorComponent 2015-04-03 11:29:12 -07:00
Kevin Sawicki
87fca98bab Deprecate TextEditorComponent::setShowInvisibles 2015-04-03 11:27:59 -07:00
Ben Ogle
3adc646a79 Remove the horribleUpdateMethod 2015-04-01 17:41:00 -07:00
Ben Ogle
c62f06af9d Cache the overlay dimensions in the presenter 2015-04-01 17:40:59 -07:00
Ben Ogle
6b5a74e3b6 Update specs for overlay rendering 2015-04-01 17:40:59 -07:00
Ben Ogle
8749db30cf Add OverlayManager to the TextEditorComponent 2015-04-01 17:40:59 -07:00
Max Brunsfeld
2f5d975338 Remove autoscroll-related legacy editor view support
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-03-26 11:12:37 -07:00
Ivan Zuzak
d21ae2c869 Select buffer lines for mouse clicks on gutter 2015-03-02 22:29:47 +01:00
Antonio Scandurra
436322fc41 Call it onDidUpdateState 2015-02-28 09:36:56 +01:00
Antonio Scandurra
0dca5a5fcd Encapsulate state update inside TextEditorPresenter#getState 2015-02-28 09:25:53 +01:00
Antonio Scandurra
fbec9e31c4 Let's call it needsUpdate 😉 2015-02-27 20:54:00 +01:00
Antonio Scandurra
bcc99c163f Rename applyChanges to update 2015-02-27 20:42:04 +01:00
Antonio Scandurra
bf16287b16 🎨 Avoid entering/exiting from the outside 2015-02-27 16:59:59 +01:00
Antonio Scandurra
2f00d3e361 Batch on @requestUpdate 2015-02-27 15:10:17 +01:00
Antonio Scandurra
af65849880 Move batching management down into presentation layer 2015-02-27 12:17:34 +01:00
Nathan Sobo
1d84d74e50 Centralize text editor DOM interaction through atom.views
This ensures that DOM writing, reading, and polling properly interleaves
with DOM interactions from other text editors and any other code that
coordinates via atom.views. Not sure about the location of it though.
2015-02-19 17:14:58 -07:00
Nathan Sobo
7033b27207 Make EditorComponent a plain JS object rather than a React component 2015-02-19 17:14:57 -07:00
Nathan Sobo
c9a6c32752 Replace cursor blink React props with normal properties 2015-02-19 17:14:57 -07:00
Nathan Sobo
1e8b0acbd0 Remove redundant update requests in editor view 2015-02-19 17:14:57 -07:00
Nathan Sobo
0d109d69f0 Use CompositeDisposable instead of SubscriberMixin in editor view 2015-02-19 17:14:57 -07:00
Nathan Sobo
dae15eafc9 Remove unused prototype properties 2015-02-19 17:14:57 -07:00
Nathan Sobo
ccdc4eb24b Update TextEditorComponent DOM node manually 2015-02-19 17:14:56 -07:00
Nathan Sobo
d89ec25b28 Remove showIndentGuide subscription from view 2015-02-19 17:14:56 -07:00
Nathan Sobo
1845234775 Remove unnecessary ::mini subscription on model in TextEditorComponent 2015-02-19 17:14:56 -07:00
Nathan Sobo
2fba4979f9 Use presenter to determine gutter visibility 2015-02-19 17:14:56 -07:00
Nathan Sobo
fd603a0cbc Move new character measurement to end of full update to avoid reflow 2015-02-19 17:14:55 -07:00
Nathan Sobo
bf29a020e1 Use presenter for focused state in EditorComponent 2015-02-19 17:14:55 -07:00
Nathan Sobo
5c7e0c387a Use plain JS object for ScrollbarCornerComponent instead of React
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-19 17:14:55 -07:00
Nathan Sobo
6b3d29a5e4 Manually update DOM in ScrollbarCornerComponent
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-19 17:14:55 -07:00
Nathan Sobo
da6bd3664d Use plain JS object for ScrollbarComponent instead of React 2015-02-19 17:14:54 -07:00
Nathan Sobo
8784d48236 Use plain JS object for InputComponent instead of React 2015-02-19 17:14:54 -07:00
Nathan Sobo
ea49fc6d5f Construct LinesComponent with visibility param to avoid redundant update 2015-02-19 17:14:54 -07:00
Nathan Sobo
52a9a76b2a Use presenter state in InputComponent 2015-02-19 17:14:54 -07:00
Nathan Sobo
168df987d7 Make GutterComponent a plain JS object instead of a React component 2015-02-19 17:14:53 -07:00