Commit Graph

23859 Commits

Author SHA1 Message Date
Nathan Sobo
06b30b7d02 ⬆️ text-buffer
Fixes #6899
2015-06-08 18:06:20 +02:00
Kevin Sawicki
ac1b7d4fae Merge pull request #7150 from atom/tj-remove-workspaceview-mention
Remove mention of WorkspaceView which no longer exists
2015-06-08 09:02:40 -07:00
Kevin Sawicki
213adafb5f Merge pull request #7157 from atom/mq-lsb-core
Only use lsb-core instead of full suite of lsb packages
2015-06-08 09:01:42 -07:00
Machisté N. Quintana
9d70aec316 Only use lsb-core instead of full lsb suite 2015-06-07 10:49:25 -04:00
Thomas Johansen
fbf58d0725 📝 Remove mention of WorkspaceView which no longer exists
Fixes #7146
2015-06-07 09:30:10 +02:00
Ivan Žužak
2a71c4edfa Merge pull request #7149 from devoncarew/patch-1
Update text-editor.coffee
2015-06-07 07:24:33 +02:00
Devon Carew
786f3399ad Update text-editor.coffee
Fix a type in `src/text-editor.coffee` (`adter` => `after`).
2015-06-06 22:17:14 -07:00
Max Brunsfeld
f850750707 ⬆️ spell-check 2015-06-05 16:44:43 -07:00
Max Brunsfeld
02140c7182 ⬆️ find-and-replace, text-buffer 2015-06-05 16:26:53 -07:00
Nathan Sobo
6bba381393 Merge pull request #7130 from atom/ns-large-file-mode
Load large files with fewer features but much better performance
2015-06-06 00:05:27 +02:00
Nathan Sobo
88812831ce Only check for max line length when lines exist 2015-06-05 23:40:56 +02:00
Nathan Sobo
3ac9d539ce Add a super basic test for large file mode 2015-06-05 23:40:38 +02:00
Nathan Sobo
df733aa3de Add a basic test for opening an editor in largeFileMode if >= 2MB 2015-06-05 23:25:48 +02:00
Nathan Sobo
ffcebdad33 Remove outdated test 2015-06-05 23:14:11 +02:00
Max Brunsfeld
df7297e709 Merge pull request #7129 from atom/mb-fix-redundant-updates
Avoid redundant decoration state updates in presenter
2015-06-05 14:06:10 -07:00
Max Brunsfeld
2732e0dcac presenter: 🔥 redundant decoration state updates 2015-06-05 13:31:24 -07:00
Nathan Sobo
48ce361bd0 Select grammars based on first 10 lines of content, not the entire file 2015-06-05 22:24:49 +02:00
Kevin Sawicki
1800a9fb1d Prepare 0.208 2015-06-05 12:52:34 -07:00
Nathan Sobo
56273e7eef Preserve large file mode across serialization and pane splits 2015-06-05 21:44:23 +02:00
Nathan Sobo
efd4662de0 Don’t allow soft wrap to be enabled in large file mode 2015-06-05 21:36:20 +02:00
Nathan Sobo
639647d115 Disallow fold creation in large file mode 2015-06-05 21:31:06 +02:00
Max Brunsfeld
2337254afb Fix text-editor-component-spec failure
Grouping intervals are exclusive now. It shouldn't affect anybody
since it's a one-millisecond change to the meaning of
grouping-interval, but it required changing some time intervals
in this spec.
2015-06-05 12:05:05 -07:00
Max Brunsfeld
0f24e369c6 ⬆️ text-buffer 2015-06-05 11:29:36 -07:00
Nathan Sobo
c34838277d In largeFileMode, base maxLineLength on the longest line we’ve seen
This is pretty hacky. If we want to compute the true longest line, we’ll
need to process every line, which is what large file mode is designed
to avoid. So now whenever the display buffer returns a line, it has
the potential to update the longest line.

This is a bit weird because retrieving a line now has a side effect.
It’s even more weird because the longest line will actually be wrong for
the initial state updates in the TextEditorPresenter. But as soon as
the user interacts in any way the dimensions are recomputed, so it works
for now.

