Antonio Scandurra
37fb253bfd
Prevent default for mousewheel event on mini editors
...
(ref. 0346e58 )
2015-09-23 15:34:27 +02:00
Antonio Scandurra
e526ceae6d
Update scroll top on ::getState
2015-09-23 15:34:22 +02:00
Antonio Scandurra
ddd7aacd9d
💚 Fix TextEditorComponent specs
2015-09-23 15:34:22 +02:00
Antonio Scandurra
e3dabd5200
Move scroll margin into TextEditorPresenter
2015-09-23 15:34:22 +02:00
Antonio Scandurra
75f6c29760
Merge branch 'master' into as-display-buffer-logical-coordinates
2015-09-23 15:34:21 +02:00
Antonio Scandurra
2588e9779e
Avoid relying on ::scrollTop to calculate logical height
2015-09-22 18:13:41 +02:00
Antonio Scandurra
6b5ab3e4c9
Remove logs
2015-09-22 17:31:43 +02:00
Antonio Scandurra
68e2d7e7e4
wip
2015-09-22 17:30:51 +02:00
Nathan Sobo
3f41c994b7
Throw exception when adding a pane item that has already been destroyed
...
Closes atom/bracket-matcher#178
2015-09-22 08:57:00 -06:00
Antonio Scandurra
b5a59017d5
wip
2015-09-22 16:20:15 +02:00
Nathan Sobo
41fb82b6a0
Merge branch 'beta'
2015-09-21 15:10:19 -06:00
Paul Betts
47f973db38
Fix incorrect indentation on setAppUserModelId
...
Fixes #7374
2015-09-21 15:08:02 -06:00
Nathan Sobo
ba3255ee56
Merge pull request #7896 from rameshvarun/extended-package
...
📝 Mark Package class as Extended, so that it appears in the docs.
2015-09-21 15:04:43 -06:00
Ivan Žužak
f601aea702
Merge pull request #8859 from atom/iz-fix-coffeelint-indent-error
...
Fix coffelint error causing Travis builds to fail
2015-09-21 20:28:47 +02:00
Antonio Scandurra
374309fc47
🔥 Remove deprecated code
2015-09-21 14:50:17 +02:00
Ivan Zuzak
fd9f483486
Use thin arrow where possible
2015-09-21 12:55:12 +02:00
Ivan Zuzak
d79855993b
Assign error in catch block for clarity
2015-09-21 12:54:50 +02:00
Ivan Žužak
abf6d40cc4
Merge pull request #8828 from atom/iz-cut-to-end-of-buffer-line
...
Add command for cutting text to the end of the cursor's buffer line
2015-09-20 10:45:45 +02:00
Ivan Žužak
255d3a438a
Fix coffelint error causing Travis builds to fail
...
Currently, running coffeelint produces this error and causes Travis
builds to fail:
```
Running "coffeelint:src" (coffeelint) task
src/command-installer.coffee
✖ line 73 Line contains inconsistent indentation Expected 2 got 0
✖ 1 error
Warning: Task "coffeelint:src" failed. Use --force to continue.
Error: Task "coffeelint:src" failed.
```
See https://github.com/clutchski/coffeelint/issues/189 for more information
on this problem and suggested approach, and for a different place in Atom
where this approach is used see this:
ca39c106d6/src/config.coffee (L984)
2015-09-19 14:41:45 +02:00
Nathan Sobo
fb341b094b
Add Promise.prototype.done shim
...
Base on our research, this is the only non-standard Q method people are
really calling. We didn’t check the really obscure stuff, but this
should cover the vast majority of issues.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-09-18 21:26:14 -06:00
Nathan Sobo
4a7cbff6d3
Remove Q from PackageManager, ThemeManager, Package, ThemePackage
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-09-18 21:24:59 -06:00
Nathan Sobo
e835bc0777
Use promises instead of Q in PackageManager
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-09-18 21:24:59 -06:00
Nathan Sobo
bbb92753ca
Use promises instead of Q in Project
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-09-18 21:24:59 -06:00
Nathan Sobo
37f8661ec6
Use promises instead of Q in Workspace
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2015-09-18 21:24:59 -06:00
Nathan Sobo
108b00dae0
Support jQuery wrappers being passed to tooltip manager
...
Not my favorite feature, but required for backward-compatibility.
2015-09-18 20:48:51 -06:00
Nathan Sobo
acfbf6d613
Lazy-require tooltip class
2015-09-18 20:48:51 -06:00
Nathan Sobo
292289aed7
Handle clicks on descendants of links correctly in window event handler
2015-09-18 20:48:50 -06:00
Nathan Sobo
206e846cda
Fix linter errors
2015-09-18 20:48:50 -06:00
Nathan Sobo
1f395a7e8c
Remove mentions of benchmarks from the build, command palette
2015-09-18 20:48:50 -06:00
Nathan Sobo
43de55b179
Fix delegated tooltips
2015-09-18 20:48:50 -06:00
Nathan Sobo
3c58e221a2
Add custom tooltip implementation that doesn’t depend on jQuery
2015-09-18 20:48:49 -06:00
Nathan Sobo
3bc68b91ba
Handle document/window commands via command registry
2015-09-18 20:48:49 -06:00
Nathan Sobo
69664fc77b
Remove space-pen-extensions
...
Move the last remaining feature into the tooltip manager.
2015-09-18 20:48:49 -06:00
Nathan Sobo
7a5e441987
Don’t document SpacePen viets as valid gutter decoration items
...
We should really be retrieving the view for the item from the view
registry, but that can be done in a different PR.
2015-09-18 20:48:49 -06:00
Nathan Sobo
2fdd40bd05
Remove SpacePen from lines-component
2015-09-18 20:48:49 -06:00
Nathan Sobo
5f97de5647
Remove jQuery from keymap-extensions
2015-09-18 20:48:49 -06:00
Nathan Sobo
2a79eaf7c2
Remove space-pen require from text-editor-element
2015-09-18 20:48:48 -06:00
Nathan Sobo
a977d93b7c
Remove compatibility shims from space-pen-extensions
2015-09-18 20:48:48 -06:00
Nathan Sobo
9e59ab1e45
Don’t use jQuery in window-event-handler or its spec
2015-09-18 20:48:48 -06:00
Nathan Sobo
938a8e5230
Remove unused require
2015-09-18 20:48:47 -06:00
Nathan Sobo
f263fbe0d8
Drop jQuery from command-registry
2015-09-18 20:48:47 -06:00
Nathan Sobo
c790f987d4
Drop space-pen-extensions from atom.coffee
2015-09-18 20:48:47 -06:00
Nathan Sobo
f77cb3786c
Terminate all directory searches if any fail
...
@bolinfest: I was seeing exceptions after the test terminated due to
one of the searches still running. I think since the promise rejects
with “all” semantics that we should cancel any other searches when one
fails. I wouldn’t expect them to continue if the promise is no longer
unresolved.
2015-09-18 20:48:46 -06:00
Nathan Sobo
e343125486
Drop attach/remove hook support for legacy SpacePen views
2015-09-18 20:48:46 -06:00
Nathan Sobo
c7ecad5576
Remove EditorView
2015-09-18 20:48:45 -06:00
Nathan Sobo
03d13753ee
Remove ScrollView
2015-09-18 20:48:45 -06:00
Nathan Sobo
3414b904a0
Remove SelectListView
2015-09-18 20:48:45 -06:00
Nathan Sobo
4c73395608
Remove PaneContainerView and PaneView SpacePen shims
2015-09-18 20:48:45 -06:00
Nathan Sobo
6fec11780b
🔫 WorkspaceView shim
2015-09-18 20:48:43 -06:00
Nathan Sobo
ccfa36d1b1
Preserve all event properties when dispatching commands
...
Fixes https://github.com/atom/vim-mode/issues/863
Fixes https://github.com/atom/atom/issues/8845
---
Re-applying this commit because it was accidentally merged from stable to
beta and master with `--strategy ours` (discarding the changes) instead of
`-X ours` (discarding conflicting changes).
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com >
2015-09-18 15:53:44 -07:00