Commit Graph

23375 Commits

Author SHA1 Message Date
Nathan Sobo
915b13e75c ⬆️ first-mate to 4.0.0 for tagged token representation 2015-05-14 21:35:51 +02:00
Nathan Sobo
e694b18ae2 Merge branch 'master' into ns-less-memory-for-tokens
Conflicts:
	spec/tokenized-buffer-spec.coffee
	src/tokenized-buffer.coffee
2015-05-14 18:55:16 +02:00
Nathan Sobo
ac5a5d5ba0 Remove unused TokenizedBuffer methods that relied on tokens shim 2015-05-14 17:51:46 +02:00
Nathan Sobo
27b30303e1 Avoid tokens shim in isBufferRowCommented 2015-05-14 17:39:35 +02:00
Nathan Sobo
64f576624e Avoid tokens shim in suggestedIndent code 2015-05-14 17:39:23 +02:00
Max Brunsfeld
8c61a6b5d2 Merge pull request #6777 from atom/mb-open-files-faster
Improve performance of opening files
2015-05-13 21:37:56 -07:00
Max Brunsfeld
31c1ac412b 🎨 remove duplication in TokenizedBuffer::setGrammar 2015-05-13 21:23:20 -07:00
Max Brunsfeld
19d905606b Avoid double computation of screen lines when opening files
Previously, instantiating a TextEditor would always compute compute
screen lines twice: once when the DisplayBuffer was instantiated,
and once when the 'invisibles' property was set on the DisplayBuffer.
2015-05-13 19:59:25 -07:00
Ben Ogle
0a0c42850b ⬆️ autocomplete-plus@2.15.2 2015-05-13 18:18:57 -07:00
Ben Ogle
80d41c70ee ⬆️ metrics@0.46.0 2015-05-13 18:16:00 -07:00
simurai
e73f47dfa3 ⬆️ status-bar@0.72.0 2015-05-14 10:09:30 +09:00
Max Brunsfeld
fe2cfff7a6 Allocate fewer objects for fold attributes in DisplayBuffer 2015-05-13 17:00:35 -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