Commit Graph

17115 Commits

Author SHA1 Message Date
Ash Wilson
1ecff536c7 Pass persisted window sessions as foldersToOpen 2019-01-24 11:07:00 -05:00
Ash Wilson
02e1ae4b0f Notify about missing project folders 2019-01-24 10:39:50 -05:00
Ash Wilson
f6837d1f97 openLocations() flag to require a path to be an existing directory 2019-01-24 10:19:01 -05:00
Ash Wilson
b9bd3713ee Open an untitled buffer when pathToOpen is null or undefined 2019-01-17 08:15:06 -05:00
Ash Wilson
0e8dde4c60 Merge branch 'pr-18394/jneuendorf/master' 2019-01-15 15:52:50 -05:00
Ash Wilson
b4fa03a4a0 It's event.action, not event.type 2019-01-15 15:52:08 -05:00
Ash Wilson
2ab0e8db24 --new-window locks shouldReopenPreviousWindows to false 2019-01-14 11:46:18 -05:00
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
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