Commit Graph

410 Commits

Author SHA1 Message Date
joshaber
f70b93d9c2 Merge branch 'remove-packagemanager-dependency' into remove-project-dependency 2016-04-26 11:01:28 -04:00
joshaber
5d7c2fc8ba Just observe the grammar. 2016-04-26 10:32:41 -04:00
joshaber
7ed4d60967 Don't need to pass Project around anymore. 2016-04-25 17:03:26 -04:00
joshaber
9fa669b293 Set the initial path after saving in Project. 2016-04-25 17:02:51 -04:00
joshaber
5cf532ebe8 Move checkoutHeadRevision to Workspace. 2016-04-25 17:02:36 -04:00
joshaber
8d7f1b8fba Don't need to pass view registry through anymore. 2016-04-25 16:26:28 -04:00
joshaber
3a63f90ab2 We just say getElement now. 2016-04-25 16:24:27 -04:00
joshaber
2266f1e3b6 Revert "Just use the already existing change grammar event."
This reverts commit 9014634b3a.
2016-04-25 15:15:31 -04:00
joshaber
9014634b3a Just use the already existing change grammar event. 2016-04-25 15:09:03 -04:00
joshaber
e8a4f38c69 Don't need to pass the package manager through anymore. 2016-04-25 14:50:14 -04:00
joshaber
6b309be6da Propagate a did-use-grammar event out of the tokenized buffer. 2016-04-25 14:49:43 -04:00
joshaber
8bf34d45d7 Don't require notification manager in TextEditor
Instead expose getCursorScope and let users outside the text editor
show the notification.
2016-04-25 14:12:07 -04:00
Cole R Lawrence
7decbf0d06 📝 Fix linking the decorateMarker
Error happens at this place in the docs
https://atom.io/docs/api/v1.6.2/TextEditor#instance-decorateMarkerLayer
2016-04-09 14:07:37 -05:00
Machisté N. Quintana
3068631d19 Don't open a transaction if there's a selection at the start / end of line 2016-03-30 12:48:11 -07:00
Machiste Quintana
3b222dbee8 Don't merge selections if at start or end of line 2016-03-28 23:26:28 -07:00
Machiste Quintana
e932e3db05 Merge branch 'master' into mq-move-selected-columns 2016-03-28 22:16:31 -07:00
Nathan Sobo
2ad2f161fa Merge pull request #11078 from wvanlint/opt_in_registration
Add TextEditors to the registry only when opting in
2016-03-11 15:37:07 -07:00
Willem Van Lint
466e554ee1 Add TextEditors to the registry on opt-in only 2016-03-10 22:51:51 -08: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
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