Wliu
131c13db3e
🎨
2017-11-19 00:35:40 +01:00
Wliu
3d9f6bc664
Update other uses of .confirm for new async API
2017-11-18 01:46:39 +01:00
Wliu
b881edac06
Convert attemptRestoreProjectStateForPaths
2017-11-18 01:45:19 +01:00
Wliu
b6a6961f45
Rework async version to pass all options to Electron for future-compat
2017-11-18 01:22:58 +01:00
Wliu
8f81831ad4
Convert large file warning
2017-11-18 00:56:22 +01:00
Wliu
c3bc4973f9
Convert promptToSaveItem
2017-11-18 00:21:40 +01:00
Wliu
3591f17738
Convert CommandInstaller dialogs to async versions
2017-11-17 23:45:26 +01:00
Wliu
efdba69b99
Assume that if callback exists it is a function
2017-11-17 23:44:09 +01:00
Wliu
1401c58e8e
Document async atom.confirm
2017-11-17 23:43:35 +01:00
Wliu
47963ef2e5
And test it with editor:checkout-head-revision
2017-11-17 23:32:53 +01:00
Wliu
c61eb62b06
Add async version of atom.confirm
2017-11-17 23:32:07 +01:00
Wliu
bace929083
Use native Array.isArray in application-delegate
2017-11-17 23:08:19 +01:00
Michelle Tilley
cb1d529d64
Merge remote-tracking branch 'origin/master' into wl-async-context-menu
2017-11-17 10:16:30 -08:00
Michelle Tilley
b3e9989cd2
Translate line and column numbers from URI handlers
...
The URI query string should specify line and column numbers as a user
would, starting at 1, while the Atom API starts at 0.
2017-11-16 14:26:21 -08:00
Wliu
3569a11574
Rework didMouseDownOnContent to always position cursor
2017-11-15 12:42:27 +01:00
Wliu
e941dbd9be
Make ContextMenu async
2017-11-15 11:51:54 +01:00
Nathan Sobo
000d0d1a5e
Auto-scroll after folding/unfolding via a command
...
In my previous attempt in #16092 , I was autoscrolling in the TextEditor
methods themselves. But this could lead to undesirable autoscrolling
when folding with the mouse.
2017-11-14 12:29:32 -07:00
Nathan Sobo
ad1328db5a
Revert "Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold"
...
This reverts commit 6227ecebed , reversing
changes made to 311055c575 .
2017-11-14 12:17:50 -07:00
Nathan Sobo
e21c757682
Merge pull request #16114 from atom/b3-scroll-linux
...
Use wheelDelta instead of delta in the scroll handler
2017-11-14 06:45:48 -07:00
Wliu
4f6e8ed5f3
📝
...
[ci skip]
2017-11-13 18:57:29 +01:00
Wliu
feb40fa97a
📝 onDidChangeActiveThemes returns a Disposable
2017-11-12 22:42:10 +01:00
Jason Rudolph
dd8173fc35
Merge pull request #16144 from atom/fix-jquery-handling-in-tooltip-manager-add-method
...
Fix handling of jQuery objects in `TooltipManager.add` method
2017-11-09 11:05:47 -05:00
Max Brunsfeld
6c99872040
Merge pull request #16141 from atom/mb-decaf-atom-environment
...
Convert AtomEnvironment to JS
2017-11-08 22:33:01 -08:00
Max Brunsfeld
fed595b49f
Use async/await in AtomEnvironment
2017-11-08 21:42:00 -08:00
Max Brunsfeld
188142bac3
Suppress lint warning for Promise.prototype monkey patch
2017-11-08 16:58:30 -08:00
Max Brunsfeld
bc774773f7
Convert AtomEnvironment to JS
2017-11-08 16:44:46 -08:00
Jason Rudolph
0e82b8bb42
🐛 Fix #16135
2017-11-08 17:56:45 -05:00
Max Brunsfeld
ff8ecf1a49
Fix errors when passing subword regex to native find methods
2017-11-08 14:00:00 -08:00
Nathan Sobo
6227ecebed
Merge pull request #16092 from atom/autoscroll-after-fold-or-unfold
...
Autoscroll to cursor position after folding or unfolding
2017-11-07 11:33:22 -07:00
Jason Rudolph
311055c575
Merge pull request #16091 from atom/decaf-text-utils
...
☠☕ Decaffeinate text-utils
2017-11-07 08:12:59 -05:00
Linus Eriksson
77c685a1b7
Use wheelDelta instead of delta
...
In Atom 1.19 we changed the scroll handler to use deltaX and deltaY
instead of wheelDeltaX/wheelDeltaY. wheelDelta is larger so this caused
the scrolling speed to slow down. This change in speed was especially
noticable on Linux
2017-11-06 22:50:53 +01:00
Max Brunsfeld
85f8b13a62
🎨 clean up git-repository.js
2017-11-06 09:45:43 -08:00
Nathan Sobo
a1e8d25e55
Autoscroll to cursor position after folding or unfolding
...
There were several different fold/unfold code paths, so I decided to
weave simple autoscroll assertions into the existing tests.
2017-11-03 09:57:29 -06:00
Jason Rudolph
208e3293f3
☠ ☕ Decaffeinate src/text-utils.coffee
2017-11-03 08:14:24 -04:00
Jason Rudolph
1ee1c6c30e
☠ ☕ ☕ Decaffeinate src/token-iterator.coffee
2017-11-03 07:49:32 -04:00
Michelle Tilley
a3bb0bbb44
Merge pull request #15935 from atom/mkt-core-uri-handlers
...
Add core URI handlers
2017-11-02 18:40:00 -07:00
Ash Wilson
809a2d6348
Merge pull request #16080 from atom/fb-hw-directory-watcher
...
Allow directory providers to implement a custom onDidChangeFiles
2017-11-02 18:30:59 -07:00
Michelle Tilley
fba5fbc42d
Merge remote-tracking branch 'origin/master' into mkt-core-uri-handlers
2017-11-02 16:30:29 -07:00
Nathan Sobo
3a758eeb8d
Merge pull request #16083 from atom/resize-overlay-bug
...
Judge resize of overlay by contentRect changing
2017-11-02 16:33:09 -06:00
Nathan Sobo
667634191e
Document hiddenInCommandPalette option in atom.commands.add
2017-11-02 16:15:45 -06:00
Justin Ratner
7639afe684
Judge resize of overlay by contentRect changing
2017-11-02 15:13:49 -06:00
Nathan Sobo
d0587a0b60
Merge pull request #16075 from atom/fix-select-word
...
Fix select-word command between word and non-word chararacters
2017-11-02 14:41:39 -06:00
hansonw
303cf30b51
Allow directory providers to implement onDidChangeFiles for custom pathwatchers
2017-11-02 11:43:33 -07:00
Michelle Tilley
cbf2d24d9e
⌨️ fix typo
2017-11-02 11:31:06 -07:00
Max Brunsfeld
3b6f98b446
Fix lint errors
2017-11-02 09:48:00 -07:00
Max Brunsfeld
4ce351d0f3
Convert Selection to JS
2017-11-02 09:22:58 -07:00
Nathan Sobo
1e9753d8a5
Fix select-word command between word and non-word chararacters
...
In #15776 , we accidentally stopped passing an option to the wordRegExp
method that caused us to prefer word characters when selecting words at
a boundary between word and non-word characters.
2017-11-02 10:22:22 -06:00
Max Brunsfeld
6277459691
Merge pull request #16066 from atom/mb-decaffeinate-text-editor
...
Convert TextEditor class to JS
2017-11-01 22:25:44 -07:00
Max Brunsfeld
96e6b3a2ce
Fix error in .getLongTitle when editor isn't in the workspace
2017-11-01 16:51:01 -07:00
Wliu
ff684925da
Merge pull request #16067 from royGil/master
...
Remove duplicate variable declaration
2017-11-02 00:45:05 +01:00