Commit Graph

5802 Commits

Author SHA1 Message Date
Nathan Sobo
dba53f3358 Merge branch 'master' into mb-bundle-line-ending-selector 2015-08-20 14:05:28 -06:00
Max Brunsfeld
070f4000f0 Replace 'use babel' -> '@babel' in comment directive 2015-08-20 11:58:46 -07:00
Max Brunsfeld
1bfbf7f9d3 Map line numbers in onerror handler w/ source-map-support 2015-08-20 11:58:45 -07:00
Max Brunsfeld
49e37f5410 Use source-map-support to handle stack trace conversion
Previously, our Error.convertStackTrace function was provided by coffeestack,
which only works for coffee-script. This adds a dependency on 'source-map-support',
which works for any source file with inline source maps.

This also refactors the code for registering our compilers (coffee-script,
typescript, and babel) so that caching logic is shared.
2015-08-19 17:55:29 -07:00
Nathan Sobo
55a0be9c81 Merge pull request #8377 from atom/ns-select-screen-lines-from-gutter
Select screen rows when click-dragging in gutter
2015-08-19 14:15:34 -06:00
Nathan Sobo
8ae3761cd7 Terminate selection drag on text input
On recent versions of OS X Yosemite, there is a delay before we receive
the `mouseup` event when dragging selections with the trackpad. This
means that we’re frequently accidentally inserting text before the
selection process terminates, leading to unexpected selections after the
text insertion. This fixes that behavior and makes the behavior more
straightforward even in the case where the mouse button is remains held
down during text insertion.
2015-08-19 13:44:17 -06:00
Max Brunsfeld
733c120ef7 Merge remote-tracking branch 'origin/master' into mb-bundle-line-ending-selector 2015-08-19 12:00:41 -07:00
Nathan Sobo
31bdd563ed Select by buffer row on gutter click, but by screen row on gutter drag 2015-08-19 12:46:20 -06:00
Nathan Sobo
3cf9238d79 Select screen rows when click-dragging in gutter
…Instead of entire buffer rows
2015-08-19 12:46:20 -06:00
Max Brunsfeld
e4b1d512cd Honor /** use babel */ in addition to 'use babel' 2015-08-18 17:32:11 -07:00
Thomas Johansen
22ca33a3b1 Extend ViewRegistry with support for objects with an element property
By adding this extension to ViewRegistry::getView we're paving the way for
Etch-like view frameworks which promotes the usage of plain objects and
classes with an element property which is an instance of HTMLElement.
2015-08-18 21:38:00 +02:00
Max Brunsfeld
7e197060bc Merge pull request #8025 from lpommers/copy-selection-to-clipboard
Copy selection command to only write to clipboard if text selected
2015-08-18 09:25:59 -07:00
Luke Pommersheim
e96d6f50ad 🎨 newlines fix 2015-08-18 18:22:18 +02:00
Luke Pommersheim
1a965edd00 🌷 spec more specific 2015-08-18 17:09:23 +02:00
Ben Ogle
0608f94387 Merge pull request #8356 from atom/bo-tab-type
Support `editor.tabType`
2015-08-13 11:13:13 -07:00
Max Brunsfeld
c6d8bce137 Merge remote-tracking branch 'origin/master' into mb-custom-extension-grammar-map 2015-08-13 09:59:56 -07:00
Kevin Sawicki
5da44711dc Add initial spec for pane resize commands 2015-08-13 06:54:51 -07:00
Max Brunsfeld
2493da0a84 Rename fileTypesByScope -> customFileTypes 2015-08-12 17:55:19 -07:00
Ben Ogle
51538b0c67 Don’t need this coffeeEditor 2015-08-12 17:48:52 -07:00
Ben Ogle
1b727c1862 Handle a grammar change for @softTabs 2015-08-12 17:32:05 -07:00
Max Brunsfeld
30d8216bf6 Merge branch 'master' into mb-custom-extension-grammar-map
Conflicts:
	package.json
2015-08-12 17:31:15 -07:00
Ben Ogle
b5d253b9c5 Add a spec for the scoped setting 2015-08-12 17:23:15 -07:00
Ben Ogle
1192008479 Update the tab type when the setting changes 2015-08-12 17:21:53 -07:00
Ben Ogle
b3ea638de3 Add a bunch of specs for tabType setting 2015-08-12 17:10:43 -07:00
Max Brunsfeld
5f620fb739 Config::getSchema - use null to represent inaccessible key path 2015-08-12 16:52:25 -07:00
Ben Ogle
71f6cd0a0f Get some base tests setup 2015-08-12 16:43:53 -07:00
Ben Ogle
d9d442b723 Consolidate tab specs 2015-08-12 16:30:14 -07:00
Nathan Sobo
fbea2d7954 Autoscroll correctly when dragging gutter selections
* Explicitly assign the orientation of the selection when it crosses
  the initially clicked row.
* Autoscroll to the cursor, not the entire selection.
2015-08-12 13:13:15 -06:00
Max Brunsfeld
29f47f7fcb Merge pull request #8173 from atom/mb-rename-disabled-keymaps-config-key
Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled'
2015-08-12 10:52:53 -07:00
Nathan Sobo
1223d7a154 Process closing scopes at wrap boundaries 2015-08-11 13:13:30 -06:00
Antonio Scandurra
85a982f42b 💚 Clear pending frames on folding specs 2015-08-11 12:00:59 +02: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
Nathan Sobo
db72ce8362 Defer merging likewise gutter selections until mouseup 2015-08-04 11:29:08 -06:00
Luke Pommersheim
2655513673 CR: copyOnlySelectedText only works on selected text, no matter of cursor position 2015-08-04 10:30:59 +02:00
Luke Pommersheim
146363bba6 💚 tests for copying only selected text unless cursor is at the beginning of the line 2015-08-04 10:30:59 +02:00
Nathan Sobo
52e640156c Defer selection merge until dragging completes 2015-08-03 21:43:43 -06:00
Max Brunsfeld
b682658427 Rename 'disabledKeymaps' -> 'packagesWithKeymapsDisabled' 2015-07-31 10:37:56 -07:00
Max Brunsfeld
fbd684926e Config - Support additionalProperties field of object schemas 2015-07-30 18:28:41 -07:00
Max Brunsfeld
84f72c880a Config - don't allow setting key-paths inside of strings, arrays, etc 2015-07-30 18:28:06 -07:00
Max Brunsfeld
aa8fb391aa Handle ties between custom and built-in grammar file types 2015-07-30 17:39:55 -07:00
Max Brunsfeld
1ee382a4cb Add GrammarRegistry tests removed from first-mate 2015-07-30 17:39:55 -07:00
Max Brunsfeld
989bb86199 Start work on custom scope -> filetypes configuration 2015-07-30 17:39:55 -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
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