Ivan Žužak
d32f30780a
Massage the message a bit more
2015-06-21 17:48:32 +02:00
Nathan Sobo
04c9567181
Massage message a bit
2015-06-10 01:30:12 +02:00
Nathan Sobo
5c57cb0cfe
Show a warning prompt when opening files over 20MB
...
We still have some trouble on files this large. I want to show a
progress bar, but for now this is better than freezing without any
warning at all.
2015-06-09 00:02:36 +02:00
Antonio Scandurra
29ab1af2bf
Merge pull request #7127 from atom/as-opaque-tiles
...
Bring Subpixel Anti-Aliasing Back
2015-06-08 20:51:02 +02:00
Antonio Scandurra
cec6959e08
Extend highlights to the full editor width
2015-06-08 18:58:04 +02:00
Kevin Sawicki
89de8cd185
Merge pull request #7169 from atom/mq-docs-get-repositories
...
Update Project::getRepositories() example
2015-06-08 09:31:07 -07:00
Machisté N. Quintana
0db3b70177
📝 Update Project::getRepositories() example
2015-06-08 10:59:34 -04:00
Thomas Johansen
fbf58d0725
📝 Remove mention of WorkspaceView which no longer exists
...
Fixes #7146
2015-06-07 09:30:10 +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
Antonio Scandurra
465043f213
🔥
2015-06-06 16:22:33 +02:00
Antonio Scandurra
047a405290
Merge branch 'master' into as-opaque-tiles
2015-06-06 11:16:31 +02:00
Antonio Scandurra
de766afee7
Start porting specs
2015-06-06 10:18:26 +02:00
Antonio Scandurra
f7b82f2411
🔥
2015-06-06 09:31:38 +02:00
Antonio Scandurra
8319eae0d7
🔥 Delete unused code
2015-06-06 09:29:40 +02:00
Antonio Scandurra
11202ebb69
🎨
2015-06-06 09:15:10 +02:00
Antonio Scandurra
cf70739bf1
Don't clip when building highlight regions
2015-06-06 08:34:28 +02: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
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
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
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
Antonio Scandurra
b3c9a9a77d
🐛 Correctly display highlight regions
2015-06-05 18:33:32 +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
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
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
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