Commit Graph

2490 Commits

Author SHA1 Message Date
Corey Johnson & Nathan Sobo
f025bec910 If a selection ends on a fold, backspace/delete delete all lines inside the fold 2012-06-14 15:52:54 -06:00
Corey Johnson & Nathan Sobo
c73eb97d72 💄 2012-06-14 15:41:02 -06:00
Corey Johnson & Nathan Sobo
940b7b0e7a RootView.proto.activateExtension requires extensions to have names 2012-06-14 11:20:36 -06:00
Corey Johnson & Nathan Sobo
810b9849ee RootView serialize absorbs exceptions when serializing extensions 2012-06-14 11:20:16 -06:00
Corey Johnson & Nathan Sobo
291886b4b3 Rename LanguageMode to TokenizedBuffer 2012-06-14 11:02:52 -06:00
Nathan Sobo
470f46931f Selection views update properly when selections are merged 2012-06-14 10:28:21 -06:00
Nathan Sobo
47533ad3a0 Add spec coverage for command panel serialization and fix bad method call therein 2012-06-13 21:23:33 -06:00
Nathan Sobo
b59e73edcd Rename Renderer -> DisplayBuffer
The idea is that the DisplayBuffer serves a similar role to the Buffer, except that it's holding content in an arrangement that's optimized for display.
2012-06-13 21:02:30 -06:00
Nathan Sobo
5135f3e066 Editor no longer references Renderer directly 2012-06-13 20:37:30 -06:00
Nathan Sobo
81d2e88c8a Nix unused methods 2012-06-13 20:17:57 -06:00
Nathan Sobo
ede9309a80 💄 2012-06-13 20:09:33 -06:00
Nathan Sobo
0c35178cc2 Add newline at end of file 2012-06-13 20:09:18 -06:00
Nathan Sobo
e385f8051f Merge branch 'master' into language-mode 2012-06-13 19:56:01 -06:00
Corey Johnson
958a8bf12c 💄 2012-06-13 17:49:20 -07:00
Corey Johnson
e7dafec21c Rename command to compositCommand in command interpreter 2012-06-13 17:49:12 -07:00
Corey Johnson
17e20d2fb0 Change .editor to .miniEditor in command panel specs 2012-06-13 17:48:51 -07:00
Nathan Sobo
8769061a0f Merge branch 'master' of github.com:github/atom into language-mode 2012-06-13 18:34:59 -06:00
Nathan Sobo
e444ba193c Merge all ace adaptors into a single AceAdaptor class 2012-06-13 18:31:03 -06:00
Nathan Sobo
5f20b09284 Remove Buffer.proto.getMode. All ace interaction should be mediated by LanguageMode 2012-06-13 18:09:28 -06:00
Nathan Sobo
d04d4e22a2 Move autoOutdent code to LanguageMode 2012-06-13 18:08:08 -06:00
Corey Johnson
aaf376f6ad Add meta-e keybinding 2012-06-13 16:54:55 -07:00
Corey Johnson
5d552d3df3 Add comand-panel:set-selection-as-regex-address 2012-06-13 16:54:55 -07:00
Corey Johnson
f11aaa2d22 Rename @editor to @miniEditor in command panel 2012-06-13 16:54:55 -07:00
Corey Johnson
9c748d14c3 💄 2012-06-13 16:54:55 -07:00
Nathan Sobo
fc72f39342 Move autoIndent code into LanguageMode 2012-06-13 16:12:51 -06:00
Nathan Sobo
4149cf11de Determine which ace mode to require inside LanguageMode
instead of calling Buffer.getMode, which I axe soon
2012-06-13 15:48:13 -06:00
Nathan Sobo
591a294e2e Absorb FoldSuggester into LanguageMode 2012-06-13 15:44:40 -06:00
Kevin Sawicki
e6473b63cf Correct typo in delete detailed message 2012-06-13 14:38:05 -07:00
Nathan Sobo
49e0e2095a Absorb line commenting into LanguageMode 2012-06-13 15:36:35 -06:00
Nathan Sobo
f1397db60b Rename Highlighter -> LanguageMode 2012-06-13 15:21:44 -06:00
Nathan Sobo
c09c672843 Rename screenLineForRow -> lineForScreenRow 2012-06-13 14:40:23 -06:00
Nathan Sobo
f8e776ea15 📣 💄 for editor.coffee 2012-06-13 14:16:51 -06:00
Nathan Sobo
39c3be9213 Editor 💄 2012-06-13 12:17:48 -06:00
Nathan Sobo
f000686f07 Method name 💄 2012-06-13 11:49:01 -06:00
Nathan Sobo
0c7e9f34cc Assign softTabs on EditSession construction 2012-06-13 11:23:25 -06:00
Nathan Sobo
1a1d3b3cf9 EditSession no longer requires a reference to its Editor 2012-06-13 11:18:47 -06:00
Nathan Sobo
4ccf976501 Pass tabText into EditSession explicitly on construction 2012-06-13 11:13:41 -06:00
Nathan Sobo
09a05141d0 Remove old unused Anchor class 2012-06-13 11:06:41 -06:00
Nathan Sobo
e5b5f7b886 Absorb cursor-spec into editor-spec 2012-06-13 11:04:17 -06:00
Nathan Sobo
099151eeb2 Eliminate Editor from remaining selection-spec 2012-06-13 10:32:42 -06:00
Nathan Sobo
a6b066ef3d Move specs of fold interactions with backspace/delete/insertText methods to edit-session-spec 2012-06-13 10:32:23 -06:00
Nathan Sobo
b53686ed36 Move selection rendering specs from selection-spec to editor-spec 2012-06-13 10:19:24 -06:00
Corey Johnson & Nathan Sobo
912b89184e Rename highlightSelectedFolds to highlightFoldsContainingBufferRange on Editor. 2012-06-12 17:23:19 -07:00
Corey Johnson & Nathan Sobo
222e12d29d Backspace in column 0 below a fold absorbs line into fold 2012-06-12 16:49:49 -07:00
Corey Johnson & Nathan Sobo
feb0c6af85 Anchor.setBufferPosition clips position by default 2012-06-12 16:49:48 -07:00
Corey Johnson & Nathan Sobo
6c8b2e1a54 Use buffer instead of line map for EditSession.clipBufferPosition(position) 2012-06-12 16:49:48 -07:00
Nathan Sobo
51905f245a Move auto-indent/outdent specs from selection-spec to edit-session-spec 2012-06-12 16:31:17 -06:00
Nathan Sobo
33ed6e980e This is tested implicitly everywhere 2012-06-12 16:26:01 -06:00
Nathan Sobo
0e592b0e7a Move selectWord specs to edit-session-spec 2012-06-12 16:25:50 -06:00
Nathan Sobo
b44a0b69a9 Move specs for toggleLineCommentsInSelection to edit-session-spec 2012-06-12 16:22:18 -06:00