Commit Graph

12724 Commits

Author SHA1 Message Date
Nathan Sobo
53a3239379 Use buffer coordinates in TokenizedBuffer::scopeDescriptorForPosition
Fixes #7073
2015-06-05 18:18: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
Antonio Scandurra
b20394e323 🎨 2015-06-05 17:34:34 +02:00
Antonio Scandurra
c1b4b743b4 Organize visible highlights by tile 2015-06-05 17:00:17 +02:00
Antonio Scandurra
d294f35849 Get rid of .underlayer
/cc: @nathansobo
2015-06-05 16:26:33 +02:00
Antonio Scandurra
79b0bc2bad 🎨 Use pixelPositionForScreenPositionInTile 2015-06-05 16:11:37 +02:00
Antonio Scandurra
da05e1e234 wip 2015-06-05 16:05:30 +02:00
Antonio Scandurra
9f21ccf54d Give tiles an opaque background 2015-06-05 12:07:44 +02: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
Antonio Scandurra
8980c01549 Merge branch 'master' into as-tiled-gutter
Conflicts:
	src/text-editor-presenter.coffee
2015-06-04 21:42:53 +02: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
688cc5ef9d Merge pull request #7023 from atom/mb-optimize-marker-observation
Optimize marker observation
2015-06-04 10:57:00 -07:00
Max Brunsfeld
b80c480d86 Store overlay decorations to optimize ::getOverlayDecorations() 2015-06-04 10:27:36 -07:00
Antonio Scandurra
8abdc67e7e Revert "Use clientHeight for line-numbers and lines containers"
This reverts commit f2bab35f57c05d5a0bb21e9fb02117f802ff278b. It didn't actually
improve performance, nor memory usage, therefore I decided to avoid changing it
for the time being.
2015-06-04 15:19:42 +02:00
Antonio Scandurra
3e517e687a 🐛 Fix typo 2015-06-04 15:19:28 +02:00
Antonio Scandurra
57fd553c69 Use clientHeight for line-numbers and lines containers 2015-06-04 15:18:10 +02:00
Antonio Scandurra
44991f1fb3 Make LineNumberGutterComponent a TiledComponent 2015-06-04 15:17:39 +02:00
Antonio Scandurra
7769c464da Extract TiledComponent 2015-06-04 15:17:38 +02:00
Antonio Scandurra
f0ca0d52f2 Tile line numbers in TextEditorPresenter 2015-06-04 15:17:38 +02:00
Antonio Scandurra
0b1aadf168 🎨 Rename to shouldUpdateLinesState 2015-06-04 15:17:07 +02: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
Kevin Sawicki
281e0b420d 🎨 Move one flag near deprecated flag 2015-06-03 15:00:33 -07:00
Kevin Sawicki
205059cd2f The -> This 2015-06-03 12:00:48 -07:00
Kevin Sawicki
6a5bf633e9 Show deprecation text via usage message 2015-06-03 11:53:59 -07:00
Kevin Sawicki
75f2ce148a Use consistent default format 2015-06-03 11:43:58 -07:00
Kevin Sawicki
6ebbb58a80 Log message about --one being removed 2015-06-03 11:43:58 -07:00
Jessica Lord
0db71fa115 Add 'Show Preferences' command to open Settings 2015-06-03 10:20:34 -07:00
Kevin Sawicki
df2bd62327 Load deprecated packages when including deprecated APIs 2015-06-03 09:47:13 -07:00
Kevin Sawicki
551636d59e 📝 Tweak deprecated load message 2015-06-03 09:19:57 -07:00
Kevin Sawicki
8dbec4afe2 🎨 2015-06-03 09:19:57 -07:00
Kevin Sawicki
87bbf15c6d Log to console about not loading deprecated packages 2015-06-03 09:19:57 -07:00
Kevin Sawicki
51611c24b5 Don't validate version until checking for empty range 2015-06-03 09:19:57 -07:00
Kevin Sawicki
4bb6728784 Add atom.packages.getDeprecatedPackageMetadata 2015-06-03 09:19:57 -07:00
Kevin Sawicki
d557e78847 Add spec for deprecated packages 2015-06-03 09:19:57 -07:00
Kevin Sawicki
22f2de77d1 Expose a atom.packages.isPackageDeprecated helper 2015-06-03 09:19:57 -07:00
Kevin Sawicki
06c4f17af0 Don't load deprecated packages 2015-06-03 09:19:57 -07:00
Max Brunsfeld
76c696f1a2 Merge branch 'master' into mb-optimize-marker-observation
Conflicts:
	src/text-editor-component.coffee
	src/text-editor-presenter.coffee
2015-06-03 09:12:07 -07:00
Kevin Sawicki
a2ed26a6f3 Include deprecated APIs when running specs 2015-06-02 16:36:20 -07:00
Kevin Sawicki
5bce950839 📝 Update includeDeprecatedAPIs description 2015-06-02 16:36:20 -07:00
Kevin Sawicki
bf37a66831 Rename --one to --include-deprecated-apis 2015-06-02 16:36:20 -07:00
Nathan Sobo
dac39bdcd5 Merge pull request #6733 from atom/as-tiled-rendering
Render lines via tiles
2015-06-03 00:18:41 +02:00
Kevin Sawicki
34591d3542 Catch read errors during deserialization
Prevents Atom from failing to open because of a read error with a
serialized editor.
2015-06-01 17:54:43 -07:00
Nathan Sobo
4812dcc355 Include invisibles in TokenizedLine::copy 2015-06-02 00:02:34 +02:00
Kevin Sawicki
66620f8510 Add TODO comment 2015-06-01 13:32:38 -07:00
Kevin Sawicki
703eaac7ca Keep around atom.config.unobserve no-op 2015-06-01 13:32:03 -07:00
Kevin Sawicki
fed19872b3 Keep old configDefaults support in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
558d10434a Keep old context menu format in api preview mode 2015-06-01 13:28:13 -07:00
Kevin Sawicki
3c647dc7af Keep activate events in api preview mode 2015-06-01 13:28:13 -07:00