12432 Commits

Author SHA1 Message Date
Nathan Sobo
1223d7a154 Process closing scopes at wrap boundaries 2015-08-11 13:13:30 -06:00
Ben Ogle
3817423b5f Remove duplicate pane:move-item-* command handlers
Closes #8300
2015-08-10 16:29:12 -07:00
Nathan Sobo
eb4944b07d Make bufferRangeForScopeAtPosition work with last column of scope 2015-08-10 14:21:23 -06:00
Nathan Sobo
f9a576b0ce Allow Infinity for initialLine/Column; move specs to workspace
The initialLine and initialColumn behavior belongs on workspace.
2015-08-10 11:32:38 -06:00
Nathan Sobo
69da157ecb Add specs for initialLine and initialColumn, simplify implementation 2015-08-10 11:27:15 -06:00
Jong Eun Lee
93586d2410 fix : workspace.open with initial cursor position bug
When opening already opened file via `atom.workspace.open(path,{ initialLine: 0,  initialColumn: 0, searchAllPanes: true} )`, cursor position doesn't move `[0,0]`.

Expected result:
Whether or not file is opened already, cursor position has to be [0,0].
2015-08-07 19:38:35 +09:00
Ben Ogle
6c63e829d8 Move pane item move commands to atom-workspace
This allows pane movement to work in find and replace, the 
tree view, etc.
2015-08-04 11:54:19 -07:00
Nathan Sobo
139dc1b64c Merge pull request #8208 from atom/ns-defer-selection-merge
Defer selection merge until dragging completes
2015-08-04 12:11:19 -06:00
Nathan Sobo
db72ce8362 Defer merging likewise gutter selections until mouseup 2015-08-04 11:29:08 -06:00
Ivan Zuzak
f24590fb10 Clarify docs on Marker.copy to cover selection case 2015-08-04 16:35:21 +02:00
Nathan Sobo
52e640156c Defer selection merge until dragging completes 2015-08-03 21:43:43 -06:00
Michael Bolin
5031284ce5 Safeguard the caching of Babel transpilations by disallowing .babelrc files.
Also update the version of Babel to pick up a JSON-parsing fix. This was an
issue that was discovered in the course of seeing how reading .babelrc files
would interact badly with Atom's Babel cache.

