Antonio Scandurra
d666e4c008
Fix lastScreenRowForBufferRow
...
…which was mistakenly translating screen positions to buffer positions,
and not vice versa.
2016-03-18 11:48:52 +01:00
Antonio Scandurra
5fc699f791
Use intersecting folds when duplicating lines
2016-03-18 11:44:23 +01:00
Antonio Scandurra
d86309e46b
Use DisplayLayer.prototype.foldBufferRange in Selection.prototype.fold
2016-03-18 11:33:29 +01:00
Antonio Scandurra
83da3ca440
Fix moveLineUp and moveLineDown
2016-03-18 11:24:22 +01:00
Antonio Scandurra
1d1bdf5872
Improve folds behavior when duplicating lines
...
Now we will select the entire screen line (which could contain some
free-form fold), and we duplicate its contents preserving the structure
of the existing folds.
2016-03-18 11:04:30 +01:00
Antonio Scandurra
43f27780fd
Fix specs related to the produced HTML line output
...
This verifies that with the new DisplayLayer the produced output is
cleaner when tags interleave.
2016-03-17 14:56:23 +01:00
Antonio Scandurra
5efb969a63
💚 Start fixing TextEditorComponent specs
2016-03-17 11:33:17 +01:00
Antonio Scandurra
f57fb3176a
Add back lineIdForScreenRow
2016-03-17 11:19:05 +01:00
Antonio Scandurra
23ddeb7f08
🔥 Put back commented out LOC
2016-03-17 10:38:23 +01:00
Antonio Scandurra
661417e362
Update lines in TextEditorPresenter.prototype.getPostMeasurementState()
...
Calling ::updateHorizontalDimensions might cause the editor vertical
coordinates (e.g. height, scroll top) to change, so we need to fetch
lines again from `DisplayLayer`.
2016-03-17 09:42:36 +01:00
Antonio Scandurra
2e41e9ead4
Reset DisplayLayer every time config changes
2016-03-16 19:19:00 +01:00
Nathan Sobo
e56c2addea
Pass softWrapHangingIndent option
2016-03-14 20:13:00 -06:00
Nathan Sobo
8888203005
Drop marker-index dependency
2016-03-14 17:14:27 -06:00
Antonio Scandurra
e513ed3a11
WIP: Always enable soft-wrapping
2016-03-14 18:43:27 +01:00
Antonio Scandurra
8c3ab52b64
Pass showIndentGuides config to DisplayLayer
2016-03-10 19:17:28 +01:00
Antonio Scandurra
40beb0bd1e
Use new TextBuffer APIs
2016-03-10 16:00:56 +01:00
Antonio Scandurra
dfed7c4537
Merge branch 'master' into ns-use-display-layers
...
# Conflicts:
# package.json
# src/display-buffer.coffee
# src/text-editor.coffee
# src/tokenized-buffer.coffee
2016-03-10 13:53:14 +01:00
Antonio Scandurra
e19ab2197f
Merge pull request #11111 from mehcode/patch-1
...
Default the options parameter to an empty object
2016-03-10 09:39:54 +01:00
Lee Dohm
4a51c46737
Merge pull request #11077 from RodrigoEspinosa/rec-fix-unfold-all-scroll-to-cursor
...
Scroll to cursor on unfold all
2016-03-09 09:05:04 -08:00
Ryan Leckey
152e370a15
Default the options parameter to an empty object
2016-03-09 02:16:10 -08:00
Josh Abernathy
c8dd4f3209
Merge pull request #11101 from atom/emit-status-changes-when-anything-changes
...
Emit status changes when anything changes
2016-03-08 13:37:32 -05:00
joshaber
fc62398d62
Use the new branch name.
2016-03-08 12:40:38 -05:00
joshaber
f2be54bf29
But actually do it tho.
2016-03-08 12:14:42 -05:00
Rowan Bottema
b53c5a10d0
Add zero to hexadecimal numbers below F (16)
2016-03-08 10:20:37 +01:00
Michelle Tilley
f6d419c2f4
Merge pull request #11057 from atom/mkt-improve-pane-add-item-options
...
Move Pane::addItem 'pending' option to options object
(cherry picked from commit 53a9c22554 )
2016-03-07 10:02:49 -08:00
Antonio Scandurra
a3bed908d7
Don't partially serialize after unloading editor window
2016-03-07 17:14:52 +01:00
Antonio Scandurra
914015e4eb
🔥 Remove default parameters
2016-03-07 10:52:28 +01:00
Antonio Scandurra
12587073d2
🎨 isQuitting -> isUnloading
2016-03-07 10:52:16 +01:00
Antonio Scandurra
3d15b6e16b
Merge branch 'master' into as-serialize-history-without-snapshots
2016-03-07 10:33:52 +01:00
Rodrigo Espinosa Curbelo
42a696cf28
🐛 Scroll to cursor when unfold all
...
Fixes #11066
2016-03-05 21:28:09 -03:00
joshaber
6cc80e05ff
Default to auto height being true.
...
Otherwise TextEditorElements created through the tag wouldn’t have a
setting and be wrong.
2016-03-04 16:36:47 -05:00
Josh Abernathy
c2c3217c9d
Merge pull request #10955 from atom/atom-textarea
...
TextEditor customization
2016-03-04 16:03:23 -05:00
Nathan Sobo
1c0ee6d99e
Merge pull request #10511 from atom/jf-use-electron-run-as-node-key
...
Use ELECTRON_RUN_AS_NODE Variable Key
2016-03-04 14:03:10 -07:00
Nathan Sobo
c8dad13bc9
Merge pull request #11063 from atom/ns-manual-tooltips
...
Show tooltip immediately if the tooltip trigger is manual
2016-03-04 13:59:39 -07:00
Nathan Sobo
bb0b35444f
Merge pull request #11036 from atom/ns-fix-initial-paths
...
Skip deleted directories when restoring application windows
2016-03-04 12:44:03 -07:00
Antonio Scandurra
575065f3e9
Don't forget to pass the option during saveState
2016-03-04 17:37:53 +01:00
Antonio Scandurra
3bdb83f97e
Pass saveState options to project.serialize
2016-03-04 17:11:34 +01:00
Antonio Scandurra
0fdc190989
Use isQuitting: false when saving state on key/mouse down
2016-03-04 17:08:32 +01:00
Antonio Scandurra
311cde36c9
Call saveState(isQuitting: true) on beforeUnload
2016-03-04 17:06:53 +01:00
Antonio Scandurra
011fe380e9
Pass markerLayer: false to buffer.serialize when not quitting
2016-03-04 16:57:02 +01:00
Antonio Scandurra
7176da7614
Use structured cloning
2016-03-04 15:17:10 +01:00
Katrina Uychaco
e620232d35
Add new item before destroying pending item
...
Fixes atom/tabs#278
Signed-off-by: Michelle Tilley <binarymuse@github.com >
2016-03-03 17:46:02 -08:00
Nathan Sobo
a218582aeb
Supply pathsToOpen in case there’s no window state
2016-03-03 18:02:08 -07:00
joshaber
dba1fbd408
De-lint.
2016-03-03 10:15:13 -05:00
joshaber
10acfd057f
Err, yeah, we care about undefined, not false.
2016-03-03 10:13:26 -05:00
joshaber
928205a44a
s/grammarName/grammar
2016-03-03 10:09:18 -05:00
joshaber
98c8a08ac3
s/ignoreScrollPastEnd/scrollPastEnd
2016-03-03 10:06:15 -05:00
joshaber
db20cecfc0
s/ignoreInvisibles/showInvisibles
2016-03-03 09:59:45 -05:00
joshaber
b26b6ced0a
Merge branch 'master' into atom-textarea
2016-03-03 09:53:11 -05:00
Nathan Sobo
64ed1a0e43
Populate initialPaths based on pathsToOpen if not specified
...
This ensures that we deserialize projects correctly when specifying
command line arguments.
2016-03-02 17:00:27 -07:00