Max Brunsfeld
43f34f73da
Supply missing softWrapHangingIndent parameter to display layer
2016-08-02 16:20:23 -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
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
Antonio Scandurra
7f77c67761
🔥 preserveFolds from marker's properties
2016-04-15 15:40:22 +02:00
Antonio Scandurra
bbef0b4551
💚
2016-04-14 11:19:45 +02:00
Antonio Scandurra
6b2bfd5656
Merge branch 'master' into ns-switch-to-display-layers
2016-04-11 13:15:00 +02: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
Antonio Scandurra
ab0d69ce90
Make selectionsMarkerLayer also persistent
2016-04-09 09:50:12 +02:00
Nathan Sobo
effe882a8d
Make atomic leading whitespace optional (defaults to enabled)
...
Closes #3174
2016-04-08 15:31:01 -06:00
Nathan Sobo
5e5cea9600
Drop “experimental” warnings from marker layer APIs
2016-04-08 10:25:25 -06:00
Nathan Sobo
37bfbe8538
Document return value correctly
2016-04-08 10:23:01 -06:00
Nathan Sobo
e587a67f3b
Document persistent option in TextEditor::addMarkerLayer
2016-04-08 10:22:50 -06:00
Antonio Scandurra
c23ef9a168
Stop using tokenizedLineForScreenRow in random-editor-spec.coffee
2016-04-07 13:54:29 +02:00
Antonio Scandurra
e236b8c3be
Avoid storing properties in selection markers
...
Previously we were storing a {type: ‘selection’} property, probably
leftover from the “pre-marker-layer” world. We were also storing
`Selection`’s `goalScreenRange` on the marker, which is now just an
instance variable.
2016-04-06 20:00:08 +02:00
Antonio Scandurra
c2396396a5
📝 Update documentation for mark*Position
2016-04-06 19:20:05 +02:00