mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
0bc510ab58baa1962f4bc2f9304a033add0fc4af
The key was in LineMap.linesForScreenRows. For each screen line, it concatenates all line fragments (if there are indeed more than 1) that traverse that line to return a single line fragment representing the line. The key was to update the buffer delta for that fragment to always be 1,0. Because the wrapper is treating the folder as if it's the buffer, the lines it stores in its map need to traverse only a single "buffer" line (that's a single line after folds are taken into account). We may need better language than "screen" and "buffer" because the wrapper treats the folder as the "buffer" but that's confusing because it isn't.
Atom — Futuristic Text Editing
Be forwarned: Atom is pre-alpha software!
Installation
-
Get xcode 4.2.
-
Clone atom from github/atom.
-
Open Atom.xcodeproject.
-
Press cmd-r to build and run.
Informative Links
Description
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%
