Commit Graph

381 Commits

Author SHA1 Message Date
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
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
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
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
Kevin J
876928f7f6 Update function documentation for scrollToScreenPosition 2016-01-02 16:05:21 -05:00
Katrina Uychaco
7f57b0ada4 Change event to 'did-terminate-pending-state' 2015-12-24 18:02:07 -08:00
Katrina Uychaco
cca9ea4b60 Rename onDidConfirmPendingState for clarity
Now it is called onDidTerminatePendingState.
2015-12-24 17:56:18 -08:00
Katrina Uychaco
b24250289e Add pending status to text editors
Add event methods for 'did-confirm-pending-state'.
2015-12-24 01:10:42 -08:00
Antonio Scandurra
dfb095b754 🔥 Remove TextEditor.prototype.addBlockDecorationForScreenRow 2015-12-19 13:00:47 +01:00
Antonio Scandurra
8c1f0b0e21 Merge branch 'master' into as-block-decorations
# Conflicts:
#	spec/fake-lines-yardstick.coffee
#	spec/lines-yardstick-spec.coffee
#	spec/text-editor-presenter-spec.coffee
#	src/lines-yardstick.coffee
#	src/text-editor-component.coffee
#	src/text-editor-presenter.coffee
2015-12-18 09:59:12 +01:00
Collin Donahue-Oponski
e4e200317a Autoscroll to cursor after clearing multi-cursor selection. 2015-12-11 15:32:29 -07:00
Collin Donahue-Oponski
4708d5ba88 Merge branch 'master' into colllin-patch-1 2015-12-10 21:03:22 -07:00
joshaber
f3cfb5d069 Merge branch 'master' into dh-async-repo 2015-12-09 15:44:45 -05:00
Antonio Scandurra
afd05f391f Don't prompt to save when a window close is requested
Fixes #942
2015-12-07 14:50:34 +01:00
Antonio Scandurra
b6b2958e67 📝 TextEditor::addBlockDecorationForScreenRow 2015-12-04 15:33:18 +01:00
joshaber
3a06953820 Merge branch 'master' into dh-async-repo 2015-11-30 11:44:20 -05:00