Commit Graph

8618 Commits

Author SHA1 Message Date
Max Brunsfeld
cc8ca52ba1 ⬆️ language-javascript, update test w/ new scope mapping 2018-12-19 09:55:23 -08:00
Max Brunsfeld
be79ca031c Fix typo that messed up fold marker updates 2018-11-27 10:11:32 -08:00
Benjamin Gray
47c0a14517
Adjust cursor scope when at end of line (#18469)
* Use character before newline if possible

* Add tests
2018-11-21 15:20:57 +11:00
Max Brunsfeld
108b232107 Make scopeDescriptorForPosition work correctly between tokens
Fixes atom/bracket-matcher#365
2018-11-08 16:45:48 -08:00
Linus Eriksson
e158dceaf8
Merge pull request #18382 from atom/b3-mb-wildcard-selector
Distinguish between anonymous * token and wildcard selector
2018-11-03 21:42:24 +01:00
Max Brunsfeld
815cd2b2e9 Add randomized test for updating syntax highlighting, fix bugs 2018-11-02 17:02:29 -07:00
Linus Eriksson
f51ea2564b Distinguish between anonymous * token and wildcard selector
Co-authored-by: Max Brunsfeld <maxbrunsfeld@github.com>
2018-11-01 18:47:17 +01:00
Max Brunsfeld
6af0cbfc2d Use the correct comment strings for nested languages 2018-10-25 14:36:44 -07:00
Max Brunsfeld
78cdabf692 Revert tests updates in #17949 2018-10-19 19:29:43 -07:00
Linus Eriksson
ad41476cbe Add tests for synaxTreeScopeDescriptor 2018-10-18 17:49:37 +02:00
ariasuni
81364b6a1c Make soft-wrap break words before a slash or space and after a dash 2018-09-26 14:05:38 +02:00
Ash Wilson
d2c38ac36a
Merge pull request #18087 from atom/aw/gutter-measurement-update
Update soft wrap margins on gutter re-measurement
2018-09-21 15:48:12 -04:00
Ash Wilson
d7d6a33e08
Compute expected soft wrap column 2018-09-21 14:47:44 -04:00
Ash Wilson
39bc295f1c
Test soft wrap column measurement with a custom gutter 2018-09-21 13:14:47 -04:00
Max Brunsfeld
245472734b Allow tree-sitter setting to be set for specific languages 2018-09-21 09:34:13 -07:00
Tilde Ann Thurium
dc1f6a02f3 fix leaked state in tests. 2018-09-13 16:24:46 -07:00
Tilde Ann Thurium
9e6b4b413b add unit tests 2018-09-12 17:02:05 -07:00
Max Brunsfeld
04d29d9ba1 ⬆️ tree-sitter, language-ruby 2018-09-12 11:26:45 -07:00
Max Brunsfeld
0b6876c4c6 Accept a TextMate scope selector in bufferRangeForScopeAtPosition 2018-09-10 20:38:54 -07:00
David Wilson
d0ecc657ce
Merge pull request #17958 from cacheflow/add-capturing-to-keydown-events-when-hiding-tooltips
Fix: Added capturing to keydown events when hiding tooltips
2018-09-06 08:18:56 -07:00
David Wilson
c03ddebaef
Merge pull request #16940 from BoykoAlex/atom-links
Support `atom` protocol links when links are handled
2018-09-06 07:32:49 -07:00
Max Brunsfeld
ba96bbf8f1 Add TreeSitterLanguageMode.tokenForPosition 2018-09-05 09:54:43 -07:00
David Wilson
f5cda2b70b Merge remote-tracking branch 'origin/master' into atom-links 2018-09-05 09:43:06 -07:00
Max Brunsfeld
60c19afca2 Move more textmate-specific tests to TextMateLanguageMode spec 2018-09-04 11:37:30 -07:00
Max Brunsfeld
0db70b7865 Fix up text editor specs 2018-09-04 11:37:30 -07:00
Ashi Krishnan
e4248d13c8 Disable useTreeSitterParsers in the TextMateLanguageMode specs. 2018-09-04 11:37:30 -07:00
Max Brunsfeld
d88ae67a20 Update fixture package to use a tree-sitter grammar 2018-09-04 11:37:30 -07:00
Lexis Alexander
52331786a2 Fix: Added capturing to keydown events when hiding tooltips 2018-08-30 14:11:33 -07:00
Max Brunsfeld
3160c60c00 Always include root scope name in Tree-sitter scope descriptors 2018-08-30 12:30:52 -07:00
Max Brunsfeld
6456f8a032 Update language mode synchronously for multiple synchronous buffer changes 2018-08-30 12:30:34 -07:00
Ash Wilson
e3e315c5e9
Merge branch 'master' of github.com:atom/atom into pr-11139/atom/ld-change-range-event 2018-08-29 15:08:50 -04:00
Stepan Hruda
069d3ec91a
Merge pull request #17873 from atom/fb-sh-close-on-unload
During quit, close unloaded windows
2018-08-27 20:32:26 -04:00
Stepan Hruda
12c4e596b9 During quit, close unloaded windows
Released under CC0.
2018-08-27 19:06:36 -04:00
Max Brunsfeld
5c74112f79
Merge pull request #17913 from captbaritone/race
Avoid serialization race condition with slow package deactivation
2018-08-27 12:59:07 -07:00
Jordan Eldredge
351b624487 Fix unloading serialization test 2018-08-27 10:24:04 -07:00
Max Brunsfeld
51044ce16e Avoid babel in test files that are run in the main process 2018-08-24 12:07:24 -07:00
Max Brunsfeld
467415af19
Merge branch 'master' into wl-rm-safe-clipboard 2018-08-24 11:57:36 -07:00
Max Brunsfeld
4d3a9ec17b Update TextEditorRegistry spec to expect sync updates 2018-08-24 10:37:06 -07:00
Max Brunsfeld
f1f37ee948 Update syntax highlighting synchronously if parsing completes synchronously 2018-08-24 09:34:58 -07:00
Max Brunsfeld
f39ef32545 Delete spurious file 2018-08-24 09:34:58 -07:00
Max Brunsfeld
d1283fa69f Fix TreeSitterLanguageMode.isRowCommented 2018-08-24 09:34:58 -07:00
Ash Wilson
592722d094
Spec for passing additional options to the test window 2018-08-22 10:27:50 -04:00
Ash Wilson
4e150179a9
Merge pull request #17736 from atom/aw/custom-line-number-gutter
Multiple, custom line number gutters
2018-08-21 18:17:31 -04:00
Ash Wilson
e04da46e8a
Quick spec for line number rendering 2018-08-21 16:59:48 -04:00
David Wilson
ad4553cbba
Merge pull request #17686 from atom/dw-repo-local-core-packages
Enable repo-local core packages in the 'packages' folder
2018-08-21 10:08:39 -07:00
Ash Wilson
ddb1dec987
Merge remote-tracking branch 'origin/master' into aw/custom-line-number-gutter 2018-08-21 11:39:47 -04:00
Max Brunsfeld
fd6f9d39bd Make tree-sitter scope descriptors match HTML classes, not syntax tree 2018-08-20 10:40:55 -07:00
Max Brunsfeld
760b38c54b Support a single scope name field on Tree-sitter grammars
* Remove the `legacyScopeName` field
* Remove the legacy scope name concept from the Config class
* Handle tree-sitter grammars and textmate grammars having the same 
scope names
2018-08-20 09:58:37 -07:00
Max Brunsfeld
a01d0a7983 Adjust test to await fewer changes due to tree-sitter async bugfix 2018-08-13 10:15:34 -07:00
Max Brunsfeld
9072e58ea7
Merge pull request #17816 from atom/mb-tree-sitter-grammar-regex-tweaks
Support two different content-matching regexes for tree-sitter grammars
2018-08-10 13:33:24 -07:00