Commit Graph

500 Commits

Author SHA1 Message Date
Max Brunsfeld
ddfb124cb8 Merge branch 'master' into ns-mb-detangle-editor 2016-08-05 09:39:43 -07:00
Max Brunsfeld
43f34f73da Supply missing softWrapHangingIndent parameter to display layer 2016-08-02 16:20:23 -07:00
Max Brunsfeld
63a730253b Don't use config for scrollSensitivity in TextEditorComponent
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 15:35:56 -07:00
Max Brunsfeld
3f8b6138dc Don't use config in TextEditorPresenter
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 14:56:36 -07:00
Max Brunsfeld
3d796df401 Stop using GrammarRegistry in TextEditor 2016-07-27 14:09:17 -07:00
Max Brunsfeld
455d3213ed Return token objects from tokensForScreenRow
Include the text of each token alongside its array of scopes.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-26 12:39:41 -07:00
Max Brunsfeld
c0cbb59666 Don't use config in TokenizedBuffer 2016-07-12 14:31:05 -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
58e0f66a90 Supply default settings in TextEditor 2016-07-11 15:10:42 -07:00
Max Brunsfeld
596cc13f6a Don't use config in TextEditor::getSoftWrapColumn 2016-07-11 13:07:44 -07:00
Max Brunsfeld
eb97c61655 Remove .dispose calls for deleted subscriptions 2016-07-11 13:07:11 -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
8a3d5f8534 Use preferred line length as a *maximum* for soft wrapping
...if the softWrapAtPreferredLineLength config setting is enabled.
2016-06-16 08:42:30 -06:00
Antonio Scandurra
152c28a0e9 Merge branch 'master' into as-file-recovery-service 2016-05-24 10:07:30 +02:00
Lee Dohm
2cfc4ee4e6 Merge pull request #11792 from Connormiha/object-assing-native
replace _.extend in favor of Object.assign
2016-05-23 16:01:27 -07:00
Antonio Scandurra
ef3ab03d28 Emit {will,did}SavePath on ipcMain before/after a buffer is saved 2016-05-23 18:37:26 +02:00
Mihail Bodrov
d602655708 replace _.extend in favore of Object.assign 2016-05-20 01:27:27 +03:00
Wliu
945c0c9acf Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-37 2016-05-17 20:18:30 -04:00
Robert Stanfield
f36e148acc When using the event editor:copy-selection, it pastes at the cursor
rather than the beginning of the line (see #11542)
2016-05-15 20:45:45 -04:00
Antonio Scandurra
e3790b8f20 📝 Do not mention persistent option for mark...Range methods 2016-05-06 14:11:47 +02:00
Antonio Scandurra
d06da3f470 Reset display layer when editor.atomicSoftTabs changes 2016-05-05 09:10:36 +02:00
Wliu
02d7bdeaaa Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-37 2016-05-04 15:58:21 -04:00
Antonio Scandurra
3b46d7f50b Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	src/text-editor.coffee
2016-05-04 18:56:45 +02:00
Antonio Scandurra
36bcb542a8 Don't move down a line if it's the last buffer row 2016-05-03 12:58:59 +02:00
Wliu
bb46933d58 Explicitly set mini to false when it isn't passed 2016-05-02 20:08:35 -04:00
joshaber
9adc822822 Mark text editors as being registered. 2016-05-02 11:32:29 -04:00
Antonio Scandurra
1c694df03b Don't show indent guides for mini editors 2016-05-01 11:42:28 +02:00
Antonio Scandurra
02d9245c05 Merge branch 'master' into ns-switch-to-display-layers 2016-04-30 11:10:17 +02:00
joshaber
2f1268dc7c Move copyPathToClipboard to the default commands. 2016-04-28 11:36:17 -04:00
joshaber
76d8421963 Inline the no-op assert. 2016-04-28 09:50:01 -04:00
joshaber
23023a7a3d Merge branch 'master' into dont-require-assert 2016-04-28 09:48:52 -04:00
Antonio Scandurra
ce4b2fa810 Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	src/display-buffer.coffee
#	src/text-editor.coffee
#	src/tokenized-buffer.coffee
2016-04-27 18:16:03 +02:00
joshaber
46c97ee2b2 Provide a default assert implementation if one isn't passed in. 2016-04-26 16:14:25 -04:00
joshaber
e038ff3260 Remove applicationDelegate from TextEditor 2016-04-26 16:04:41 -04:00
joshaber
a7606710c0 Don't need Directory anymore. 2016-04-26 14:55:43 -04:00
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
Antonio Scandurra
f85c72978e Fix wrong implementation in TextEditor.prototype.screenRowForBufferRow 2016-04-26 12:06:41 +02:00
Antonio Scandurra
00ebe6bbbc Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	src/text-editor.coffee
2016-04-26 10:19:39 +02: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