Ash Wilson
8c8426c783
typeof setTimeout isn't enough to probe for snapshot generation
2018-12-21 08:41:09 -05:00
Ash Wilson
b64dac8ea3
👕
2018-12-20 20:51:56 -05:00
Ash Wilson
01bd45ef4c
When only a file is specified, don't open the parent directory
2018-12-20 15:59:41 -05:00
Jordan Eldredge
878629dd0a
Avoid sending async updates on config update
...
In
7a5d727e22
the 'set-user-settings' callback was changed so that it nolonger
returned the promise created by `ConfigFile.update()`. This meant that
the logic in
[`ApplicateDelegate.onDidChangeUserSetting()`](https://github.com/atom/atom/blob/5f0231b/src/application-delegate.js#L193-L206 ) which uses
`.pendingSettingUpdateCount` to avoid triggering in response to calls to
ApplicationDelegate.setUserSettings` was no longer effective.
I noticed this when updating settings via the setting view. If you type
at just the right (wrong?) cadence, you'll notice that your input can
get updated with stale values.
Something like this:
```
You type "a" "b" "c"
config.set "a" "ab" "ac"
config.observe "a" "ab" "ac"
Input value "a" "ab" "a" "ac" "ab" "ac"
```
It's possible that is the same as https://github.com/atom/settings-view/issues/1062
After this change typing in settings input seems to behave as expected.
2018-12-05 14:34:30 -08:00
Max Brunsfeld
be79ca031c
Fix typo that messed up fold marker updates
2018-11-27 10:11:32 -08:00
Benjamin Gray
a3020f74e1
address feedback
2018-11-22 01:59:33 +11:00
Benjamin Gray
0fc11e09f8
Remove exclusive
2018-11-22 01:57:49 +11:00
Benjamin Gray
cc845c3bae
Try new way
2018-11-22 00:56:00 +11:00
Benjamin Gray
6ae7ecbd0a
Fix lint
2018-11-21 19:51:08 +11:00
Benjamin Gray
196b576ca8
Merge branch 'master' of https://github.com/atom/atom into comment-cursor-placement
2018-11-21 16:46:13 +11:00
Benjamin Gray
81bbd9c304
Reimplement toggle comment cursor behaviour (and fix bug)
2018-11-21 16:45:55 +11: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
31a321a7cf
Use new .bufferDidFinishTransaction language mode hook
2018-11-19 22:48:24 -08:00
Max Brunsfeld
f305cfd767
🐎 Avoid duplicate calls to TextBuffer.characterIndexForPosition
2018-11-15 15:55:07 -08:00
Max Brunsfeld
dfea3253e9
Optimize populating Tree-sitter syntax tree injections
2018-11-14 14:21:43 -08:00
Max Brunsfeld
84acf51a30
Optimize tree-sitter HighlightIterator when there are many injections
2018-11-13 23:06:46 -08:00
Max Brunsfeld
108b232107
Make scopeDescriptorForPosition work correctly between tokens
...
Fixes atom/bracket-matcher#365
2018-11-08 16:45:48 -08:00
Max Brunsfeld
32d632ba9e
Fix failure to emit did-change-highlighting event
2018-11-08 12:32:11 -08:00
Max Brunsfeld
231a049bcd
Remove unnecessary variable
2018-11-05 14:01:44 -08:00
Jim Neuendorf
bdb694cd44
fixed doc comment js syntax in project::onDidChangeFiles
2018-11-04 17:04:15 +01: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
8b82138cf5
Require typescript and ruby main files during snapshot
2018-10-30 14:06:00 -07:00
Linus Eriksson
afe17b0382
maintainGrammar -> maintainLanguageMode
2018-10-26 21:44:38 +02:00
Max Brunsfeld
6af0cbfc2d
Use the correct comment strings for nested languages
2018-10-25 14:36:44 -07:00
David Wilson
8239fcdeba
👕
2018-10-19 17:06:01 -07:00
David Wilson
9d320a0964
Don't soft-wrap spaces and '/' to new lines
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2018-10-19 16:35:18 -07:00
Linus Eriksson
5299bb0f97
Simplify syntaxTreeScopeDescriptorForPosition
2018-10-18 18:13:00 +02:00
Linus Eriksson
0e2501d6e4
Rename all the things
2018-10-18 17:48:54 +02:00
Linus Eriksson
67fd0e6349
Add a command to log the syntax tree
2018-10-17 18:09:26 +02:00
John Ryan
d0755b59af
Don't mutate Pane serialized state
2018-10-10 18:01:36 -07:00
David Wilson
af54b63c3d
Merge pull request #17949 from ariasuni/more-agressive-word-wrapping
...
Make soft-wrap break words before a slash or space and after a dash
2018-10-01 13:38:40 -07:00
Jason Rudolph
72f4a68d13
Revert "Write config file atomically"
2018-09-27 18:33:09 -04: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
5912301563
Trigger a re-updateSync when gutter dimensions have changed
2018-09-21 13:15:38 -04:00
Max Brunsfeld
245472734b
Allow tree-sitter setting to be set for specific languages
2018-09-21 09:34:13 -07:00
Lee Dohm
35eb249e66
Merge pull request #18045 from zypA13510/patch-1
...
Fixed broken Markdown syntax in doc
2018-09-17 11:11:46 -07:00
David Wilson
b35778b686
Catch exceptions for bad package.json when looking for Atom repo in pwd
2018-09-15 06:30:49 -07:00
Tilde Ann Thurium
945b57e2ca
👕
2018-09-13 17:09:38 -07:00
Tilde Ann Thurium
51b873345f
add comment advising against adding window listeners in tooltip manager
2018-09-13 16:26:58 -07:00
Yuping Zuo
fe42554f3c
Fixed broken Markdown syntax in doc
2018-09-13 14:08:20 +08:00
Tilde Ann Thurium
f7b95d03d3
fixes bug with keyboard input in click tooltips
...
Co-Authored-By: David Wilson <daviwil@users.noreply.github.com >
2018-09-12 16:17:30 -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
979c52abfa
Enable Tree-sitter by default
2018-09-04 11:37:30 -07:00