Commit Graph

23303 Commits

Author SHA1 Message Date
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
Nathan Sobo
121e42deba Use TokenIterator to build line HTML 2015-05-14 00:55:06 +02:00
Nathan Sobo
0eb97e6a96 Use TokenIterator for position translation 2015-05-14 00:33:27 +02: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
Kevin Sawicki
e455acec5e ⬆️ language-gfm@0.74 2015-05-13 08:56:12 -07:00
Max Brunsfeld
6f5e7cdd5c ⬆️ find-and-replace 2015-05-12 18:02:17 -07:00
Kevin Sawicki
3081e84030 ⬆️ apm@0.167 2015-05-12 17:31:50 -07:00
Kevin Sawicki
9fccb0dc42 Run core package specs in 1.0 API preview mode 2015-05-12 08:47:42 -07:00
Kevin Sawicki
0fe9de25a6 ⬆️ package-generator@0.39 2015-05-12 08:46:47 -07:00
Kevin Sawicki
d748281ca6 Merge pull request #6750 from atom/iz-fix-decoration-deprecation
Remove extra function wrapper in deprecated Decoration::update method
2015-05-12 08:38:44 -07:00
Kevin Sawicki
bbc212674a ⬆️ settings-view@0.199 2015-05-12 08:37:33 -07:00
Kevin Sawicki
fbeae41f43 ⬆️ deprecation-cop@0.46 2015-05-12 08:32:23 -07:00
Ivan Zuzak
b2dd8835b3 Remove extra function wrapper 2015-05-12 12:54:15 +02:00
Kevin Sawicki
ccc6b17089 ⬆️ spell-check@0.58 2015-05-11 18:19:46 -07:00
Kevin Sawicki
209ed2fe13 Stop shipping the feedback package 2015-05-11 18:18:00 -07:00
Jessica Lord
ca906bb435 Merge pull request #6747 from atom/jl-bump-vers
Bump grammar-selector@0.47.0
2015-05-11 18:17:16 -07:00
Kevin Sawicki
0c09734140 Merge pull request #6743 from atom/ks-unpack-spellchecker
Don't pack spellchecker into asar archive
2015-05-11 18:11:26 -07:00
Kevin Sawicki
250670be23 Guard against missing tooltip data 2015-05-11 18:10:57 -07:00
Jessica Lord
fa4312d37c ⬆️ grammar-selector@0.47.0 2015-05-11 18:03:21 -07:00
Jessica Lord
e3813218b8 Merge pull request #6746 from atom/jl-fix-semver
Correct semver in spec
2015-05-11 17:20:58 -07:00
Jessica Lord
f2ffe253ab Merge pull request #6745 from atom/jl-bump-for-license
Bump versions for packages updated with license field
2015-05-11 17:20:49 -07:00
Kevin Sawicki
9b76752827 ⬆️ spell-check@0.57 2015-05-11 17:18:07 -07:00
Jessica Lord
3e73eadb6c Correct semver by adding 3rd digit 2015-05-11 16:08:44 -07:00