Nathan Sobo
dc752eda20
Update scrollHeight/Width before scrollTop/Left in dummy scrollbars
...
This avoids jerky scroll behavior when auto-scrolling at the margins.
2015-02-19 17:15:03 -07: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
de4d995190
Add document coordination methods to ViewRegistry
...
These will assist in updating and reading the DOM in a non-blocking
manner across components.
2015-02-19 17:14:57 -07:00
Nathan Sobo
d337c88aea
Delete overlay node from hash before removing
2015-02-19 17:14:57 -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
e244aae7c0
Cache ::showIndentGuide config setting
2015-02-19 17:14:56 -07:00
Nathan Sobo
5ecefe7213
Update scoped config values in presenter when grammar changes
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
156569f19e
Add TextEditorPresenter::state.gutter.visible
2015-02-19 17:14:55 -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
4654bad543
Add .focused to presenter state
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
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
77a4482263
Fix assignment of oldState values in ScrollbarComponent
...
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
d9e100cdf8
Perform ScrollbarComponent DOM updates manually
2015-02-19 17:14:54 -07:00
Nathan Sobo
8552acaec2
🐎 Optimize line node updates
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
0047e3bc2d
Perform InputComponent DOM updates manually
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
8e27d8215a
Store hidden input data in TextEditorPresenter::state
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
Nathan Sobo
2d771ab8e4
Perform GutterComponent DOM updates manually
2015-02-19 17:14:53 -07:00
Nathan Sobo
679cadabde
Store maxLineNumberDigits in oldState
2015-02-19 17:14:53 -07:00
Nathan Sobo
c06e100fae
Make LinesComponent a normal object instead of a React component
...
Also, remove ability to disable hardware acceleration since there’s
no longer a need for it and it complicated this conversion.
2015-02-19 17:14:53 -07:00
Nathan Sobo
da793e834a
Perform all LinesComponent DOM updates manually
2015-02-19 17:14:53 -07:00
Nathan Sobo
b0a29bdc2f
Make HighlightsComponent a plain object instead of using React
2015-02-19 17:14:53 -07:00
Nathan Sobo
b4ecb65fb9
Make CursorsComponent a plain object instead of using React
2015-02-19 17:14:53 -07:00
Nathan Sobo
c294bb105a
Update highlight nodes manually
2015-02-19 17:14:53 -07:00
Nathan Sobo
883af7a83e
Update cursor nodes manually
2015-02-19 17:14:52 -07:00
Kevin Sawicki
97f43a3335
Merge pull request #5623 from brendannee/master
...
Add "Checking for Update" to menu
2015-02-19 15:18:40 -08:00
Kevin Sawicki
54290e0717
Merge pull request #5643 from atom/ks-deprecations-in-tasks
...
Report deprecations from tasks
2015-02-19 15:14:35 -08:00
Kevin Sawicki
ebefc3b36d
Assert stack trace location
2015-02-19 14:53:15 -08:00
Kevin Sawicki
05ffaec2ac
⬆️ fuzzy-finder@0.67
2015-02-19 14:43:21 -08:00
Max Brunsfeld
0674244f5c
Always create new window when opening w/ no path
...
Fixes #5631
2015-02-19 14:35:22 -08:00
Kevin Sawicki
6f2aec4395
Clear deprecations after mapping over them
2015-02-19 14:12:49 -08:00
Kevin Sawicki
d721cc62e3
Report deprecations in tasks
2015-02-19 14:12:48 -08:00
Kevin Sawicki
a43362c5b2
⬆️ grim@1.2
2015-02-19 14:12:48 -08:00
Max Brunsfeld
3911d039b4
Merge pull request #5641 from atom/mb-project-remove-path
...
Add Project::removePath
2015-02-19 10:43:39 -08:00
Max Brunsfeld
cf60855245
Don't destroy repo in ::removePath if it is still needed
2015-02-19 10:28:54 -08:00
Max Brunsfeld
d4298bf077
Add Project::removePath
...
The tree-view needs to be able to remove a path from
the project
2015-02-19 10:02:37 -08:00