Nathan Sobo
470f46931f
Selection views update properly when selections are merged
2012-06-14 10:28:21 -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
ede9309a80
💄
2012-06-13 20:09:33 -06: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
Corey Johnson
9c748d14c3
💄
2012-06-13 16:54:55 -07:00
Nathan Sobo
591a294e2e
Absorb FoldSuggester into LanguageMode
2012-06-13 15:44:40 -06: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
f000686f07
Method name 💄
2012-06-13 11:49:01 -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
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
222e12d29d
Backspace in column 0 below a fold absorbs line into fold
2012-06-12 16:49:49 -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
Nathan Sobo
426eeb5abe
Merge branch 'master' of github.com:github/atom
2012-06-12 16:15:23 -06:00
Nathan Sobo
560db26cf1
Move indent/outdent selection specs to edit-session-spec
2012-06-12 16:15:11 -06:00
Nathan Sobo
67e9faa5d0
Kill redundant specs
2012-06-12 16:14:52 -06:00
Nathan Sobo
cca387b36a
Move selectLine specs from selection-spec to edit-session-spec
2012-06-12 16:14:37 -06:00
Corey Johnson
b841a04093
Don't serialize pathless buffer text
2012-06-12 15:12:58 -07:00
Nathan Sobo
09bfc1db92
Reorganize editor-spec more logically
2012-06-12 15:59:55 -06:00
Nathan Sobo
6317f9526f
💄
2012-06-12 15:49:49 -06:00
Nathan Sobo
3a93887292
Move structural folding to EditSession
2012-06-12 15:49:42 -06:00
Nathan Sobo
6a017ba666
Move all mouse event specs under one describe block
2012-06-12 15:33:25 -06:00
Nathan Sobo
efcc43c296
Merge branch 'master' of github.com:github/atom
2012-06-12 15:21:06 -06:00
Nathan Sobo
f87476b80b
Streamline cursor movement specs in editor-spec
2012-06-12 15:20:15 -06:00
Nathan Sobo
918b8d95da
Move some auto indent specs to edit-session-spec
2012-06-12 15:19:40 -06:00
Corey Johnson
e56e775d8d
Merge branch 'dirty-buffer'
2012-06-12 14:13:23 -07:00
Nathan Sobo
b895122c24
Simplify Editor spec's mouse event integration specs
...
Test handling of non-corresponding buffer & screen positions in spec on setCursorScreenPosition in edit-session-spec instead of in editor-spec
2012-06-12 14:44:45 -06:00
Nathan Sobo
87bc5ad02a
Make setBuffer spec lean on setActiveEditSessionIndex spec
2012-06-12 14:23:49 -06:00
Nathan Sobo
8a34ea20c4
Move undo/redo specs to edit-session-spec
2012-06-12 13:44:40 -06:00
Nathan Sobo
7b64066bf4
Remove stray console.log
2012-06-12 13:40:02 -06:00
Nathan Sobo
4f50a4735d
Add specs for EditSession.proto.selectToScreenPosition. Move coverage of selection merging
2012-06-12 13:37:01 -06:00
Corey Johnson
1fb8852fc3
Saving a buffer sets its modified flag to false
2012-06-12 11:29:38 -07:00
Corey Johnson
8ab167fd00
Reloading when there are modified buffers pops up a dialog.
2012-06-12 10:52:11 -07:00
Corey Johnson
a2f60c141b
Remove logs from spec
2012-06-12 10:52:11 -07:00
Corey Johnson
e56ef733ad
Add save alert when closing a modified buffer
2012-06-12 10:52:11 -07:00
Corey Johnson
0fec1fc5ba
Don't close edit session when its buffer is modified
2012-06-12 10:52:11 -07:00
Corey Johnson
9339791260
Set modified flag to true when there is a buffer change.
2012-06-12 10:52:11 -07:00
Nathan Sobo
5e4625ebf7
Move cursor merging specs to edit-session-spec
2012-06-12 10:55:48 -06:00
Nathan Sobo
1245252ca4
Move deleteToEndOfWord specs
2012-06-12 10:38:09 -06:00