Commit Graph

13316 Commits

Author SHA1 Message Date
Nathan Sobo
51a7c9ea68 Always set devMode to true for spec windows 2015-11-09 00:35:32 -07:00
Nathan Sobo
3a4199a0cd Allow (start/end)(Buffer/Screen)Position in findMarker queries on layers 2015-11-09 00:35:32 -07:00
Nathan Sobo
533146bc6a Document new APIs 2015-11-09 00:35:32 -07:00
Nathan Sobo
9714f2e729 Emit decoration events synchronously in legacy spec environment
This is needed to keep a bunch of package tests passing that expect
synchronous decoration updates.
2015-11-09 00:35:31 -07:00
Nathan Sobo
9ee3d53975 Destroy the selections marker layer when editors are destroyed 2015-11-09 00:35:31 -07:00
Nathan Sobo
2f81e5faac Store folds in their own marker layer 2015-11-09 00:35:31 -07:00
Nathan Sobo
29bb1bb31b Add TextEditor-level marker layers and use them for selections 2015-11-09 00:35:31 -07:00
Nathan Sobo
1ee6384332 Add TextEditorMarkerLayer 2015-11-09 00:35:31 -07:00
Nathan Sobo
b1a5b58fa2 Rename Marker to TextEditorMarker to resolve ambiguity w/ TextBuffer API
We expose both kinds of markers in Atom, and the docs were actually
wrong when we refer to Markers from TextBuffer because it linked to the
TextEditor layer’s Marker implementation. This will clarify the
difference.
2015-11-09 00:35:30 -07:00
Nathan Sobo
78513f4528 Remove duplicated method definition 2015-11-09 00:35:28 -07:00
Nathan Sobo
a3ff0ad75a 🎨 Rename method 2015-11-09 00:35:28 -07:00
Nathan Sobo
75d0a0820c Allow properties to be overridden for a single marker in LayerDecoration 2015-11-09 00:35:28 -07:00
Nathan Sobo
acf142863c Add TextEditor::decorateMarkerLayer 2015-11-09 00:35:27 -07:00
Nathan Sobo
3a25fe4975 Remove id from decoration properties
It doesn’t make sense to include this when we’ll reuse the same
properties for multiple decoration instances when decorating marker
layers.
2015-11-09 00:35:27 -07:00
Nathan Sobo
d7b0ab9179 Simplify updating of custom gutter decoration state 2015-11-09 00:35:27 -07:00
Nathan Sobo
92ed7c8b15 Don’t return Decoration objects from model to view
Preparation for LayerDecorations, in which individual decoration objects
won’t exist for every marker.
2015-11-09 00:35:27 -07:00
Nathan Sobo
d46091d7e5 Remove dead code 2015-11-09 00:35:27 -07:00
Nathan Sobo
800440d5ca Remove logging 2015-11-09 00:35:27 -07:00
Nathan Sobo
4b5e4d02eb Use real clock in text-editor-component-spec
This will make it much easier to test asynchronous update logic.
2015-11-09 00:35:18 -07:00
Nathan Sobo
1aefb22789 Add ViewRegistry.prototype.getNextUpdatePromise
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-11-09 00:35:18 -07:00
Max Brunsfeld
cdaac9dfcc wip 2015-11-09 00:35:18 -07:00
Nathan Sobo
d46cea9c41 Disable throttling in test windows via WebAudio hack
Throttling in test windows is annoying when tests run interactively,
and *seems* to cause issues with animation frames not firing even in
headless tests, though it’s difficult to fully confirm since this issue
is intermittent.
2015-11-07 16:01:20 -07:00
Nathan Sobo
1fd2ba084c Merge pull request #8232 from lpommers/move-lines-up-and-down-with-multiple-selections
Move lines up and down with multiple selections
2015-11-07 14:40:58 -07:00
Wliu
232f54ed84 🔥 subpixel-font-scaling
This option was removed in Electron v0.33.9
2015-11-07 10:41:03 -05:00
Antonio Scandurra
7d97241f35 🎨 2015-11-06 17:41:00 +01:00
Antonio Scandurra
dd10216943 🐎 Make LanguageMode::unfoldAll faster 2015-11-06 13:16:09 +01:00
abe33
5b192ea295 🎨 Fix typo in moveLineUp comment 2015-11-05 20:36:22 +01:00
abe33
a4c2c724d6 Merge branch 'master' of github.com:atom/atom into cn-move-lines-up-and-down-with-multiple-selections 2015-11-05 18:59:18 +01:00
Wliu
1bb944dadc Add specs 2015-11-04 16:22:01 -05:00
Wliu
5f8b2b643b Include package name metadata when creating errors 2015-11-04 16:00:57 -05:00
abe33
80553028c1 🐛 Fix top of a wrapped line not visible when moving it up 2015-11-04 19:14:44 +01:00
abe33
aa7f87bd62 🐛 Fix auto indent no longer applied when moving lines 2015-11-04 18:56:13 +01:00
abe33
6b2725077a Merge back master 2015-11-04 18:26:27 +01:00
Kevin Sawicki
8dee7e6a65 🎨 2015-11-03 18:03:49 -08:00
Dave Rael
7cd44dc729 Add portable mode for Linux 2015-11-03 18:03:05 -08:00
Kevin Sawicki
afbb716a7a Mention .atom is a folder 2015-11-03 17:01:26 -08:00
Kevin Sawicki
a6c1ab0990 Remove : from error message 2015-11-03 17:01:26 -08:00
Kevin Sawicki
9ca94affc0 Mention conditional copying of .atom 2015-11-03 17:01:25 -08:00
Kevin Sawicki
97c19199c3 --set-portable -> --portable 2015-11-03 17:01:25 -08:00
Kevin Sawicki
0e9562de5d Log copy error message and stack separately 2015-11-03 17:01:25 -08:00
Kevin Sawicki
85a1471138 Improve copy portable error message 2015-11-03 17:01:25 -08:00
Kevin Sawicki
5d8edcd8ef Catch error copying portable folder 2015-11-03 17:01:25 -08:00
Kevin Sawicki
02f508720b Only use long option for set portable 2015-11-03 17:01:25 -08:00
Kevin Sawicki
d162eec601 🎨 2015-11-03 17:01:24 -08:00
Dave Rael
a95e582907 Restore passing of args lost in merge
to get command line parameter for setting portable mode into the atom home
interrogation
2015-11-03 17:01:24 -08:00
Dave Rael
e3da370d82 Add command line parameter to set portable
If parameter included, home directory will be copied to the portable
2015-11-03 17:01:24 -08:00
Kevin Sawicki
da0b177aa2 Assign args 2015-11-03 15:22:44 -08:00
Kevin Sawicki
2a7dc6c8de Revert parseCommandLine movement 2015-11-03 15:22:15 -08:00
Kevin Sawicki
77f9e9e5c5 Don't pull atomHome from settings, use env var only 2015-11-03 15:20:59 -08:00
Kevin Sawicki
999bf8911e Set atomHome on load settings from env var 2015-11-03 14:29:44 -08:00