Antonio Scandurra
5efb969a63
💚 Start fixing TextEditorComponent specs
2016-03-17 11:33:17 +01:00
Antonio Scandurra
dfed7c4537
Merge branch 'master' into ns-use-display-layers
...
# Conflicts:
# package.json
# src/display-buffer.coffee
# src/text-editor.coffee
# src/tokenized-buffer.coffee
2016-03-10 13:53:14 +01:00
Rodrigo Espinosa Curbelo
42a696cf28
🐛 Scroll to cursor when unfold all
...
Fixes #11066
2016-03-05 21:28:09 -03:00
joshaber
dba1fbd408
De-lint.
2016-03-03 10:15:13 -05:00
joshaber
928205a44a
s/grammarName/grammar
2016-03-03 10:09:18 -05:00
joshaber
98c8a08ac3
s/ignoreScrollPastEnd/scrollPastEnd
2016-03-03 10:06:15 -05:00
joshaber
db20cecfc0
s/ignoreInvisibles/showInvisibles
2016-03-03 09:59:45 -05:00
joshaber
367f6db7a4
Merge branch 'master' into atom-textarea
2016-02-29 23:02:52 -05:00
Nathan Sobo
04d2474594
Merge PR #9642 (Autoscroll after consolidating selections)
2016-02-29 18:38:33 -07:00
Willem Van Lint
26cf7f081f
Registry for editors
2016-02-29 17:30:04 -05:00
joshaber
707bdf3f39
Merge branch 'master' into atom-textarea
2016-02-29 16:41:01 -05:00
Michelle Tilley
b9d40be902
Merge pull request #10959 from atom/ku-move-pending-state-from-item-to-pane
...
(WIP) Refactor pending state to live in pane instead of items
2016-02-26 14:19:23 -08:00
Katrina Uychaco
7643fa04ed
Small 🐎 when editing a TextEditor that is no longer pending
2016-02-25 17:32:17 -08:00
Katrina Uychaco
1c65d0e5e4
Changed Pane and TextEditor specs to match new pending behavior
2016-02-25 16:48:16 -08:00
Katrina Uychaco
b637366a58
Workspace#setItemNotPending ➡️ Item#onDidTerminatePendingState
...
Signed-off-by: Michelle Tilley <binarymuse@github.com >
2016-02-25 16:09:40 -08:00
joshaber
dfd3e1b948
Take autoHeight as an argument.
2016-02-25 17:11:04 -05:00
joshaber
ff0b9e30a9
Add ignoreScrollPastEnd
2016-02-25 16:59:58 -05:00
joshaber
1b6325494d
Merge branch 'master' into atom-textarea
2016-02-25 16:05:59 -05:00
joshaber
dd83619c45
Add autoHeight setting.
2016-02-25 16:05:57 -05:00
joshaber
2af53231f1
Less lint.
2016-02-25 15:21:56 -05:00
joshaber
f3ce468a70
Support specifying whether to ignore invisibles and the grammar.
2016-02-25 15:01:40 -05:00
joshaber
44dabf1e2f
Added .getElement to TextEditor.
2016-02-25 14:43:02 -05:00
Alfred UC
24865fd254
Fix a inconsistent getLineCount() use
2016-02-25 20:30:25 +09:00
Katrina Uychaco
a487110521
Refactor pending state to live in pane instead of items
...
* New public API `workspace.setItemNotPending` that
packages can use to set an item to set an item to not pending
(e.g. when the user interacts with the item)
* Pending state for newly opened items with `{pending: true}`
is now tracked by `Pane` instead of the item, and packages like
`tabs` that query this information now get it from the Pane.
2016-02-24 18:30:09 -08:00
Antonio Scandurra
bea324eae9
🔥 Use just isFoldableAtBufferRow
2016-02-17 15:05:31 +01:00
Antonio Scandurra
012fa354c4
Add TokenizedBuffer.prototype.foldableRowsForRowRange
2016-02-17 10:34:21 +01:00
Antonio Scandurra
63270f4174
Add TextEditor.prototype.cursorsForScreenRowRange
...
So that `TextEditorPresenter` can avoid to scan
through all the cursors to understand whether
they're visible on screen. This dramatically
reduces the calls to `getScreenRange` and, thus,
makes `updateCursorsState` faster for multi-cursor
edits.
2016-02-16 14:41:24 +01:00
Nathan Sobo
0243a345b7
Merge branch 'master' into ns-use-display-layers
2016-02-09 12:42:57 -07:00
Aaron Contreras
cbff7394c6
🐛 Reuse scroll position on text editor's copy. Fixes #8765
...
✅ Update specs to avoid regressions
2016-02-09 00:36:37 +01:00
Nathan Sobo
21b1f79fab
Avoid updating screen lines in DisplayBuffer
2016-01-19 14:51:24 -07:00
Nathan Sobo
ed79413de1
Depend on DisplayLayer for more things
2016-01-19 14:39:37 -07:00
Josh Abernathy
4d740d3346
Merge pull request #9213 from atom/dh-async-repo
...
Async Git Repository class
2016-01-15 16:17:41 -05:00
joshaber
7cfb8a3207
Merge branch 'master' into dh-async-repo
2016-01-15 13:39:03 -05:00
Katrina Uychaco
4c1ebdf1b9
Merge branch 'master' into ku-pending-editor
2016-01-14 17:40:41 -08:00
joshaber
f3a6f2ed1e
Merge branch 'master' into dh-async-repo
2016-01-14 11:39:42 -05:00
Antonio Scandurra
f81843d465
Merge branch 'master' into as-block-decorations
2016-01-14 09:30:06 -07:00
Nathan Sobo
972fda4ef7
Start using DisplayLayer for folds
2016-01-13 12:17:01 -07:00
Nathan Sobo
caf6d7f473
Use DisplayMarkerLayers
...
I’m creating the DisplayLayer in the DisplayBuffer. In places where our
API deviates from DisplayBuffer, I’ll use the DisplayLayer directly from
as a property of TextEditor. Otherwise I’ll continue to delegate from
the DisplayLayer into the DisplayLayer to minimize impact until the
DisplayBuffer can be removed entirely.
2016-01-13 12:17:01 -07:00
Nathan Sobo
5292767084
Use DisplayLayers for position translation and clipping in editor
...
Markers are still translating via the DisplayBuffer, but that will
change when display markers are moved into DisplayLayers.
2016-01-13 12:17:01 -07:00
Nathan Sobo
d5b204226f
Correctly pass tabLength to addDisplayLayer
2016-01-13 12:17:01 -07:00
Nathan Sobo
924d880fa8
WIP: Start rendering lines from DisplayLayers
2016-01-13 12:17:01 -07:00
Antonio Scandurra
2af5d395dd
📝 Include info for preceding/following block decorations
2016-01-13 09:38:28 -07:00
Max Brunsfeld
aea9c5804a
Improve terminate pending state tests.
...
Remove argument to remove pending state listeners.
2016-01-12 18:34:32 -08:00
joshaber
07be6d5c6e
Merge branch 'master' into dh-async-repo
2016-01-11 14:14:19 -05:00
Katrina Uychaco
8d3b86acb5
Serialize pending state for editor
2016-01-10 12:53:39 -08:00
Yuya Tanaka
d4c8770176
Add copy project path command to text-editor
2016-01-10 19:35:34 +09:00
Katrina Uychaco
364205ca56
✅ Ensure terminate handler is invoked only once
2016-01-09 18:10:28 -08:00
Nathan Sobo
db74f4a8f0
Merge pull request #10178 from atom/ku-pending-editor
...
Open file in pending state on single click
2016-01-08 14:45:14 -07:00
Katrina Uychaco
cee41a2fb0
Remove new line
2016-01-05 10:42:07 -08:00
joshaber
449c1e6a69
Merge branch 'master' into dh-async-repo
2016-01-04 11:15:01 -05:00