Commit Graph

24013 Commits

Author SHA1 Message Date
Nathan Sobo
a7550666dd Remove dead code 2015-05-13 22:50:05 +02:00
Nathan Sobo
dc473698a9 🎨 2015-05-13 22:03:29 +02:00
Nathan Sobo
00b30f7db8 Remove some dead code 2015-05-13 22:03:26 +02:00
Nathan Sobo
d7f5588904 Generate line HTML based on tags instead of tokens
This avoids creating a bunch of tokens as temporary objects since they
are no longer stored.
2015-05-13 21:57:53 +02:00
Nathan Sobo
6b51b5d02a Rename parentScopes to openScopes 2015-05-13 21:17:46 +02:00
Nathan Sobo
bf6754981b decodeContent -> decodeTokens 2015-05-13 21:17:46 +02:00
Nathan Sobo
2765753791 Don’t assume same token instances in spec now that we use shims 2015-05-13 21:17:46 +02:00
Nathan Sobo
8ab9a9f9bb Account for softWrapIndent when assigning indices on soft wrap line 2015-05-13 21:17:46 +02:00
Nathan Sobo
d90d1f0ea7 Don’t build ::specialTokens unless properties are provided 2015-05-13 21:17:45 +02:00
Nathan Sobo
6befa0200f Assign ::isHardTab to shim tokens 2015-05-13 21:17:45 +02:00
Nathan Sobo
75112a017d Fix assignment of last non-whitespace column for paired characters 2015-05-13 21:17:45 +02:00
Nathan Sobo
2afe013f9e Assign ::hasInvisibleCharacters on Token shims 2015-05-13 21:17:45 +02:00
Nathan Sobo
77e8a906c2 Fix soft wrapping with tags array, including soft-wrap indent 2015-05-13 21:17:45 +02:00
Nathan Sobo
b8895cdaaf Update spec based on new interface for Grammar::tokenizeLine 2015-05-13 21:17:45 +02:00
Nathan Sobo
70eb7f77b0 Drop unused methods 2015-05-13 21:17:45 +02:00
Nathan Sobo
a8d01bcec1 Fix bufferRangeForScopeAtPosition with new tags array scheme 2015-05-13 21:17:45 +02:00
Nathan Sobo
24967afed1 Substitute invisibles in initial scan 2015-05-13 21:17:45 +02:00
Nathan Sobo
6eb61d977d Delete spec that’s no longer relevant 2015-05-13 21:17:45 +02:00
Nathan Sobo
6274ac25fa Fix TokenizedLine::copy for new representation 2015-05-13 21:17:44 +02:00
Nathan Sobo
f3f609861e Make TokenizedLine::softWrapAt work with new token representation 2015-05-13 21:17:44 +02:00
Nathan Sobo
9d93d18a8f Mark leading/trailing whitespace in new TokenizedLine representation 2015-05-13 21:17:44 +02:00
Nathan Sobo
9554bfd393 Break out hard tabs and paired characters from numeric tag arrays 2015-05-13 21:17:44 +02:00
Nathan Sobo
43806d6416 Break out leading soft tabs after switching to numeric tag arrays 2015-05-13 21:17:44 +02:00
Nathan Sobo
06b5d27357 Adapt to first-mate returning purely numeric tag arrays 2015-05-13 21:17:44 +02:00
Nathan Sobo
9583ff04e6 WIP: Start integrating with nested words version of first-mate 2015-05-13 21:17:44 +02:00
Jess Lin
a84c79c650 [Gutter] Fix GutterContainerComponent spec 2015-05-13 12:04:47 -07:00
Jess Lin
27319c4300 [Gutter] Fix CustomGutterComponent spec 2015-05-13 11:48:25 -07:00
Ben Ogle
554269eb13 Merge pull request #6710 from atom/bo-ac-plus
Bundle Autocomplete-plus instead of autocomplete
2015-05-13 11:45:48 -07:00
Ben Ogle
a937dc2fd4 Dont remove symlinked autocomplete-plus packages 2015-05-13 11:30:35 -07:00
Ben Ogle
1abca560cd ⬆️ autocomplete-plus@2.15.1 2015-05-13 11:26:56 -07:00
Jess Lin
957424f987 [Gutter] @state.gutter.sortedDescriptions -> @state.gutters 2015-05-13 11:15:44 -07:00
Jess Lin
733e9947a4 [Gutter] Kill old (now unused) state hanging off @state.gutters 2015-05-13 11:15:44 -07:00
Jess Lin
c128788a3b [Gutter] Migrate CustomGutterComponent to consume new state format 2015-05-13 11:15:44 -07:00
Max Brunsfeld
205f687283 Merge pull request #6684 from atom/mb-improve-open-window-saving
Save state of open windows more frequently
2015-05-13 11:08:20 -07:00
Jess Lin
0a7f6ae187 [Gutter] Migrate LineNumberGutterComponent to consume new state format 2015-05-13 10:59:31 -07:00
Jess Lin
03657b3ef9 [Gutter] Insert gutter 'content' into 'sortedDescriptions' 2015-05-13 10:59:31 -07:00
Jess Lin
02aacef02b [Gutter] Create dedicated lineNumberGutter state 2015-05-13 10:59:31 -07:00
Jess Lin
da360b59e7 [Gutter] Clear custom gutter decoration state objects instead of reassigning to new objects 2015-05-13 10:59:31 -07:00
Jess Lin
75edb9a5f1 [Gutter] Add dedicated customGutterDecorations state 2015-05-13 10:59:31 -07:00
Jess Lin
8fc6d20493 [Gutter] Create separate state for shared gutter styles, and copy into @state.gutters.sortedDescriptions 2015-05-13 10:59:31 -07:00
Max Brunsfeld
dabf5b5f69 Don't save windows state when apm test finishes 2015-05-13 10:52:13 -07:00
Max Brunsfeld
6026c78d9e Don't save window state when closing spec windows 2015-05-13 10:44:23 -07:00
Max Brunsfeld
8ddfa8690b Save window state when atom.exit() is called 2015-05-13 10:44:23 -07:00
Max Brunsfeld
62c406f450 Save open window state when a window loses focus 2015-05-13 10:44:23 -07:00
Max Brunsfeld
725a564e62 Avoid saving windows state when quitting on windows/linux 2015-05-13 10:44:23 -07:00
Max Brunsfeld
1edeb7b568 Save list of open windows as windows are added/removed 2015-05-13 10:44:23 -07:00
Kevin Sawicki
0dc3dbacfc Merge pull request #6759 from atom/ks-show-window-sooner
Show window sooner
2015-05-13 10:25:27 -07:00
Max Brunsfeld
ef6c16de76 🔥 dead code for handling deferred marker change events 2015-05-13 10:24:03 -07:00
Kevin Sawicki
9f2faa086b Add back raw load settings logging 2015-05-13 10:11:46 -07:00
Kevin Sawicki
41d3764189 🎨 2015-05-13 10:09:34 -07:00