Commit Graph

14990 Commits

Author SHA1 Message Date
Max Brunsfeld
e2e245aca1 Make TextEditorRegistry.setGrammarOverride take a scope name
Also, clear the stored grammar score for that editor when setting an override.
2016-07-29 13:40:29 -07:00
Antonio Scandurra
fd94acc2e8 Delete RowMap and its specs
After transitioning to `DisplayLayer` we don't need this object anymore.
2016-07-29 17:12:44 +02:00
Nathan Sobo
b256a1450a Remove grammars from TextEditorElement.initialize 2016-07-28 15:48:22 -06:00
Max Brunsfeld
16c80f6eaf WIP - add local null grammar 2016-07-28 14:47:26 -07:00
Max Brunsfeld
f1a302a139 Merge branch 'master' into ns-mb-detangle-editor 2016-07-28 10:33:23 -07:00
Max Brunsfeld
f48165deaf 🔥 Unused workspace parameter in TextEditorComponent 2016-07-28 10:07:53 -07:00
Max Brunsfeld
36ecbd4ca4 🔥 Unused grammar registry parameter in TextEditorComponent 2016-07-28 10:06:42 -07:00
Max Brunsfeld
738a2b90dc 🔥 useShadowDOM setting 2016-07-28 10:02:16 -07:00
Max Brunsfeld
e1f8a72995 Move ctrl-mousewheel handling out of TextEditorComponent
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 16:02:24 -07:00
Max Brunsfeld
ab30ecf994 Manage scroll sensitivity setting in TextEditorRegistry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 15:39:03 -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
4c03cb39de 🔥 Unused method
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 15:35:53 -07:00
Max Brunsfeld
1c38dce3b2 Don't use font config settings in TextEditorComponent
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-27 15:23:59 -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
Nathan Sobo
7c79a5b973 Fix regression where spacebar scrolled elements containing editors
/cc @hellendag
2016-07-27 14:58:11 -06:00
Max Brunsfeld
e6c83521c9 Move grammar serialization logic to TextEditorRegistry 2016-07-27 13:10:23 -07:00
Antonio Scandurra
9ad9a96b34 Copy comments 2016-07-27 15:09:08 +02:00
Antonio Scandurra
ccccafd4ea 🎨 2016-07-27 15:01:50 +02:00
Antonio Scandurra
4fc049461c var -> const 2016-07-27 14:59:24 +02:00
Antonio Scandurra
e4946a1892 Make Atom executable as a standard Electron app 2016-07-27 14:58:23 +02:00
Max Brunsfeld
dfb48aa8da Get TextEditorComponent specs passing
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-26 16:04:09 -07:00
Max Brunsfeld
d203610986 Set grammar manually in tokenized buffer specs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-26 15:08:59 -07:00
Max Brunsfeld
a44d5833a8 Move grammar override logic into TextEditorRegistry
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-26 15:00:20 -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
20b54505f3 Move logic for assigning grammars to editors into TextEditorRegistry 2016-07-26 10:50:57 -07:00
Damien Guard
8550fe028b New crashreporter URL to prevent warnings 2016-07-26 09:10:43 -07:00
Andres Suarez
d7378f0d6a Cleanup activationHookSubscriptions when deactivating package
Released under CC0.
2016-07-25 22:45:43 -07:00
Damien Guard
7e006cde87 Merge pull request #12230 from atom/dg-do-not-autosubmit-crash-reporter
Disable autosubmit of crash reporter
2016-07-25 11:37:56 -07:00
Max Brunsfeld
920f62a76a Merge pull request #11216 from ypresto/speedup-config-setdefaults
🐎 wrap loop of config.setDefaults() in transact()
2016-07-25 10:29:35 -07:00
Damien Guard
9199b7ffa9 Disable autosubmit of crash reporter 2016-07-25 09:22:25 -07:00
Yuya Tanaka
b66d1acb02 🐎 Skip require from settings view if configSchema 2016-07-25 07:51:11 +09:00
Yuya Tanaka
71e7d32916 🐎 Transact setSchema config changes 2016-07-25 07:49:04 +09:00
Damien Guard
7fa77bc011 Revert Crash Reporter URL endpoint back to correct one 2016-07-20 16:26:56 -07:00
Damien Guard
0648e4fce1 Run Crash Reporter on both UI & non-UI threads 2016-07-20 16:25:14 -07:00
Damien Guard
177c48dd11 Merge pull request #12123 from atom/windows-system-settings
Windows shell integration system settings
2016-07-19 17:23:02 -07:00
Damien Guard
2fb0d68be8 Blank lines and for x in y syntax from review 2016-07-19 16:33:29 -07:00
Damien Guard
23dfa392c9 Fix up Squirrel specs 2016-07-18 22:56:02 -07:00
Damien Guard
1610bcedb1 Ensure install & upgrade fix up previous shell paths 2016-07-17 22:42:08 -07:00
Max Brunsfeld
4eb2f6631a 👕 Fix lint errors 2016-07-15 13:32:23 -07:00
Max Brunsfeld
4ad801b216 Merge branch 'master' into ns-mb-detangle-editor 2016-07-15 09:39:32 -07:00
Max Brunsfeld
678d5b4c24 Remove usage of repository.async in Workspace
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-13 15:41:10 -07:00
Max Brunsfeld
a973e1ae9e Put back GitRepository::isDestroyed() method 2016-07-13 14:04:58 -07:00
Max Brunsfeld
58e7892492 Remove GitRepositoryAsync
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-13 14:03:29 -07:00
Max Brunsfeld
7b11c31e07 Remove synchronous GitRepository's dependency on GitRepositoryAsync
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-07-13 14:02:05 -07:00
Philipp Brumm
76357473ad call setSheetOffset on onDidChangeActiveThemes 2016-07-13 14:59:37 +02:00
Lee Dohm
d922d182f3 Merge pull request #12158 from atom/update-12086
Improve incompatible native module error message
2016-07-12 17:18:23 -07:00
Lee Dohm
9f6f903592 Add enhanced wording @thomasjo recommended 2016-07-12 15:31:49 -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