Commit Graph

43 Commits

Author SHA1 Message Date
Max Brunsfeld
140a783011 Start work on switching to new language mode API 2017-11-03 00:12:33 -07:00
Indrek Ardel
0511c0ae4a Remove unused argument 2017-10-23 04:11:23 +03:00
Max Brunsfeld
345e236d86 Fix toggleLineCommentsForBufferRows 2017-09-25 09:52:15 -07:00
wpowell-oss
0b55d4e144 maxScreenLineLength rebased to github 2017-09-12 14:38:29 +12:00
wpowell-oss
f2bb941a51 Rebase to github/master 2017-09-12 13:58:26 +12:00
Warren Powell
ce99d401c2 Enables MAX_SCREEN_LINE_LENGTH to now be set via a config option in editor settings. Defaults to 500 2017-09-12 13:58:26 +12:00
Matthew Brener
11c06d44b8 Fix typo in comments of text-editor-registry.js 2017-03-26 19:46:43 +11:00
Antonio Scandurra
264ff4a865 Merge branch 'master' into as-ns-startup-snapshot 2017-02-23 10:01:52 +01:00
Andres Suarez
1ee9d7b0f9 Add showCursorOnSelection config 2017-01-20 08:53:28 -05:00
Antonio Scandurra
3514adfe4e Import Point and Range from text-buffer 2016-11-15 11:01:51 +01:00
Antonio Scandurra
18ddcf902b Statically assign a clipboard instance to the TextEditor class 2016-10-07 18:21:09 +02:00
Max Brunsfeld
e6cac10a23 Always return Disposable from maintain{Config,Grammar} 2016-10-05 12:03:53 -07:00
Damien Guard
9451ca0254 Fix show/hide line numbers in editor 2016-08-30 13:20:17 -07:00
Antonio Scandurra
880328bf6e Fix lint errors 2016-08-29 10:40:07 +02:00
Max Brunsfeld
c5a6e9c697 Merge branch 'master' into ns-mb-detangle-editor 2016-08-16 09:11:11 -07:00
Max Brunsfeld
4bcdbf4d2f Don't have registry update any editors before initial packages are loaded 2016-08-15 15:29:27 -07:00
Max Brunsfeld
09d232ba41 Introduce TextEditorRegistry::build
This way, we can construct text editors with the right parameters from the start
2016-08-12 12:21:51 -07:00
Max Brunsfeld
ce379d4c9e Clear destroyed editor ids from TextEditorRegistry's grammar overrides 2016-08-11 16:48:58 -07:00
Max Brunsfeld
fc16eeadca Use TextEditor::update in TextEditorRegistry 2016-08-11 14:09:17 -07:00
Max Brunsfeld
e8c834e483 Serialize & deserialize the TextEditorRegistry in AtomEnvironment 2016-08-08 15:38:17 -07:00
Max Brunsfeld
2f950b197f 📝 Document (and reorder) public TextEditorRegistry methods 2016-08-08 15:13:27 -07:00
Max Brunsfeld
53574288ae Fix editor leaks in TextEditorRegistry 2016-08-08 15:02:01 -07:00
Max Brunsfeld
eb9d89f8c8 Observe grammar changes on editors in maintainConfig 2016-08-08 12:10:56 -07:00
Max Brunsfeld
ee2e18737e Fix maintenance of grammars for copied editors 2016-08-08 11:17:30 -07:00
Max Brunsfeld
0a924a9e2f Hook TextEditorRegistry to editors created by splitting panes 2016-08-03 10:58:11 -07:00
Max Brunsfeld
e2e245aca1 Make TextEditorRegistry.setGrammarOverride take a scope name
Also, clear the stored grammar score for that editor when setting an override.
2016-07-29 13:40:29 -07:00
Max Brunsfeld
ab30ecf994 Manage scroll sensitivity setting in TextEditorRegistry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 15:39:03 -07:00
Max Brunsfeld
e6c83521c9 Move grammar serialization logic to TextEditorRegistry 2016-07-27 13:10:23 -07:00
Max Brunsfeld
a44d5833a8 Move grammar override logic into TextEditorRegistry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-26 15:00:20 -07:00
Max Brunsfeld
20b54505f3 Move logic for assigning grammars to editors into TextEditorRegistry 2016-07-26 10:50:57 -07:00
Max Brunsfeld
4eb2f6631a 👕 Fix lint errors 2016-07-15 13:32:23 -07:00
Max Brunsfeld
5adb087ab1 Move config handling out of LanguageMode 2016-07-12 14:19:35 -07:00
Max Brunsfeld
58ec44f8ec Move handling of nonWordCharacters setting into TextEditorRegistry 2016-07-12 11:30:41 -07:00
Max Brunsfeld
5167dbca6f Move handling of undoGroupingInterval to TextEditorRegistry 2016-07-11 17:47:40 -07:00
Max Brunsfeld
9ab474a673 Move handling of scrollPastEnd setting to TextEditorRegistry 2016-07-11 17:41:06 -07:00
Max Brunsfeld
7a50aa9f9f Move handling of auto indent settings to TextEditorRegistry 2016-07-11 17:37:51 -07:00
Max Brunsfeld
6f764f86cf Move handling of backUpBeforeSaving to TextEditorRegistry 2016-07-11 17:16:41 -07:00
Max Brunsfeld
1ecc61bebf 🐎 Avoid building unnecessary scope chains 2016-07-11 13:51:08 -07:00
Max Brunsfeld
d70c8d029b Use local config reference in TextEditorRegistry 2016-07-11 13:20:13 -07:00
Max Brunsfeld
5acab853cd Remove all config observation from text editor 2016-07-11 12:43:18 -07:00
Max Brunsfeld
d91895961e Move more config observation out of text editor 2016-07-08 17:54:24 -07:00
Max Brunsfeld
eec1b70967 Start moving config observation out of editor into editor registry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-08 17:41:59 -07:00
Nathan Sobo
a5613cd7e4 Convert text-editor-registry and tests to JS
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-07-06 12:54:30 -06:00