Nathan Sobo
f9a269ed99
Prompt about checking out head revision in TextEditor, not GitRepository
...
This allows us not to inject confirm or ApplicationDelegate into
Project, GitRepositoryProvider, and GitRepository.
2015-10-13 19:11:55 -06:00
Nathan Sobo
4c51d29868
Merge remote-tracking branch 'origin/master' into ns-alternative-test-env
2015-10-07 16:10:29 -05:00
Antonio Scandurra
b5fc710f15
Don't use atom.clipboard global in Selection
2015-10-07 15:25:05 -05:00
Max Brunsfeld
d8b08d3240
Don't use atom.config global in LanguageMode
2015-10-07 15:25:00 -05:00
Nathan Sobo
122bf72c75
Don’t use atom.packages global in TokenizedBuffer
2015-10-07 15:25:00 -05:00
Nathan Sobo
b2359f44a6
Don’t use atom.grammars global in TokenizedBuffer
2015-10-07 15:25:00 -05:00
Nathan Sobo
dc0709ef9e
Don’t use atom.assert global in DisplayBuffer
2015-10-07 15:24:59 -05:00
Nathan Sobo
edd666b845
Don’t use atom.config global in DisplayBuffer
2015-10-07 15:24:59 -05:00
Nathan Sobo
706ef8e8ce
Don’t use atom.config global in Cursor
2015-10-07 15:24:59 -05:00
Nathan Sobo
332bad6598
Assign project when deserializing TextEditors
2015-10-07 15:24:59 -05:00
Nathan Sobo
95fbff033d
Throw when editor dependencies are undefined
2015-10-07 15:24:59 -05:00
Nathan Sobo
b729a9bb37
Parameterize project on TextEditor
2015-10-07 15:24:59 -05:00
Nathan Sobo
8d7a08d07f
Parameterize view registry on TextEditor
2015-10-07 15:24:59 -05:00
Nathan Sobo
e803801145
Parameterize clipboard on TextEditor
2015-10-07 15:24:59 -05:00
Nathan Sobo
ad57dca1f7
Remove dead registerEditor parameter
2015-10-07 15:24:58 -05:00
Nathan Sobo
979963a25c
Parameterize notification manager on TextEditor
2015-10-07 15:24:58 -05:00
Nathan Sobo
51abab930d
Parameterize config on editor instead of using global atom.config
2015-10-07 15:24:58 -05:00
Nathan Sobo
e0d426b817
Register deserializers, view providers, and commands in Atom constructor
...
Previously, these registrations were scattered all over the codebase and
required that `global.atom` be defined, which creating weird ordering
issues. Registering them all from the global makes the relationships
clearer and means we don’t have to assign a global to set up a fully-
functional environment.
2015-10-07 15:24:52 -05:00
Antonio Scandurra
3df6ed8405
Merge branch 'master' into as-double-reflow-measurements
2015-10-03 15:53:34 +02:00
Nathan Sobo
9ec6bcd9c6
Merge pull request #8931 from ssorallen/texteditor-decoratemarker
...
Link Gutter::decorateMarker to TextEditor::decorateMarker
2015-10-01 13:30:31 -06:00
Ross Allen
1670357293
Link Gutter::decorateMarker to TextEditor::decorateMarker
...
`Gutter::decorateMarker` passes its `decorationParams` object through to
`TextEditor::decorateMarker`. Rather than duplicate documentation and
fall out-of-date (as was surfaced in #8920 ), link the
`TextEditor::decorateMarker` as the canonical docs location.
2015-10-01 10:08:36 -07:00
Antonio Scandurra
243dea1a1c
🎨 Move pixel-related code to LinesYardstick
...
* 🔥 Remove useless 'scoped char width' methods
2015-10-01 11:03:25 +02:00
Antonio Scandurra
f877f3695d
Revert "Temporarily un-deprecate TextEditor methods"
...
This reverts commit 8fb4e887df .
2015-09-29 08:25:51 +02:00
Antonio Scandurra
e648d880ed
Manually set rows per page in the model
2015-09-29 08:24:28 +02:00
Max Brunsfeld
8fb4e887df
Temporarily un-deprecate TextEditor methods
2015-09-28 10:30:01 -07:00
Antonio Scandurra
575d79acce
Merge pull request #8604 from lpommers/pressing-esc-on-multiple-cursors-returns-to-original-cursor-or-selection
...
Pressing esc on multiple cursors returns to original cursor or selection
2015-09-28 10:01:42 +02:00
Wliu
7c0a656036
🔥 Remove hardcoded Makefile tab behavior
2015-09-26 15:54:51 -04:00
Antonio Scandurra
74deceb037
🎨
2015-09-25 18:03:07 +02:00
Antonio Scandurra
7316eb4d52
🔥 Drop deprecated methods from the public API
2015-09-25 17:27:14 +02:00
Antonio Scandurra
bded7e4fb0
💚
2015-09-25 12:04:25 +02:00
Antonio Scandurra
051baebd9c
Shim ::setHeight and ::getHeight to TextEditorElement
2015-09-25 11:15:41 +02:00
Antonio Scandurra
33a67ad3c9
Shim ::setWidth and ::getWidth to TextEditorElement
2015-09-25 11:05:41 +02:00
Antonio Scandurra
ce714b9852
🎨 Rename to ::onDidRequestAutoscroll
2015-09-25 10:57:09 +02:00
Antonio Scandurra
535a9da946
wip
2015-09-24 11:21:26 +02:00
Antonio Scandurra
3236c8f0f8
Let's start with deprecations!
2015-09-24 10:07:38 +02:00
Antonio Scandurra
1f81c633e0
Serialize state using logical coordinates
2015-09-24 09:01:51 +02:00
Antonio Scandurra
6f120de1a6
Bring back the visible row range API
2015-09-23 18:52:04 +02:00
Antonio Scandurra
91ef57ed29
Merge branch 'master' into as-display-buffer-logical-coordinates
...
# Conflicts:
# src/display-buffer.coffee
2015-09-23 18:46:16 +02:00
Antonio Scandurra
2112b0a302
🔥 Remove unused method
2015-09-23 17:49:41 +02:00
Antonio Scandurra
b198acc995
Fix soft wrapping when editorWidthInChars is used
2015-09-23 15:34:44 +02:00
Luke Pommersheim
1b07093cff
update comments
2015-09-23 11:01:49 +02:00
Luke Pommersheim
6697693d57
Merge remote-tracking branch 'upstream/master' into move-lines-up-and-down-with-multiple-selections
2015-09-23 08:38:37 +02:00
Nathan Sobo
04bda33c10
Don’t use Serializable mixin in TextEditor
2015-09-22 10:37:15 -06:00
Nathan Sobo
e5e79983b6
Fix typo
2015-09-22 10:37:15 -06:00
Nathan Sobo
d4afe881e9
Remove delegato dependency
2015-09-22 10:37:14 -06:00
Nathan Sobo
78cdd7cb6e
🔥 Remove theorist and TextEditor deprecations
2015-09-22 10:37:13 -06:00
Antonio Scandurra
b5a59017d5
wip
2015-09-22 16:20:15 +02:00
Ivan Žužak
abf6d40cc4
Merge pull request #8828 from atom/iz-cut-to-end-of-buffer-line
...
Add command for cutting text to the end of the cursor's buffer line
2015-09-20 10:45:45 +02:00
Nathan Sobo
c7ecad5576
Remove EditorView
2015-09-18 20:48:45 -06:00
Ivan Zuzak
7e1a295f07
Add method for cutting text to the end of the buffer line
2015-09-17 19:34:53 +02:00