Commit Graph

12724 Commits

Author SHA1 Message Date
Kevin Sawicki
f48351ed6a Remove uninstalling of autocomplete-emojis 2015-05-14 12:31:38 -07:00
Kevin Sawicki
117080b16d Check that url is string before replacing prefix 2015-05-14 11:30:41 -07:00
Kevin Sawicki
5dd4a2a1dc Remove metadata return 2015-05-14 11:29:39 -07:00
Antonio Scandurra
5201e4547b 🎨 2015-05-14 19:36:05 +02:00
Jessica Lord
d0e579478b Merge master 2015-05-14 10:24:29 -07:00
Jess Lin
881001b15a [Gutter][easy] Reverse a conditional to get rid of a 'not' 2015-05-14 10:19:25 -07: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
Jessica Lord
319cff8010 merge 2015-05-14 09:48:03 -07:00
Antonio Scandurra
265090e7bb Store tile state in a instance variable 2015-05-14 18:47:51 +02:00
Antonio Scandurra
26b7c5e58e 🔥 Get rid of unused tileId property 2015-05-14 18:40:44 +02:00
Max Brunsfeld
1a0d99621b Avoid saving window state when closing windows after quitting 2015-05-14 09:36:12 -07:00
Antonio Scandurra
723bf5a302 Reimplement lineNodeForScreenRow 2015-05-14 18:30:29 +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
Antonio Scandurra
e7ddb3d8ad 💚 Fix all TextEditorPresenter specs 2015-05-14 15:54:53 +02:00
Antonio Scandurra
c4dff15c73 Add @scrollLeft when calculating @contentWidth 2015-05-14 14:57:13 +02:00
Antonio Scandurra
6be88fd645 Scroll every single tile left/right 2015-05-14 11:36:20 +02:00
Antonio Scandurra
c39b1d2159 Merge branch 'master' into as-tiled-rendering 2015-05-14 10:45:32 +02: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
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
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
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
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
70eb7f77b0 Drop unused methods 2015-05-13 21:17:45 +02:00