Commit Graph

12027 Commits

Author SHA1 Message Date
Antonio Scandurra
a0ce1e6d01 Narrow scope and rename flag 2015-05-27 12:59:36 +02:00
Antonio Scandurra
7926ca5f23 Declare atom.hasTiledEditor = true
This way packages that are affected by relative coordinates will be
able to smoothly upgrade using a feature toggle.
2015-05-27 09:01:41 +02:00
Nathan Sobo
c02294c404 Merge branch 'master' into as-tiled-rendering 2015-05-22 09:46:00 +02:00
Nathan Sobo
865015e47d Correctly compute bufferDelta for last soft wrap line segment
Fixes #6885
2015-05-21 19:56:53 +02:00
Nathan Sobo
321d310e8a Avoid more allocations in transformContent 2015-05-21 19:56:53 +02:00
Nathan Sobo
b4444df442 Minimize substring calls and concatenation in transformContent 2015-05-21 19:56:53 +02:00
Nathan Sobo
2379b3803f Revert "Revert "Merge pull request #6757 from atom/ns-less-memory-for-tokens""
This reverts commit 7cb0bc3bc2.
2015-05-21 19:56:52 +02:00
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
Antonio Scandurra
c9a159aab3 🔥 Remove unused requires 2015-05-21 11:16:28 +02:00
Antonio Scandurra
1a5e2fe5dd 🎨 2015-05-21 10:48:04 +02:00
Antonio Scandurra
efeb129cff Rename LinesComponent to TileComponent 2015-05-21 10:47:23 +02:00
Antonio Scandurra
299ee5dbf3 Merge branch 'master' into as-tiled-rendering
# Conflicts:
#	spec/text-editor-presenter-spec.coffee
#	src/lines-component.coffee
#	src/text-editor-presenter.coffee
2015-05-21 10:46:52 +02:00
Antonio Scandurra
f49078d394 wip 2015-05-21 10:40:37 +02:00
Antonio Scandurra
1a18cda000 💚 Fix remaining specs 2015-05-21 10:00:46 +02:00
Antonio Scandurra
752dbf2c6e Manually config tileSize
Dealing with a manually entered `tileSize` is actually easier to reason about,
therefore we no longer calculate it based on `tileCount.`
2015-05-21 09:59:58 +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
Antonio Scandurra
329b5b4e02 Merge branch 'master' into as-tiled-rendering 2015-05-20 17:16:45 +02:00
Antonio Scandurra
ffc73f3b7b Reduce tile count to 4 2015-05-20 12:07:12 +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
Antonio Scandurra
9fee62d884 🔥 Remove comment 2015-05-19 19:01:11 +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
Antonio Scandurra
90b1228622 🐎 Bump tileCount to 6 2015-05-19 10:26:44 +02:00
Antonio Scandurra
b9138967e1 🎨 2015-05-19 09:24:44 +02:00
Antonio Scandurra
350b306c33 Merge branch 'master' into as-tiled-rendering 2015-05-19 08:51:03 +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
Antonio Scandurra
ba0df9fecb Avoid allocating an extra array 2015-05-18 14:55:23 +02:00
Antonio Scandurra
dc6938ae37 🎨 2015-05-18 14:48:25 +02:00
Antonio Scandurra
dbc57abeb0 🔥 Remove obsolete node pool 2015-05-18 11:50:13 +02:00
Antonio Scandurra
b66fdca057 Merge branch 'master' into as-tiled-rendering
Conflicts:
	spec/text-editor-presenter-spec.coffee
2015-05-18 11:49:12 +02: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