Commit Graph

17107 Commits

Author SHA1 Message Date
Ash Wilson
cc0b982c5a Re-word help text 2019-01-14 10:49:21 -05:00
Ash Wilson
92785ac257 Merge branch 'master' into aw/single-file 2019-01-14 10:22:51 -05:00
Winston Liu
98c4876c76 Syntax highlight TooltipManager documentation
Only js is accepted, not javascript
2019-01-10 20:22:40 -05:00
David Wilson
be8097272f Merge pull request #18630 from atom/wl-mv-get-buffer-docs
Move getBuffer out of Event Subscription section
2019-01-08 14:07:23 -08:00
Ash Wilson
d3671f7055 Require --add to open locations in existing windows 2019-01-04 11:06:17 -05:00
Ash Wilson
d725f5e42b 👕 Now that I actually got my linter working 👀 2019-01-04 09:54:36 -05:00
Ash Wilson
f1de652bac ... Right. Joanna can't handle spread properties in objects 2019-01-04 09:06:19 -05:00
Ash Wilson
15594dd8c2 AtomApplication launch behavior shuffle 2019-01-03 16:41:17 -05:00
Ash Wilson
6d2e298de1 Extract a utility method on Project 2019-01-03 16:40:47 -05:00
Ash Wilson
e570f72d86 Remove path normalization responsibilities from AtomWindow 2019-01-03 16:40:35 -05:00
Ash Wilson
6938a31329 Never open the parent directory of a file path 2019-01-03 16:39:09 -05:00
Ash Wilson
e31a142a92 Remove unused initialPaths 2019-01-03 11:28:49 -05:00
Winston Liu
a55daa33b2 👕 2019-01-02 19:58:51 -05:00
Ash Wilson
883719a139 Merge pull request #18611 from atom/aw/electron-link-up
Update electron-link
2019-01-02 17:03:04 -05:00
Winston Liu
aa8d3d6ee8 Fix typo in atom.confirm documentation
[ci skip]
2018-12-28 21:04:18 -05:00
Winston Liu
9dee1d16a1 Move getBuffer out of Event Subscription section 2018-12-28 20:05:27 -05:00
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
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
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