Kevin Sawicki
c8258894c7
Add Buffer.checkoutHead()
...
Move implementation from Editor
to Buffer for checking out the
HEAD revision of the current path
2012-11-05 11:52:33 -08:00
Kevin Sawicki
830a0b337a
Add ctrl-Z keybinding to checkout HEAD revision
2012-11-03 15:50:50 -07:00
Kevin Sawicki
910ca47a61
Allow setting of invisibles on editor
2012-11-02 17:51:22 -07:00
Kevin Sawicki
ff8055be49
💄
2012-11-02 17:51:22 -07:00
Will Farrington
8dbeb9f3d2
first spike at customizable invisibles characters
2012-11-02 17:51:16 -07:00
Nathan Sobo
9cbcc9e7e3
Eliminate another unnecessary call to highlightCursorLine
2012-11-01 14:43:43 -06:00
Nathan Sobo
a0770c41db
Avoid some calls to highlightCursorLine
2012-11-01 14:33:34 -06:00
Nathan Sobo
2efc91aad1
Optimize highlightCursorLine by using cached element references
2012-11-01 13:51:22 -06:00
Nathan Sobo
5249e5e69c
Fix spec failures caused by editor css changes
2012-11-01 12:25:33 -06:00
Nathan Sobo
42d0c53a60
Use min-width on rendered lines to replace js logic w/ CSS
2012-11-01 11:49:50 -06:00
Nathan Sobo
085adb72ce
Pass translation options through when setting buffer position
2012-11-01 07:15:51 -06:00
Corey Johnson & Nathan Sobo
426c952d73
shift-double-click and shift-triple-click are ignored.
2012-10-30 16:43:00 -07:00
Corey Johnson & Nathan Sobo
c55332a3a4
WIP: Make selections remember if they are wordwise/linewise
...
Also always expand from the initial selection after a double/triple click in either direction until directionality of the selection is established.
2012-10-30 13:56:35 -06:00
Corey Johnson & Nathan Sobo
8c7152a59b
Eliminate 'move-cursor-to-next-word' command
...
We have move-to-end-of-word and move-to-beginning-of-word, which is what we use for the current keybindings.
2012-10-30 11:56:05 -06:00
Corey Johnson
47c6a3a790
Ensure spans are ended in buildLineHtml
2012-10-29 13:47:44 -07:00
Corey Johnson & Nathan Sobo
3a067bcd71
Add editor:toggle-soft-tabs event
2012-10-26 11:52:53 -06:00
Nathan Sobo
d89979fc61
Merge pull request #86 from github/outline-view
...
Jump to method declaration
2012-10-25 17:54:27 -07:00
Kevin Sawicki
f995cbb45c
💄
2012-10-24 14:36:46 -07:00
Nathan Sobo
7be3c55765
Only auto-indent when typing, not when pasting or programmatically inserting
...
This paves the way for using a different strategy to normalize indentation when pasting, without it getting tangled in auto-indent.
2012-10-23 11:59:54 -06:00
Corey Johnson & Nathan Sobo
e6d541438d
Editor uses @command to register command handlers
2012-10-19 12:48:19 -06:00
Corey Johnson & Nathan Sobo
de3bbce29f
Only show events w/ descriptions in EventPalette
...
Also, auto-generate human readable event name in editor. This is a good example of how we could do this automatically for some kind of `onCommand`, `command`, `onInteractiveEvent` method that combines the event name, documentation string, and handler in one shot.
2012-10-19 11:24:40 -06:00
Nathan Sobo
2b8c946a65
Merge branch 'master' into event-palette
...
Conflicts:
spec/extensions/fuzzy-finder-spec.coffee
src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-18 16:33:44 -06:00
Corey Johnson & Nathan Sobo
33b1b66ee4
Merge branch 'invisibles'
2012-10-18 14:44:48 -07:00
Corey Johnson & Nathan Sobo
a72d0399f7
Add Editor.setShowInvisibles and remove showInvisibles from EditSession
2012-10-18 14:10:36 -07:00
Corey Johnson & Nathan Sobo
b33bbbfc0d
Handle invisible character rendering when building HTML for lines.
...
Not during creation of tokens.
2012-10-18 11:43:17 -07:00
Corey Johnson & Nathan Sobo
dd5a10e82e
💄
2012-10-18 11:33:19 -07:00
Corey Johnson
d7bc03112b
Empty lines require a special case for invisibles.
2012-10-18 11:33:19 -07:00
Corey Johnson
1ffbff7d99
Fix newline invisible symbol
2012-10-18 11:33:19 -07:00
Corey Johnson
4478bbca9a
When project.showInvisibles is true; spaces, tabs and newlines are visible
2012-10-18 11:31:39 -07:00
Corey Johnson
e2a917fcf3
Change tabText to tabLength
2012-10-18 11:31:39 -07:00
Corey Johnson & Nathan Sobo
640e9b6b0d
Editor.scrollTop can't be assigned to a negative number.
...
This was possible when the verticalScrollbar's scrollHeight was smaller than its height.
2012-10-17 18:02:45 -07:00
Chris Wanstrath
f5f18abbf0
ctrl-t: transpose
2012-10-08 20:08:07 -07:00
Nathan Sobo
c09f7ebc60
Fix the command panel's handling of move-up/move-down
...
Forgot to add the core: prefix to this area
2012-10-05 10:55:55 -10:00
Nathan Sobo
a180e6d703
Merge branch 'master' into event-palette
...
Conflicts:
spec/extensions/fuzzy-finder-spec.coffee
src/app/editor.coffee
src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-05 10:29:10 -10:00
Nathan Sobo
9906dd41b4
Give editor-specific events the "editor:" prefix
2012-10-05 10:07:37 -10:00
Nathan Sobo
0ab50cf102
Move cut, copy, and paste into "core:"
2012-10-05 10:07:37 -10:00
Nathan Sobo
23f4e533d9
Move undo and redo in "core:"
2012-10-05 10:07:37 -10:00
Nathan Sobo
a2a15a90fd
Move backspace and delete into "core:"
2012-10-05 10:07:37 -10:00
Nathan Sobo
8cde98bf45
Move select-to-top/bottom and select-all into "core:"
2012-10-05 10:07:36 -10:00
Nathan Sobo
c221729407
Move "select-up/down/left-right" into "core:"
2012-10-05 10:07:36 -10:00
Nathan Sobo
6061c3e52a
Prefix move-to-top/bottom page-up/down with "core:"
2012-10-05 10:07:36 -10:00
Nathan Sobo
67c6ed8de7
Prefix "move-*" events with "core:"
...
I want to prefix all custom events for better categorization and to
distinguish them from built-in webkit events
2012-10-05 10:07:36 -10:00
Nathan Sobo
0ecdabb023
Pressing enter emits an event on the previously focused element
2012-10-04 10:26:06 -10:00
Nathan Sobo
1b013cc029
Add ability to move through select list and 'event-palette:cancel' event
2012-10-04 10:26:06 -10:00
Kevin Sawicki
282802ac6c
Scroll auto complete view with editor window
2012-10-02 12:51:06 -07:00
Kevin Sawicki
b7f32036c2
Change editor-selection-change event name to selection-change
2012-10-01 15:44:58 -07:00
Kevin Sawicki
41cdf130fb
Update highlighted line when editor selection changes
2012-10-01 15:44:58 -07:00
Kevin Sawicki
c7361d487f
Update cursor line when selection screen range changes
2012-10-01 15:44:58 -07:00
Kevin Sawicki
f2306f444a
💄
2012-10-01 15:44:58 -07:00
Kevin Sawicki
0059accaa4
Access correct editor mini variable
2012-10-01 15:44:58 -07:00