Nathan Sobo
3bbeb9e680
Merge remote-tracking branch 'origin/master' into ns-switch-to-display-layers
2016-04-19 15:30:00 -06:00
Lee Dohm
d25347d78f
Merge pull request #11463 from alazaro/skip-env-patching-fish
...
Fixes #11190
2016-04-18 13:32:49 -07:00
Michelle Tilley
b2aad098e1
Correctly autoindent \r\n in Selection#insertText
2016-04-18 11:06:51 -07:00
Antonio Scandurra
c002d5d6ac
Merge branch 'master' into ns-switch-to-display-layers
2016-04-17 10:06:16 +02:00
Michelle Tilley
e41b9f00fb
Correctly autoindent single newline in Selection#insertText
2016-04-15 21:23:28 -07:00
Lee Dohm
6d80dfe228
Make the clone function more generic
2016-04-15 12:59:57 -07:00
Lee Dohm
9b8cb23757
Preserve the process.env magic for Windows
2016-04-15 10:49:30 -07:00
Antonio Scandurra
fd483cb918
Fix deprecation
2016-04-15 17:45:04 +02:00
Antonio Scandurra
7eba972f39
Merge branch 'master' into ns-switch-to-display-layers
2016-04-15 17:39:15 +02:00
Antonio Scandurra
7f77c67761
🔥 preserveFolds from marker's properties
2016-04-15 15:40:22 +02:00
Michelle Tilley
c95412b451
Add ELECTRON_NO_ATTACH_CONSOLE in BufferedNodeProcess
...
(cherry picked from commit 5f0ad9e015 )
2016-04-14 14:42:50 -07:00
Álvaro Lázaro Gallego
04ff6e4611
Fixes #4126 for fish-shell
2016-04-14 16:23:18 +02:00
Antonio Scandurra
bbef0b4551
💚
2016-04-14 11:19:45 +02:00
Antonio Scandurra
581dd45418
Merge branch 'master' into ns-switch-to-display-layers
2016-04-13 13:54:13 +02:00
Katrina Uychaco
49fb287592
Don't load packages starting with dot. Fixes #9805
2016-04-12 20:35:30 -07:00
Damien Guard
db31d795e8
Merge pull request #11437 from atom/dg-command-autorun-ignore
...
Ignore autorun on our buffered process commands. Fixes #10082
2016-04-12 12:04:25 -07:00
Damien Guard
2d173911b2
Ignore autorun on our buffered process commands. Fixes #10082
2016-04-12 12:02:20 -07:00
Joe Fitzgerald
82fa61e54d
Allow Multiple Launches Of Atom To Result In An Updated Environment
2016-04-12 11:29:33 -06:00
joshaber
041906cdae
Update nodegit API usage.
...
This changed in https://github.com/nodegit/nodegit/pull/968 .
2016-04-11 11:42:21 -04: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
99ede51e75
Delete duplicated method
2016-04-08 18:16:28 -06:00
Nathan Sobo
effe882a8d
Make atomic leading whitespace optional (defaults to enabled)
...
Closes #3174
2016-04-08 15:31:01 -06:00
Nathan Sobo
be05071462
Merge remote-tracking branch 'origin/master' into ns-use-display-layers
2016-04-08 15:18:44 -06:00
joshaber
14afb49676
Use #index instead of #openIndex.
...
#openIndex is going away: https://github.com/nodegit/nodegit/pull/989
2016-04-08 15:58:23 -04: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
joshaber
991e4e396a
Merge branch 'master' into fix-reading-cached-status-from-within-callback
2016-04-07 11:34:12 -04:00
joshaber
130c400758
Remove unnecessary fat arrow.
...
Looks like this was introduced in https://github.com/atom/atom/pull/11369 .
🙈
2016-04-07 11:25:00 -04:00
joshaber
db8e62315c
Defer the callback to the next tick.
...
This gives GitRepository the chance to clear its path cache before the callback
is invoked. Otherwise reads from the cached status state within the callback
would be wrong.
2016-04-07 11:19:27 -04:00
Antonio Scandurra
c23ef9a168
Stop using tokenizedLineForScreenRow in random-editor-spec.coffee
2016-04-07 13:54:29 +02:00
Antonio Scandurra
a532000af4
Handle only buffer coordinates in TokenIterator
2016-04-07 13:39:13 +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
Antonio Scandurra
4f28f9f3f8
🔥 Remove defensive assertion
...
We're not throwing this exception anywhere else, so we might as well delete it
from here.
/cc: @nathansobo
2016-04-06 15:48:44 +02:00
Antonio Scandurra
ffd3b1829d
Provide deprecation warnings for clipScreenPosition parameters
...
Based on a cursory search, there’s only one package using that API. Even though
we could submit a PR, we’re introducing deprecations to ensure we're not missing
any other package.
2016-04-06 15:42:53 +02:00
Antonio Scandurra
25b71b804d
Un-document passing clip options to setCursorBufferPosition
...
…the marker’s screen position will be clipped automatically when
translating coordinates.
2016-04-06 14:44:26 +02:00
Antonio Scandurra
3ec1027d5c
Remove clipDirection parameter in a call to cursor.setBufferPosition
...
We aren’t clipping in that code path, so we might as well avoid to pass
the parameter.
2016-04-06 14:38:53 +02:00
Antonio Scandurra
00f03fd614
📝 Document {clipDirection: 'closest'}
2016-04-06 14:21:06 +02:00
Antonio Scandurra
66b9383c4e
Use clipDirection instead of the clip option
2016-04-06 14:20:27 +02:00
Nathan Sobo
af28fa0752
When copying, create selections marker layer on the *new* display layer
...
Previously, we were copying the selections marker layer into the current
editor’s display layer. This would work fine until the spatial mapping
drifted in the copied editor, and would then have counterintuitive
results.
2016-04-05 18:47:11 -06:00
Nathan Sobo
b922262871
Avoid internal deprecation warning on getHeight
2016-04-05 17:18:24 -06:00
Nathan Sobo
85ab86df10
Merge branch 'master' into ns-use-display-layers
2016-04-05 16:40:41 -06:00
Nathan Sobo
a790ae2158
Avoid deprecation warnings for methods that are now on TextEditor
2016-04-05 12:12:14 -06:00
Nathan Sobo
117a3fb1b5
Provide deprecated TextEditor.prototype.displayBuffer shim
...
Even though it was a private field, we used it in some of our packages
and it is widespread enough to warrant some effort to smooth the
transition.
Also, we added a couple methods that were formerly implemented on
DisplayBuffer to TextEditor itself because they were used in packages.
2016-04-05 12:11:55 -06:00
Antonio Scandurra
ebd9e71b0b
Make serialization format backwards/forwards compatible
...
Also, introduce a serialization version so we can drop the compatibility
fallbacks in the future.
2016-04-05 11:27:15 -06:00
Antonio Scandurra
bef7539e34
Refactor DisplayBuffer to DecorationManager
...
This commit moves all the remaining concerns not related to decorations
out of `DisplayBuffer` and into `TextEditor`. This means the
`DisplayBuffer` is now free to be renamed to `DecorationManager`.
2016-04-05 18:43:08 +02:00
Antonio Scandurra
0cf0d6f587
🔥 Remove unused code
...
Now that `DisplayLayer` was fully implemented, we can start deleting those
codepaths in `DisplayBuffer` that are now covered by this new abstraction.
2016-04-05 15:38:52 +02:00