Corey Johnson & Nathan Sobo
923e67af97
Add spec for backspace on multiple lines.
2012-03-23 15:23:02 -06:00
Corey Johnson & Nathan Sobo
7a6bc8fd4b
Backspace explicitly clears selection
2012-03-23 15:21:09 -06:00
Nathan Sobo
64061e9aef
Merge branch 'master' into multi-cursor
2012-03-23 15:00:57 -06:00
Nathan Sobo
7ee0d1bc7c
Un-F
2012-03-23 14:59:52 -06:00
Corey Johnson & Nathan Sobo
c59f6b0651
Use Editor.getSelection instead of directly grabbing .selection property
2012-03-23 14:59:08 -06:00
Corey Johnson & Nathan Sobo
59b629d60e
Backspace works with multiple cursors
2012-03-23 11:55:55 -07:00
Corey Johnson & Nathan Sobo
83d5c1dd0b
Multiple cursors can insert newlines
2012-03-23 11:22:01 -07:00
Nathan Sobo
0406746bd0
Don't throw exception if hitting meta-g with no previous relative address
2012-03-23 11:46:55 -06:00
Nathan Sobo
91bdc20b81
Merge branch 'master' of github.com:github/atom
...
Conflicts:
src/atom/command-panel.coffee
2012-03-23 11:42:18 -06:00
Nathan Sobo
7708cf7f33
Meta-g repeats the last relative address command
...
Rename repeatLastRelativeAddress to repeatRelativeAddress since it's implied that it's the "last" one.
2012-03-23 11:40:59 -06:00
Nathan Sobo
3bda7c4d3f
Add CommandInterpreter.repeatLastRelativeAddress
2012-03-23 11:32:58 -06:00
Corey Johnson & Nathan Sobo
b2cd059759
Set .hidden-input to fixed position so we don't have to move it when the cursor moves
2012-03-23 10:13:41 -07:00
Corey Johnson
ef9eaff054
implement meta-f on root-view
2012-03-23 10:10:53 -07:00
Corey Johnson
ef9bb5a259
:lipstick
2012-03-23 09:50:41 -07:00
Nathan Sobo
49be6986a0
Root view can receive focus if there is no active editor.
...
This allows basic key bindings to work without an editor.
2012-03-23 10:44:25 -06:00
Corey Johnson & Nathan Sobo
4c74e2187d
Set .hidden-input to fixed position so we don't have to move it when the cursor moves
2012-03-22 17:29:48 -07:00
Corey Johnson & Nathan Sobo
f431b24627
WIP: Can place multiple cursors and insert text without newlines. Very broken.
2012-03-22 18:10:24 -06:00
Corey Johnson & Nathan Sobo
23a8a6141b
Regex address does not require trailing /
2012-03-22 14:37:19 -07:00
Corey Johnson & Nathan Sobo
12f4a47b87
Add regex address to command language
2012-03-22 14:34:27 -07:00
Corey Johnson & Nathan Sobo
9e5bba9ab1
Add . address to command interpreter
2012-03-22 12:20:44 -07:00
Corey Johnson & Nathan Sobo
f51a53d39c
rename buffer.lastRow() to buffer.getLastRow()
2012-03-22 12:06:17 -07:00
Corey Johnson & Nathan Sobo
140234fd12
Rename Editor.lastRow to Editor.lastScreenRow
2012-03-22 11:59:42 -07:00
Corey Johnson & Nathan Sobo
5e5cd980f3
Add default values for start and end of address range
2012-03-22 11:52:08 -07:00
Corey Johnson & Nathan Sobo
f045ec9983
Add spec for 0 address
2012-03-22 11:41:56 -07:00
Corey Johnson & Nathan Sobo
296a80160b
Add $ address to command interpreter
2012-03-22 11:38:48 -07:00
Corey Johnson & Nathan Sobo
d5479a0b60
Add single-line addresses to command interpreter
2012-03-22 12:12:11 -06:00
Corey Johnson
38debc8107
Command interpreter can take an address by itself
2012-03-21 17:36:49 -07:00
Corey Johnson & Nathan Sobo
a2156e39c0
Command interpreter takes x,x as an address
2012-03-21 17:33:05 -07:00
Corey Johnson & Nathan Sobo
65a0d099bc
Add global substitution
2012-03-21 16:16:14 -07:00
Corey Johnson & Nathan Sobo
e51f340da1
Hook up command line to command interpreter
2012-03-21 15:28:35 -07:00
Corey Johnson & Nathan Sobo
98f9942367
Rename Editor.lastActiveEditor to Editor.activeEditor
2012-03-21 15:25:49 -07:00
Corey Johnson & Nathan Sobo
c174242aab
Basic substitution works
2012-03-21 14:45:28 -07:00
Corey Johnson
e786bb8055
Implement Buffer.positionForCharacterIndex
2012-03-21 14:41:00 -07:00
Corey Johnson
0efbd65a24
Add Buffer.characterIndexForPosition
2012-03-21 14:25:28 -07:00
Corey Johnson & Nathan Sobo
909337bc1c
WIP: Start on CommandInterpreter and substitution
2012-03-21 14:59:49 -06:00
Nathan Sobo
a91c8098a3
Style the command palette with a ":" before the editor.
2012-03-20 20:35:00 -06:00
Nathan Sobo
fd82efa1b2
Un-F
2012-03-20 20:33:50 -06:00
Nathan Sobo
e5eedfb7c7
Meta-: toggles the command palette
2012-03-20 19:59:37 -06:00
Nathan Sobo
28a0f5961a
Remove spec for addPane. Oops.
2012-03-20 18:55:10 -06:00
Corey Johnson
c65c4aa3c8
Rename global-keymap-spec to keymap-spec
2012-03-20 17:19:51 -07:00
Nathan Sobo
50f11f1a4c
Remove fixed editor subview from root view.
2012-03-20 16:55:33 -06:00
Nathan Sobo
8ea4b4eb72
File finder opens selected file in the most recent pane.
...
Only editors inside #root-view #panes are tracked as the most recent active editor. Otherwise the file finder tries to open the selected file in its own mini editor.
2012-03-20 15:51:22 -06:00
Nathan Sobo
965e66ffd4
Focus most-recently active editor pane when file finder closes.
2012-03-20 15:11:34 -06:00
Nathan Sobo
adf8d5df9d
Un-f
2012-03-20 13:10:07 -06:00
Nathan Sobo
55efb65500
Merge branch 'master' of github.com:github/atom
2012-03-20 13:09:48 -06:00
Nathan Sobo
4748b4e09b
Remove row/columns from split pane layout when they become empty.
...
This fixes layout issues when closing split panes.
2012-03-20 13:09:35 -06:00
Nathan Sobo
285c04ea62
WIP: Split panes can be closed with meta-w
...
Still some issues… view gets screwed up after closing panes in certain layout arrangements.
2012-03-20 12:29:47 -06:00
Corey Johnson
99e3074c25
Previously focused element regains focus when file finder is removed
2012-03-20 11:05:57 -07:00
Nathan Sobo
e74f0e66ac
Fix specs I broke with CSS changes.
2012-03-19 17:18:48 -06:00
Nathan Sobo
81e5a10ddd
Perform vim-style editor pane splitting
...
Using percentage dimensions to absolutely position the panes on screen where they need to be located. Flexbox would have been nice, but unfortunately I could not work around what seem to be bugs (or at least major inconveniences) in its current implementation.
2012-03-19 16:48:13 -06:00