Commit Graph

14714 Commits

Author SHA1 Message Date
Max Brunsfeld
65f385c0a4 Don't reset editor's display layer when setting identical invisibles 2016-08-12 12:21:03 -07:00
Max Brunsfeld
f7baed515b Maintain grammar before maintaining config 2016-08-11 17:59:27 -07:00
Max Brunsfeld
ce379d4c9e Clear destroyed editor ids from TextEditorRegistry's grammar overrides 2016-08-11 16:48:58 -07:00
Max Brunsfeld
0a1834079f Rename getSoftWrapIndentLength -> getSoftWrapHangingIndentLength 2016-08-11 16:38:34 -07:00
Max Brunsfeld
684952458f Remove new TextEditor setters; just use update 2016-08-11 15:34:54 -07:00
Max Brunsfeld
fc16eeadca Use TextEditor::update in TextEditorRegistry 2016-08-11 14:09:17 -07:00
Max Brunsfeld
ef94a940a9 Make the TextEditor setters call update() 2016-08-11 13:52:57 -07:00
Max Brunsfeld
fb6b463818 Remove duplicate scrollPastEnd setter and getter 2016-08-11 12:14:11 -07:00
Max Brunsfeld
0c7750f560 🔥 ignoreInvisibles parameter to TextEditor
Now that the TextEditor doesn't depend on atom.config, showInvisibles
can always be configured independently of the config
2016-08-11 11:41:11 -07:00
Max Brunsfeld
11463ef00b Merge remote-tracking branch 'origin/as-introduce-editor-update' into ns-mb-detangle-editor 2016-08-11 11:36:48 -07:00
Max Brunsfeld
ea50d4fe8c 🚱 Fix leak in Workspace::buildTextEditor 2016-08-10 13:57:04 -07:00
Max Brunsfeld
6d4e0f9b0a 🚱 Stop maintaining destroyed editors' grammar and config 2016-08-10 13:54:37 -07:00
Max Brunsfeld
09b1d402d5 📝 Fix typo in setAutoIndent{,OnPaste} docs 2016-08-10 13:28:06 -07:00
Max Brunsfeld
38849474d0 Merge branch 'master' into ns-mb-detangle-editor 2016-08-10 13:23:32 -07:00
Antonio Scandurra
23f421154e Delete TokenizedBuffer.prototype.onDidChange
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-10 17:52:49 +02:00
Antonio Scandurra
6ae263aed4 Register text decoration layer when initializing TokenizedBuffer 2016-08-10 11:47:07 +02:00
Max Brunsfeld
5d24bcf19e Merge pull request #12237 from zertosh/cleanup-activation-hook-subscrtiptions
Cleanup activationHookSubscriptions when deactivating package
2016-08-09 17:08:49 -07:00
Max Brunsfeld
b97f317cd1 Remove fallbacks for scoped properties in TextEditor
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-09 15:20:00 -07:00
Max Brunsfeld
29096bde31 Don't update ATOM_HOME env var after launch
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-09 14:38:19 -07:00
Max Brunsfeld
3103682efd Bypass aliases when running env shell command 2016-08-09 14:25:25 -07:00
Nathan Sobo
e6514bf3d8 Merge pull request #12377 from atom/ns-stringify-temp-window-state
Stringify/parse temporary window state to avoid nulling out references
2016-08-09 15:20:30 -06:00
Nathan Sobo
dfc0910023 Stringify/parse temporary window state to avoid nulling out references
If the object passed via IPC contains any keys of the same reference,
all but one of these keys will be nulled out. Converting to/from a
string avoids this problem.
2016-08-09 14:43:38 -06:00
Max Brunsfeld
16a22b9f28 Merge branch 'master' into ns-mb-detangle-editor 2016-08-09 13:36:46 -07:00
Max Brunsfeld
52af31c511 Trigger grammar-used hooks no matter how text editors are created 2016-08-09 12:04:01 -07:00
Max Brunsfeld
2c506840a5 📝 Document new editor configuration methods 2016-08-09 11:14:12 -07:00
Max Brunsfeld
7035368c33 Merge branch 'master' into ns-mb-detangle-editor 2016-08-09 09:40:57 -07:00
Damien Guard
bbaf5f56b2 Merge pull request #12281 from atom/telemetry-consent
Add telemetry consent setting
2016-08-09 07:53:18 -07:00
Max Brunsfeld
5d83874725 Merge branch 'master' into ns-mb-detangle-editor 2016-08-08 15:39:24 -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
c66435fa6d Remove duplicate subscription to added pane items in Workspace 2016-08-08 13:45:27 -07:00
Max Brunsfeld
eb9d89f8c8 Observe grammar changes on editors in maintainConfig 2016-08-08 12:10:56 -07:00
Max Brunsfeld
aa3a38fc27 Merge pull request #12350 from atom/mq-js-exports
Rewrite exports/atom.coffee as JS
2016-08-08 12:04:34 -07:00
Max Brunsfeld
ee2e18737e Fix maintenance of grammars for copied editors 2016-08-08 11:17:30 -07:00
Antonio Scandurra
4b6f09cd10 Assert that all buffer events are processed sequentially
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-08 18:41:20 +02:00
Antonio Scandurra
94b4709db1 Store last buffer change event id on TokenizedBuffer
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-08-08 18:09:28 +02:00
Machiste Quintana
ab9a2a92c8 Rewrite exports/atom.coffee as JS 2016-08-06 17:20:46 -07:00
Zirro
99b19aa05e 🎨 Remove duplicate "Note:" 2016-08-06 20:21:26 +02:00
Nathan Sobo
21de77b739 Merge pull request #12346 from atom/ns-fix-repository-status-updates
Avoid passing paths outside of repository to git status subprocesses
2016-08-06 08:30:46 -06:00
Nathan Sobo
520a4a7db0 Merge pull request #12327 from Zirro/custom-title-bar-double-click
Handle double-click on custom title bar
2016-08-06 08:29:53 -06:00
Nathan Sobo
d8a54c9a38 Fix another path reassignment 😬 2016-08-06 08:10:17 -06:00
Nathan Sobo
ca76302b35 Fix reassignment of path variable. Grrrrr CoffeeScript. 2016-08-06 07:09:43 -06:00
Nathan Sobo
cd8e4eb43e Avoid passing paths outside of repository to status subprocess 2016-08-06 07:00:24 -06:00
Zirro
04b8bd03ae Introduce a non-explicit getUserDefault-method 2016-08-05 21:40:34 +02:00
Max Brunsfeld
1f34a8950a Don't use config for softWrapHangingIndent 2016-08-05 09:53:22 -07:00
Max Brunsfeld
ddfb124cb8 Merge branch 'master' into ns-mb-detangle-editor 2016-08-05 09:39:43 -07:00
Yuya Tanaka
1ce2f6ce87 🐛 Fix window size is not updated on resize 2016-08-05 11:56:01 +09:00
Max Brunsfeld
c0e94aac5e Handle null env load setting 2016-08-04 15:54:15 -07:00
Zirro
24befe2454 Handle double-click on custom title bar 2016-08-04 23:11:22 +02:00