/cc @sebmck
2015-07-31 16:37:21 -07:00
Nathan Sobo
ee3989720b Fix ViewRegistry::addViewProvider documentation 2015-07-31 12:00:02 -06:00
Max Brunsfeld
b02cb57344 Deactivate keymaps when deactivating packages
Refs #8130
2015-07-29 20:55:47 -07:00
Max Brunsfeld
5d15a3784f Merge pull request #8130 from tmunro/master
Add support for activating and deactivating package-specific keymaps
2015-07-29 20:18:13 -07:00
Tom Munro
7753953944 Clean up keymap disabled config check and remove spurious newline 2015-07-29 20:13:26 -07:00
Nathan Sobo
6bf9bb2769 Merge pull request #8146 from atom/ns-optimize-word-wise-selection
Prevent end-of-word search from scanning whole buffer
2015-07-29 14:32:25 -06:00
Nathan Sobo
1fdc8fa49e 🐎 Prevent end-of-word search from scanning whole buffer
This was causing long pauses when selecting by word with the mouse in
certain locations.
2015-07-29 14:16:29 -06:00
Nathan Sobo
ef9e466540 Merge pull request #8141 from atom/ns-fix-selections-stuck-in-reverse
Fix bug where word- and line-wise selections got stuck in reversed state
2015-07-29 13:29:39 -06:00
Ben Ogle
f798fe2600 Merge pull request #8126 from atom/bo-fix-process-leak
Fix process leak
2015-07-29 11:59:56 -07:00
Tom Munro
b57d2e1dd0 Move disabledKeymaps observer into package manager 2015-07-29 11:59:32 -07:00
Ben Ogle
591db01067 Spy on Task::terminate instead of passing an obj through 2015-07-29 11:48:49 -07:00
Nathan Sobo
12dc045329 Fix bug where word- and line-wise selections got stuck in reversed state 2015-07-29 11:49:14 -06:00
Nathan Sobo
c5bb4a27a5 Add option to make temporary file backups when saving 2015-07-29 11:19:16 -06:00
Tom Munro
b9c12857fb Add support for activating and deactivating package-specific keymaps 2015-07-28 22:27:10 -07:00
Ben Ogle
a4076dcfa5 Terminate the task after finishing 2015-07-28 17:34:45 -07:00
Kevin Sawicki
a81e59c79b Merge pull request #8122 from ssorallen/atom-properties-ret-values
Use `Returns` keyword in global `atom` object docs
2015-07-28 17:33:28 -07:00
Kevin Sawicki
69bf55ce29 Merge pull request #8121 from ssorallen/theme-manager-ret-values
Use `Returns` keyword in `ThemeManager` public docs
2015-07-28 17:32:59 -07:00
Kevin Sawicki
af19c26fc3 Merge pull request #8120 from ssorallen/available-packages-ret-values
Use `Returns` keyword to highlight vals in docs
2015-07-28 17:32:34 -07:00
Nathan Sobo
d1dec4e0cf Don’t autoscroll to selection when double- or triple-click dragging 2015-07-28 16:16:34 -06:00
Ross Allen
51c73bd6e9 Use Returns keyword in global atom object docs
Use the `Returns` keyword in function docs so they are put
in panels like other return values in docs.
2015-07-28 15:00:51 -07:00
Ross Allen
212c4fa6fc Use Returns keyword in ThemeManager public docs
Use the `Returns` keyword in `get*Theme` function docs so they are put
in panels like other return values in docs.
2015-07-28 14:49:33 -07:00
Ross Allen
80f2acb37d Use Returns keyword to highlight vals in docs
Use the `Returns` keyword in `PackageManager::getAvailablePackage*`
docs so the return values are called out in panels like with other
documentation.
2015-07-28 14:39:11 -07:00
Antonio Scandurra
938ee68373 Merge pull request #8112 from atom/as-tiles-stacking-context
Create new stacking context for tiles
2015-07-28 16:38:32 +02:00
Antonio Scandurra
9a81d2ec62 🐛 Create new stacking context for tiles
To create a new stacking context we need to isolate the container div. This
fixes a visual glitch on the wrap-guide whenever there are more than 5 tiles.
2015-07-28 16:00:46 +02:00
Antonio Scandurra
d46fea9d10 Emit did-insert-text on pasteText() 2015-07-28 10:38:11 +02:00
Antonio Scandurra
b00c148de8 Merge pull request #8098 from atom/as-tiles-z-index
Render tiles upper in the stack in front of the ones below
2015-07-28 10:13:20 +02:00
Ben Ogle
b518075070 Use globalExclusions option for the ignoredNames 2015-07-27 17:10:53 -07:00
Ben Ogle
02ad3fe298 Merge pull request #8094 from smashwilson/overlay-class
Specify class attributes directly for overlay nodes
2015-07-27 15:36:42 -07:00
Antonio Scandurra
4e412755bf Put tiles into a separate div
So that a new stacking context is created and tiles won’t overlap other
elements, such as cursors or the wrap-guide.
2015-07-27 20:29:02 +02:00
Antonio Scandurra
e374425d7a Render tiles upper in the stack in front of the ones below 2015-07-27 20:16:36 +02:00
Nathan Sobo
2d25301ea0 Destroy folds when DisplayBuffer is destroyed
Fixes #4562
2015-07-27 12:04:46 -06:00
Ben Ogle
29a1fbc45f Merge pull request #7377 from atom/mq-about
Add cross-platform "About Atom" view
2015-07-27 10:42:48 -07:00
Max Brunsfeld
3ae7721fcb Merge pull request #8092 from MaximSokolov/add-missing-argument
📝 Add missing argument
2015-07-27 09:27:56 -07:00
Ash Wilson
83e807bc9c 📝 Update docs for TextEditor.decorateMarker 2015-07-27 11:38:01 -04:00
Ash Wilson
fa5a1d3361 Respect the class overlay decoration property. 2015-07-27 11:38:01 -04:00
Maxim Sokolov
e725020037 📝 Add missing argument 2015-07-27 16:04:33 +03:00
Thomas Johansen
9efab86215 Merge pull request #8053 from oggy/will-destroy-pane
Fire event before a pane is destroyed.
2015-07-25 16:34:33 +02:00
Ben Ogle
1b6cab0156 Remove line that calls non-existant function 2015-07-24 17:45:59 -07:00
Machiste Quintana
5e5139b753 Use about for About Atom 2015-07-24 19:52:45 -04:00