Commit Graph

24640 Commits

Author SHA1 Message Date
Max Brunsfeld
fe2cfff7a6 Allocate fewer objects for fold attributes in DisplayBuffer 2015-05-13 17:00:35 -07:00
Jess Lin
57d0887346 [Gutter] Move line number gutter tests to be under .gutters in TextEditorPresenter specs 2015-05-13 16:47:42 -07:00
Jess Lin
e34dfc636c [Gutter] Fix custom decorations tests in TextEditorPresenter specs 2015-05-13 16:47:42 -07:00
Jess Lin
cd806ee764 [Gutter] Fix former .sortedDescription tests in TextEditorPresenter specs 2015-05-13 16:47:42 -07:00
Jess Lin
b6055f3a67 [Gutter] Fix shared gutter styles tests in TextEditorPresenter specs 2015-05-13 16:47:42 -07:00
Jess Lin
fdb696f4dc [Gutter] Fix line-number gutter tests in TextEditorPresenter specs 2015-05-13 16:47:42 -07:00
Nathan Sobo
64c0ef8bd8 Remove more usages of tokens shim 2015-05-14 01:46:49 +02:00
Nathan Sobo
173bc82e42 Don’t include tokens in presenter state for lines 2015-05-14 01:46:32 +02:00
Ben Ogle
ddc603e4b8 ⬆️ autocomplete-html@0.7.2 2015-05-13 16:31:37 -07:00
Kevin Sawicki
3366054a97 Merge pull request #6773 from atom/bf-disable-auto-update-during-tests
Do not create an AutoUpdateManager when in test mode.
2015-05-13 16:30:52 -07:00
Nathan Sobo
37d9a00b37 Use TokenIterator in DisplayBuffer instead of tokens shim 2015-05-14 01:15:44 +02:00
Nathan Sobo
0ca967d6b0 Switch character measurement to TokenIterator
Instead of using TokenizedLine::tokens shim
2015-05-14 01:10:29 +02:00
Nathan Sobo
c76b45206b Use TokenIterator to compute horizontal pixel positions
Instead of the TokenizedLine::tokens shim
2015-05-14 01:03:34 +02:00
Kevin Sawicki
6c81f7233b Don't quit and install in test mode 2015-05-13 15:58:14 -07:00
Kevin Sawicki
2bbdd9446d 🎨 2015-05-13 15:55:56 -07:00
Kevin Sawicki
cb223fa03e Don't check for updates in test mode 2015-05-13 15:55:17 -07:00
Nathan Sobo
121e42deba Use TokenIterator to build line HTML 2015-05-14 00:55:06 +02:00
Kevin Sawicki
d319d17dcd Always call showUpdateMenuItem 2015-05-13 15:35:27 -07:00
Kevin Sawicki
2195b1a38d Pass auto update manager into application menu 2015-05-13 15:33:56 -07:00
Nathan Sobo
0eb97e6a96 Use TokenIterator for position translation 2015-05-14 00:33:27 +02:00
Kevin Sawicki
c8d6d883f3 ⬆️ deprecation-cop@0.47 2015-05-13 15:30:00 -07:00
Kevin Sawicki
720deff1cd ⬆️ grim@1.4.1 2015-05-13 15:26:23 -07:00
Kevin Sawicki
356fa4ac24 🎨 2015-05-13 15:21:57 -07:00
Michael Bolin
bcd20a7cd2 Do not create an AutoUpdateManager when in test mode. 2015-05-13 15:20:57 -07:00
Nathan Sobo
da2df2297a Add a TokenIterator and use it for tokens shim 2015-05-14 00:15:31 +02:00
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