mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
a77dd28e47f75e8c641052f22810de3e1f79d25d
Before, we were traversing through lines to remove in ascending order and then calling remove(n) for each. But when we removed line 10, line 11 became the *new* line 10. So when we removed line 11 we ended up skipping the old line 11. I solved this by traversing in reverse when we need to delete lines.
Atom — Futuristic Text Editing
Informative Links
Ace
- https://github.com/ajaxorg/ace/wiki/Creating-or-Extending-an-Edit-Mode
- https://github.com/ajaxorg/ace/blob/master/lib/ace/selection.js
- https://github.com/ajaxorg/ace/blob/master/lib/ace/commands/default_commands.js
- https://github.com/ajaxorg/ace/blob/master/lib/ace/document.js
commonjs
- http://ringojs.org/api/master/
- http://wiki.commonjs.org/wiki/Filesystem/A
- https://github.com/280north/narwhal
JSCocoa
- http://parmanoir.com/Taming_JavascriptCore_within_and_without_WebView
- https://github.com/parmanoir/jscocoa/
- http://code.google.com/p/jscocoa/
Cloud9
Description
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%