Max Brunsfeld
070f4000f0
Replace 'use babel' -> '@babel' in comment directive
2015-08-20 11:58:46 -07:00
Max Brunsfeld
973c2a6a18
Don't match newlines when finding source-map data
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
Nathan Sobo
93a284e10f
Merge pull request #8441 from atom/ld-markdown-config-descriptions
...
📝 Add docs for Markdown formatting of config descriptions
2015-08-20 12:13:28 -06:00
Antonio Scandurra
133a42e395
Merge pull request #8436 from atom/as-batch-cursor-updates
...
Batch cursor updates
2015-08-20 16:00:07 +02:00
Luke Pommersheim
0de26c306a
fix folds accidentally becoming unfolded
2015-08-20 11:09:03 +02:00
Antonio Scandurra
5c519036dc
🔥 Avoid emitting event on cursor update
2015-08-20 10:06:15 +02:00
Max Brunsfeld
2285e8a42c
Move babel config to a separate file in static directory
2015-08-19 17:55:29 -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
Kevin Sawicki
65a465416a
📝 Document flexScale passed to callback
2015-08-19 15:23:11 -07:00
Martin Rodalgaard
7131c39a73
📝 fix pane flex scale doc
2015-08-20 00:15:38 +02: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
71974e3e98
Merge pull request #8446 from atom/ns-terminate-drag-on-text-input
...
Terminate selection drag on text input
2015-08-19 14:13:27 -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
Thomas Johansen
c16f252ab7
📝 Rephrase view resolution docs
2015-08-19 20:54:39 +02:00
Thomas Johansen
675e9be262
🔥 Remove mention of semi-deprecated view resolution step
2015-08-19 20:46:24 +02: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
Lee Dohm
bb0dc68e40
📝 Add docs for Markdown formatting of config descriptions
...
Related to atom/settings-view#635
2015-08-19 07:48:15 -07:00
Thomas Johansen
66d0e7c752
📝 Attempt to document view resolution algorithm
2015-08-19 15:44:16 +02:00
Antonio Scandurra
ea391d017d
🐎 Batch cursor updates
2015-08-19 11:32:16 +02:00
Max Brunsfeld
a25a8c83e4
Use same babel options for compiling bundled packages
2015-08-18 17:50:49 -07: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
fdb66fd4dc
change from essential to private, update comment
2015-08-18 17:06:34 +02:00
Kevin Sawicki
2573f1b6ec
Merge pull request #8062 from MaximSokolov/fix-doc-for-marker-callback
...
Update docs for Marker::onDidChange callback
2015-08-17 18:07:56 -07:00
Luke Pommersheim
33abc6698c
move maintainClipboard into if block
2015-08-16 09:04:33 +02:00
Jonathan Delgado
31634f3f53
Add disableInitialEmptyEditor setting
2015-08-15 10:21:25 -07:00
Luke Pommersheim
0bb89e9191
change moveLineDown to handle multiple selections, mimic moveLineUp
2015-08-15 11:18:25 +02:00
Nathan Sobo
a88b648144
Unify gutter drag logic
...
This ensures the same approach is used to drag the gutter for all modes
of selection.
2015-08-13 15:55:35 -06:00
Nathan Sobo
216e98140d
Eliminate unused argument
2015-08-13 15:55:35 -06:00
Ben Ogle
0608f94387
Merge pull request #8356 from atom/bo-tab-type
...
Support `editor.tabType`
2015-08-13 11:13:13 -07:00
Ben Ogle
4609be7912
Be defensive with grammar in usesSoftTabs()
2015-08-13 10:34:44 -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
Luke Pommersheim
5f249b8af9
revert to using selection ranges instead of selection objects
2015-08-13 18:02:01 +02:00
Nathan Sobo
75f341263a
Handle multiple selections on the same line
2015-08-13 18:02:01 +02:00
Nathan Sobo
e27ff93f97
Move all lines spanned by selection in a single operation
2015-08-13 18:02:01 +02:00
Nathan Sobo
5d1e7469a1
Reassign selection range immediately when moving lines up
2015-08-13 18:02:01 +02:00
Nathan Sobo
7d98fc141f
Operate on selection objects, not just ranges
2015-08-13 18:02:01 +02:00
Nathan Sobo
2fc2c074be
Append line ending if it isn’t present
2015-08-13 18:02:01 +02:00
Nathan Sobo
b14f3d8d92
Don’t move any lines if some lines can’t move
2015-08-13 18:02:01 +02:00
Nathan Sobo
de500ce41a
Compute insertDelta more simply
2015-08-13 18:02:01 +02:00
Nathan Sobo
b8d02dedde
Use row-oriented methods
2015-08-13 18:02:01 +02:00
Nathan Sobo
6d2c4b61b4
Wrap all line movements in transact
2015-08-13 18:02:00 +02:00
Luke Pommersheim
412ea3242a
CR: remove return statement
2015-08-13 18:02:00 +02:00
Luke Pommersheim
99a2907dea
moveLineDown now loops through all selectedBufferRanges in reverse sorted order so none of the lines move if the bottom-most selection is at the last line
2015-08-13 18:02:00 +02:00
Luke Pommersheim
09ab3e4a75
moveLineUp now loops though all selectedBufferRanges in sorted order so as to return immediately if the first selection is at the start row
2015-08-13 18:02:00 +02:00