A better approach may be to set a visible region on the display buffer.
But I’d like to keep this low-touch until we have a chance to revisit
the design of DisplayBuffer in a bigger way.
2015-06-05 19:55:34 +02:00
Nathan Sobo
c37caaf59d Merge pull request #7125 from atom/ns-fix-scope-descriptor-for-position
Use buffer coordinates in TokenizedBuffer::scopeDescriptorForPosition
2015-06-05 18:30:17 +02:00
Nathan Sobo
53a3239379 Use buffer coordinates in TokenizedBuffer::scopeDescriptorForPosition
Fixes #7073
2015-06-05 18:18:42 +02:00
Kevin Sawicki
2b3329673f ⬆️ settings-view@0.208 2015-06-05 09:03:22 -07:00
Kevin Sawicki
1753840dfa Merge pull request #7123 from atom/ks-migrate-sublime-tabs
Re-enable tree-view and tabs when sublime-tabs is installed but not loaded
2015-06-05 09:02:35 -07:00
Ivan Žužak
786bfc7ebd ⬆️ notifications@0.52.0 2015-06-05 17:51:42 +02:00
Kevin Sawicki
71f9c26418 Only migrate config when not including deprecated APIs 2015-06-05 08:47:00 -07:00
Kevin Sawicki
022d0cead3 Re-enable tree-view and tabs sublime-tabs is installed 2015-06-05 08:43:11 -07:00
Ivan Žužak
ccd739ff65 ⬆️ notifications@0.51.0 2015-06-05 16:35:48 +02:00
simurai
d139ef9399 ⬆️ one-dark-syntax@v0.7.1 2015-06-05 16:12:15 +09:00
Nathan Sobo
de508db9b2 Implement basic large file mode for editor
* Don’t tokenize
* Don’t build metadata to support folds and soft wraps

Remaining issues:

* Max line length is hard coded
* Foldable indicators should be disabled
* Folding via API should be disallowed
2015-06-05 02:25:57 +02:00
Nathan Sobo
5b494b7b17 Lazily construct placeholder lines in TokenizedBuffer 2015-06-05 02:22:44 +02:00
Kevin Sawicki
f585b5bb12 Prepare 0.207 2015-06-04 15:05:05 -07:00
Kevin Sawicki
5793919f3b ⬆️ apm@0.171 2015-06-04 14:07:53 -07:00
Ben Ogle
2f26de3e26 Remove treeview from the deprecated packages 2015-06-04 13:52:05 -07:00
Kevin Sawicki
65831f1a4d ⬆️ language-html@0.39 2015-06-04 11:25:14 -07:00
Kevin Sawicki
abdec07bfe Merge pull request #7086 from atom/jl-preferences
Add 'Show Preferences' command to open Settings
2015-06-04 11:20:06 -07:00
Max Brunsfeld
63fbf7382e ⬆️ find-and-replace 2015-06-04 10:57:31 -07:00
Max Brunsfeld
688cc5ef9d Merge pull request #7023 from atom/mb-optimize-marker-observation
Optimize marker observation
2015-06-04 10:57:00 -07:00
Kevin Sawicki
91e3a76d17 Update spec for new deprecation data 2015-06-04 10:53:12 -07:00
Kevin Sawicki
bb680fc942 ⬆️ apm@0.170 2015-06-04 10:46:52 -07:00
Max Brunsfeld
ee3cd3994d ⬆️ text-buffer 2015-06-04 10:38:44 -07:00
Max Brunsfeld
b80c480d86 Store overlay decorations to optimize ::getOverlayDecorations() 2015-06-04 10:27:36 -07:00
Ben Ogle
e1514cf363 Update to latest deprecation data 2015-06-03 18:30:53 -07:00
Max Brunsfeld
f5895d8b0b presenter: use 'markers-updated' event for state updates
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-06-03 17:58:44 -07:00
Ben Ogle
f524ce728e ⬆️ settings-view@0.207.0 2015-06-03 17:46:08 -07:00
Kevin Sawicki
37939f6c76 Log deprecated-packages require error 2015-06-03 16:12:48 -07:00