Max Brunsfeld
f57da0c6f8
Suppress merging selections during undo/redo
...
Now, during undo/redo overlapping selections will be temporarily
created as markers are created via snapshots. Old selections will
immediately be destroyed though, since undo/redo now completely
replace all historied markers w/ those in the snapshot, so there
is no need to merge selections.
2015-08-25 10:51:45 -07:00
Max Brunsfeld
b8aec9db7c
Fix display buffer spec for new historied marker behavior
2015-08-25 10:50:05 -07:00
Max Brunsfeld
5f7a0a32aa
Merge pull request #8480 from jeremyramin/fix-config-get
...
Fix config.get for schemas with objects
2015-08-25 09:15:43 -07:00
Jeremy Ramin
1de707f2d7
✅ Add tests to config spec
...
Add tests to check if the get command properly merges the stored values
with the defined defaults in the schema.
Two cases:
- Obj has no property changes.
- Obj has one or more changes to a property.
2015-08-24 17:00:09 -07:00
Max Brunsfeld
5c73e5a001
Add CommandRegistry::onDidDispatch
2015-08-24 14:10:02 -07:00
Max Brunsfeld
fb2a45d71d
Merge pull request #8433 from atom/mb-bundle-line-ending-selector
...
Support bundling babel packages and bundle the line-ending-selector package
2015-08-21 17:45:10 -07:00
Max Brunsfeld
0dd19f3133
Remove 6to5 fixtures
2015-08-21 16:59:53 -07:00
Max Brunsfeld
a6fa098a8c
Add CompileCache spec
2015-08-21 14:47:32 -07:00
Jess Lin
b5b8591a51
Destroy a TextEditor's Gutters when it is destroyed
2015-08-21 12:55:22 -07:00
Max Brunsfeld
1f64676189
🔥 Unnecessary joining and splitting
2015-08-21 12:14:10 -07:00
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