Nathan Sobo
7cb0bc3bc2
Revert "Merge pull request #6757 from atom/ns-less-memory-for-tokens"
...
This reverts commit 0cd1f110b5 , reversing
changes made to d75d202d33 .
Conflicts:
package.json
2015-05-21 16:25:23 +02:00
Nathan Sobo
50dd7ebbce
Only perform a single marker query for folds when updating screen lines
...
This saves over 50ms to initialize the DisplayBuffer when opening
`text-editor.coffee`.
2015-05-21 00:54:12 +02:00
Nathan Sobo
0cd1f110b5
Merge pull request #6757 from atom/ns-less-memory-for-tokens
...
Use 70% less memory for TokenizedLines by using a different representation
2015-05-20 19:47:52 +02:00
Nathan Sobo
d75d202d33
Remove defunct ‘editor:move-to-previous-word’ command
...
The method this command calls was removed a very long time ago. Use
‘editor:move-to-previous-word-boundary’ instead.
Fixes atom/command-palette#41
2015-05-20 19:47:30 +02:00
Nathan Sobo
2beb6c0fe0
Pass TokenIterator reference instead of using global singleton
...
Adds an extra reference to each tokenized line but is also more sane.
/cc @maxbrunsfeld
2015-05-20 19:29:38 +02:00
Kevin Sawicki
847796d25d
Merge pull request #6502 from atom/mq-replace-optimist
...
Replace optimist with yargs
2015-05-19 18:47:29 -07:00
Max Brunsfeld
2bfbb7619e
Fix bug w/ markers mutated inside of change listeners
2015-05-19 17:48:53 -07:00
Machiste Quintana
db920468ab
Wrap CLI columns at 100
2015-05-19 19:38:37 -04:00
Machiste Quintana
7bf587c067
Merge branch 'master' into mq-replace-optimist
2015-05-19 19:35:29 -04:00
Nathan Sobo
a109b3811c
Add TokenizedLine::getTokenIterator
...
This will not be part of the public API but will replace another
non-public API usage in autocomplete-plus.
2015-05-19 23:19:45 +02:00
Nathan Sobo
13db572ac8
Avoid error in donna npm while generating documentation
2015-05-19 17:55:36 +02:00
Nathan Sobo
564d75c534
⬆️ first-mate
2015-05-19 17:22:25 +02:00
Nathan Sobo
adb4988c02
Merge remote-tracking branch 'origin/master' into ns-less-memory-for-tokens
2015-05-19 01:52:10 +02:00
Kevin Sawicki
00505188fa
Add spec for grammar score tie-breaking
2015-05-18 15:30:14 -07:00
Kevin Sawicki
8b25eb4f0f
Guard against missing best match
2015-05-18 15:30:14 -07:00
Kevin Sawicki
403f7cbc6b
Favor non bundle packages when breaking ties
2015-05-18 15:30:14 -07:00
Kevin Sawicki
db9b655d49
Mark which grammars are from bundled packages
2015-05-18 15:30:14 -07:00
Kevin Sawicki
655ce1af77
30 minutes -> 4 hours
2015-05-18 09:11:31 -07:00
Kevin Sawicki
672cb89e84
Extract schedule update check helper
2015-05-18 09:11:31 -07:00
Kevin Sawicki
7739646699
Check for updates every 30 minutes
2015-05-18 09:11:31 -07:00
Nathan Sobo
3dcf9a4c66
Merge remote-tracking branch 'origin/master' into ns-less-memory-for-tokens
2015-05-16 03:05:11 +02:00
Nathan Sobo
0c153a298e
Use scope of last token if we iterate off the end
2015-05-16 00:46:31 +02:00
Nathan Sobo
1923033198
Fix spurious lint error by rearranging syntax
2015-05-16 00:12:43 +02:00
Nathan Sobo
4b5b64f782
Return scopes at very end of token for the last token on a line
2015-05-16 00:06:52 +02:00
Max Brunsfeld
d9e4aa16d2
Run package specs from the active item's project folder
2015-05-14 16:18:54 -07:00
jssln
f6b15ee678
Merge pull request #6776 from jssln/gutterPolish
...
Refactor `state.gutters` in TextEditorPresenter; pass minimal state to gutter components
2015-05-14 15:43:39 -07:00
Max Brunsfeld
855d327d35
Merge pull request #6760 from atom/mb-text-buffer-6
...
Upgrade text-buffer for marker performance improvements
2015-05-14 14:29:35 -07:00
Nathan Sobo
ec4c453b87
⬆️ first-mate
2015-05-14 23:08:02 +02:00
Nathan Sobo
870b4739e7
Merge branch 'master' into ns-less-memory-for-tokens
2015-05-14 21:44:31 +02:00
Nathan Sobo
4235c15dd8
🔥 debugger
2015-05-14 21:43:45 +02:00
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
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
Max Brunsfeld
1a0d99621b
Avoid saving window state when closing windows after quitting
2015-05-14 09:36:12 -07: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
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