Max Brunsfeld
822900f40e
Decaffeinate AtomWindow
2018-01-05 12:11:10 -08:00
Max Brunsfeld
043f183b1a
Decaffeinate AtomApplication
2018-01-05 09:05:02 -08:00
Max Brunsfeld
75b4a7a984
⬆️ joanna, put back AtomEnvironment public property docs
2018-01-04 12:12:43 -08:00
Tobias V. Langhoff
d848c15d42
Fix typo in protocol handler installer popup
...
Correct the typo "defaut" to the correct "default" in the atom:// URI protocol handler popup
2018-01-04 19:36:21 +01:00
Nathan Sobo
5743c41e03
Merge pull request #16282 from atom/io-electron-1.7
...
Upgrade electron to 1.7.10
2018-01-03 16:19:20 -07:00
Max Brunsfeld
733d6381cc
Fix handling of {undo: 'skip'} in TextEditor.insertText
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2018-01-03 13:00:53 -08:00
Morten Piibeleht
1964b0094b
Make socketPath shorter
...
To work around the limited socket file length on macOS/BSD.
2017-12-28 13:06:52 +13:00
Morten Piibeleht
2b3e22a39d
Allow independent Atom instances
...
By having an $ATOM_HOME-dependent part in the socket name, Atom
instances that have different homes will run in independent processes.
Fixes the current behaviour where starting Atom with a new $ATOM_HOME
"opens" an Atom window with settings and packages from the original
$ATOM_HOME. Useful for IDEs.
2017-12-28 13:02:25 +13:00
Max Brunsfeld
3482f8fe6f
Merge pull request #16455 from fordhurley/fix-unique-editor-ids
...
Ensure that new editors get unique ids
2017-12-27 14:43:40 -08:00
Max Brunsfeld
798bbe3c32
Revert "Independent Atom instances (per $ATOM_HOME)"
2017-12-27 13:35:01 -08:00
Ford Hurley
b5189e4e4a
Delint
2017-12-27 15:16:13 -05:00
Ford Hurley
f96a0d922e
Ensure that new editors get unique ids
...
This restores the behavior from when TextEditor was written in
coffeescript, and extended the Model class.
2017-12-27 13:42:40 -05:00
Mark Lee
2c2d9597a7
💚 remove trailing whitespace from text editor docs
2017-12-24 12:10:29 -08:00
Antonio Scandurra
69799d35b2
Delete Chrome 56 workarounds
2017-12-22 14:44:17 +01:00
Antonio Scandurra
8b3c3bcfcf
Loosen containment rules on dummy scrollbar elements
...
This commit uses `content` containment (i.e. `layout paint style`) as
opposed to `strict` containment (i.e. `layout paint style size`) for
dummy scrollbar elements.
By removing `size` containment we are fixing a rendering bug that was
preventing the scrollbar from being sized correctly. This problem was
caught by a TextEditorComponent test
(https://circleci.com/gh/atom/atom/6393 ).
2017-12-22 14:29:22 +01:00
Antonio Scandurra
645252e0c2
👕 Fix linter error
2017-12-22 14:13:51 +01:00
Antonio Scandurra
c05615b8f8
Fix WorkspaceElement tests
2017-12-22 12:13:39 +01:00
Antonio Scandurra
011766768a
Fix AtomEnvironment tests
2017-12-22 12:05:03 +01:00
Wliu
4ed59b3ee7
📝 Update TextEditor::scopeDescriptorForBufferPosition docs
...
[ci skip]
2017-12-21 21:20:31 -05:00
Wliu
1d6549a8e3
Merge pull request #16328 from atom/wl-right-click-selections
...
Update auxiliary click logic for moving cursors
2017-12-21 12:18:41 -05:00
Damien Guard
016c321bba
Merge pull request #15081 from mortenpi/multiple-instances
...
Independent Atom instances (per $ATOM_HOME)
2017-12-17 16:52:20 -08:00
Segev Finer
5490a8b258
Initialize ProtocolHandlerInstaller after initializing Config
...
This allows it to correctly read `core.uriHandlerRegistration` and
avoids popping the notification even if set to 'never'.
Fixes #16201
2017-12-16 23:34:37 +02:00
Katrina Uychaco
2d6750cae3
Remove input enabled check for 'is-focused' class
...
vim-mode-plus relies on this behavior
2017-12-14 11:56:23 +01:00
Damien Guard
ca53cf9ec1
Remove the texteditor isModified/isReadOnly handling intended for unsavable edit buffers as causes issues with vim-mode-plus
2017-12-13 09:17:30 -08:00
Max Brunsfeld
e669152841
Merge pull request #16074 from UziTech/patch-4
...
Make notifications.clear public and emit event
2017-12-08 14:20:33 -08:00
GilTeixeira
2369219c87
Changed atom safe mode theme to One Dark.
2017-12-07 16:53:38 +00:00
Wliu
db392502e4
Always move the cursor on middle-click
2017-12-05 23:54:43 +01:00
Wliu
69214dc26a
On clicks, only move cursor if there is one cursor without a selection
2017-12-05 23:11:45 +01:00
Katrina Uychaco
b3cee41f28
Merge remote-tracking branch 'origin/master' into ku-add-readonly-editor-attribute
2017-12-05 14:02:39 -08:00
Damien Guard
70e773fa7b
Ensure read-only text editors are not considered 'modified'. Also clear read-only flag on successful save.
2017-12-04 13:12:08 -08:00
Justin Ratner
d4dd08da22
Use buildIndentString method instead of hard-coding spaces
2017-12-04 12:51:01 -07:00
Max Brunsfeld
6e2ac3548f
Ensure that all opened editors' buffers are added to the project
...
Assigning a language mode happens when adding a buffer to the project,
so we need to guarantee this happens to all buffers used by visible editors.
2017-12-01 09:58:19 -08:00
Max Brunsfeld
c4b38c615f
Fix misplaced default chunkSize property
2017-11-29 13:10:00 -08:00
Max Brunsfeld
1a1ee134cf
Merge pull request #16297 from atom/mb-remove-grammar-registry-inheritance
...
Remove GrammarRegistry's inheritance from first-mate's GrammarRegistry
2017-11-29 12:26:02 -08:00
Max Brunsfeld
3053069ab1
Merge pull request #16199 from atom/mb-decaffeinate-package
...
Convert Package to JS
2017-11-29 11:45:39 -08:00
Max Brunsfeld
515ed5602e
Add a shim for the GrammarRegistry.grammars property
2017-11-29 11:23:56 -08:00
Max Brunsfeld
1af6da0b76
Don't use underscore in Package
2017-11-29 11:08:54 -08:00
Max Brunsfeld
9006d05d4f
Remove GrammarRegistry's inheritance from first-mate's registry
2017-11-29 10:36:49 -08:00
Katrina Uychaco
a993742f7f
👕 🔥 semicolon
2017-11-28 22:06:33 -08:00
Katrina Uychaco
aeb9af63df
Store readOnly state on the TextEditor model
2017-11-28 21:14:40 -08:00
Katrina Uychaco
909caa2a59
Add 'readonly' attribute to <atom-text-editor> element
2017-11-28 20:01:31 -08:00
Max Brunsfeld
607ed74e7b
Rename TokenizedBuffer to TextMateLanguageMode
2017-11-28 16:57:06 -08:00
Max Brunsfeld
61ac366491
Replace TokenizedBuffer.setVisible with simpler .startTokenizing
...
We will still wait to tokenize a buffer until it is visible in *some*
tab, but we no longer enable and disable tokenization as different
editors become visible.
2017-11-28 12:12:40 -08:00
Max Brunsfeld
e08091f193
Make assignLanguageMode take a language id instead of a language name
2017-11-28 11:14:29 -08:00
Max Brunsfeld
bffdeb461f
Remove handling of old grammarOverridesByPath serialization key
2017-11-27 09:36:43 -08:00
Max Brunsfeld
d1468fddd9
Implement .setGrammar in terms of .setLanguageMode
2017-11-22 16:27:29 -08:00
Max Brunsfeld
59ed55e898
Don't deprecate old TextEditorRegistry methods yet
2017-11-22 16:11:39 -08:00
Max Brunsfeld
af8848fb86
Document new GrammarRegistry methods
2017-11-22 15:53:13 -08:00
Max Brunsfeld
4810d13094
Fix memory leak in .maintainLanguageMode
2017-11-22 11:41:55 -08:00
Max Brunsfeld
cbdae916dd
Don't deprecate setGrammar yet
2017-11-22 11:18:09 -08:00