Commit Graph

365 Commits

Author SHA1 Message Date
wpowell-oss
0b55d4e144 maxScreenLineLength rebased to github 2017-09-12 14:38:29 +12:00
wpowell-oss
f2bb941a51 Rebase to github/master 2017-09-12 13:58:26 +12:00
Warren Powell
a73f68c0dd Spec test for setMaxScreenLineLength 2017-09-12 13:58:26 +12:00
Josh Soref
9ca5662bcb spelling: recycle 2017-09-10 15:46:40 +00:00
Josh Soref
161a7f1788 spelling: perseveres 2017-09-10 15:46:40 +00:00
Josh Soref
27e021e22b spelling: precedes 2017-09-10 15:46:40 +00:00
Josh Soref
6fc5ff8513 spelling: previous 2017-09-10 15:46:40 +00:00
Josh Soref
d425272725 spelling: indentation 2017-09-10 15:46:39 +00:00
Josh Soref
6ce5f48203 spelling: doesn't 2017-09-10 15:46:39 +00:00
Josh Soref
fa249d5764 spelling: cursor 2017-09-10 15:46:39 +00:00
Josh Soref
1b7f3cad92 spelling: beginning 2017-09-10 15:46:38 +00:00
Max Brunsfeld
a7736b81e3 Remove code for preserving cursor position on buffer reload
Updating the markers correctly is handled by TextBuffer. This
was actually breaking it.
2017-06-02 09:58:57 -07:00
Max Brunsfeld
6c0b70f5f3 Start work on integrating new native TextBuffer version 2017-05-19 11:33:49 -07:00
Antonio Scandurra
d44876f3bc Merge branch 'master' into tj-upgrade-electron 2017-05-16 14:39:47 +02:00
Lee Dohm
1559c8a047 Merge pull request #12946 from jamsinclair/11848-fix-moving-line-without-line-ending
Fixes #11848 Moving line up without line ending
2017-05-13 15:00:46 -07:00
Antonio Scandurra
39a5705e39 Re-enable a test that was previously failing 2017-05-11 11:06:35 +02:00
Antonio Scandurra
c541d3941c Fix remaining test failures in core 2017-05-05 09:30:08 +02:00
Antonio Scandurra
001fef4a05 Don't activate scrollPastEnd for autoHeight editors 2017-05-05 09:30:08 +02:00
Nathan Sobo
24e03ee4e6 Fix pageUp/Down tests by using a real element 2017-05-05 09:29:29 +02:00
Nathan Sobo
f2070ef880 Restore editor scroll position across reloads
This commit introduces the concept of a scrollTopRow and
scrollLeftColumn which is used to query and update the logical scroll
position.
2017-05-05 09:29:29 +02:00
Nathan Sobo
e232a868c5 Drop tests for set/getFirstVisibleScreenRow
These are now tested in text-editor-component-spec
2017-05-05 09:29:29 +02:00
Antonio Scandurra
1d01d499a9 Fix spec/text-editor-spec.coffee 2017-05-05 09:29:29 +02:00
Lee Dohm
6a76ef5dd6 Merge pull request #13764 from atom/wl-dont-soft-wrap-minis
Disable soft wrap on mini editors
2017-03-29 14:38:47 -07:00
Amy Troschinetz
ac7bb27e22 Select the replaced text post replacement. 2017-03-08 20:24:31 -06:00
Max Brunsfeld
c1d1bbcb18 Provide a fresh environment when deserializing in specs 2017-03-02 11:54:00 -08:00
Wliu
29c956e66f Spec! 2017-02-06 22:59:47 -05:00
Antonio Scandurra
e49ac783f8 Fix infinite recursion when calling getLastSelection from onDidAddCursor 2017-01-24 12:18:09 +01:00
Andres Suarez
1ee9d7b0f9 Add showCursorOnSelection config 2017-01-20 08:53:28 -05:00
Nathan Sobo
76d84a7890 Handle multiple selections intersecting a line in duplicateLines 2017-01-12 13:38:19 -07:00
Max Brunsfeld
126f5380ba Emit editor destroyed event after releasing the editor's buffer 2017-01-03 15:18:01 -08:00
Max Brunsfeld
6f13159549 Don't throw exceptions when using editor APIs after destroying the editor
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-01-03 14:00:50 -08:00
Max Brunsfeld
f4371efb74 Fix usages of destroyed buffers in specs 2017-01-02 11:32:02 -08:00
Nathan Sobo
8b181063ca Adjust spec now that tab length does not affect leading space tokens 2016-12-13 00:09:09 -07:00
Max Brunsfeld
65edebda73 Update test to reflect new soft wrap indent clipping behavior
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-12-12 17:05:18 -08:00
bene
0411509b43 Fix toggleLineCommentsInSelection for empty lines 2016-10-29 14:04:30 +02:00
Ian Olsen
f726dcc81b Merge pull request #12922 from stereobooster/10474-prompt-to-save-unsaved-buffer
Fix for #10474
2016-10-26 16:35:43 -07:00
Antonio Scandurra
4df74beba7 Merge branch 'master' into as-deprecate-shadow-dom 2016-10-17 12:06:00 +02:00
jamsinclair
aabf472e95 Add test for moving lines up without last line ending 2016-10-12 10:22:25 +13:00
stereobooster
63b9c8eb4b Add test coverage for save before close 2016-10-11 01:19:55 +03:00
Antonio Scandurra
3d2e18747f Prefer using new TextEditor to Workspace.prototype.buildTextEditor 2016-10-10 09:28:36 +02:00
Antonio Scandurra
18ddcf902b Statically assign a clipboard instance to the TextEditor class 2016-10-07 18:21:09 +02:00
Antonio Scandurra
901b0b17a3 Fix failing tests 2016-10-07 13:41:00 +02:00
Max Brunsfeld
d79690e2d5 Merge pull request #12823 from atom/mb-as-guard-tab-length
Guard against null tab length value
2016-09-29 14:21:54 -07:00
Max Brunsfeld
556d79b544 Guard against null tab length value
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-09-29 12:01:39 -07:00
Indrek Ardel
55f3311c01 Remove unused variables 2016-09-26 20:52:13 +03:00
Antonio Scandurra
de6b836da4 Add test coverage for copying auto{Width,Height} 2016-08-19 14:10:59 +02:00
Antonio Scandurra
1f4cd6e00d Merge branch 'master' into ns-fix-editor-auto-height
# Conflicts:
#	src/text-editor.coffee
2016-08-19 13:27:26 +02:00
Max Brunsfeld
26c9e5ee78 Set editor's tokenized buffer's tab length on its display layer when deserializing 2016-08-18 17:06:26 -07:00
Nathan Sobo
dd82902bf2 Disable autoHeight on text editor pane items 2016-08-18 14:03:44 -06:00
Max Brunsfeld
90b699f5cc Remove some text editor ivars that are redundant w/ display layer properties 2016-08-18 10:41:11 -07:00