Nathan Sobo
c673c5114e
Ensure that Editor.proto.serialize returns a copy of each edit session
2012-04-13 14:29:58 -06:00
Corey Johnson & Nathan Sobo
57b205d508
When a Pane is removed, layout of #panes div is adjusted appropriately
2012-04-13 12:49:59 -06:00
Corey Johnson & Nathan Sobo
1b2b1a324d
Add a mock-based test for Editor.prototype.split and ensure it doesn't raise exceptions when not in a pane
2012-04-13 11:40:29 -06:00
Corey Johnson & Nathan Sobo
54a15856bb
Use Editor.deserialize in Editor.prototype.copy and add a spec for it
2012-04-13 11:39:57 -06:00
Nathan Sobo
8513e60903
Editor saves all edit sessions when window is refreshed
2012-04-12 15:46:44 -06:00
Corey Johnson
5097218aa2
meta-{ goes to previous buffer
2012-04-11 13:44:07 -07:00
Corey Johnson
bf367863ba
meta-} goes to next buffer
2012-04-11 13:44:07 -07:00
Nathan Sobo
d5b93a2333
💄
2012-04-10 13:04:54 -06:00
Nathan Sobo
cc52ff6f28
Bugfix: move-to-beginning-of-word no longer raises an error at position [0, 0]
2012-04-09 13:59:46 -06:00
Corey Johnson & Nathan Sobo
f3372f08de
Ctrl-k cuts to the end of the line
2012-04-09 12:34:30 -06:00
Nathan Sobo
47685aab7b
Correctly translate buffer positions to screen positions when the buffer has tab chars
2012-04-06 15:06:33 -06:00
Nathan Sobo
9da86982a8
WIP: Set cursor position correctly after inserting a hard tab.
...
Tests pass but still some issues on repeated tab insertion.
2012-04-06 13:03:30 -06:00
Nathan Sobo
1d7d59d673
💄
2012-04-06 12:21:24 -06:00
Nathan Sobo
656c8318f2
Shift-triple-click expands the selection over the clicked line
2012-04-06 11:07:19 -06:00
Nathan Sobo
76a846aacc
Shift-double-click expands the selection over the clicked word
...
Also factored `get(Beginning|End)OfCurrentWordBufferPosition` methods out of `moveTo(Beginning|End)OfWord` on Cursor. They are used by a `getCurrentWordBufferRange` method, which Selection now uses to find the range of the current word.
2012-04-05 19:41:34 -06:00
Nathan Sobo
2fc3f78e26
Shift-click creates a selection
...
It would be nice to handle shift-double-click and shift-triple-click as well.
2012-04-05 18:12:48 -06:00
Nathan Sobo
fd3e98cd28
💄
2012-04-05 17:58:44 -06:00
Nathan Sobo
a3686da496
Move atom.tabText to a property on Editor.prototype for more locality
2012-04-05 17:55:15 -06:00
Nathan Sobo
aba968acd9
Tab key inserts spaces or a tab character depending on Editor.prototype.softTabs setting
2012-04-05 17:39:40 -06:00
Nathan Sobo
c4a23c7dd0
💄
2012-04-05 17:29:42 -06:00
Nathan Sobo
158315ffaa
Always place cursor at end of selection after inserting text
2012-04-05 17:22:16 -06:00
Nathan Sobo
77366b5497
Remove unused editor bounds methods
2012-04-05 09:38:50 -06:00
Nathan Sobo
845bc8fde4
Merge branch 'master' of github.com:github/atom
2012-04-04 18:27:40 -06:00
Nathan Sobo
1b848307d4
Restore selections on redo
2012-04-04 18:27:34 -06:00
Nathan Sobo
cbeb351de4
Restore selections after undo
...
This only restores changes made via the CompositeSelection… this makes sense because this is the only way to make changes interactively. Any other changes are made via the api or a command line and should not modify selections when they are undone. Still need to test restoration after redo.
2012-04-04 18:04:32 -06:00
Corey Johnson
2489e19bb7
CompositeCursor.addCursor takes an optional screenPosition argument
2012-04-04 14:08:30 -07:00
Corey Johnson & Nathan Sobo
48b4008cab
Changes made with multiple cursors are undone/redone in parallel
2012-04-04 14:21:03 -06:00
Corey Johnson
2465372bd4
Multi-cursor scrolling is based on the last created cursor
2012-04-03 16:34:21 -07:00
Corey Johnson
d016cc27d3
Move autoScrolling methods from cursor to editor
...
Scroll methods are now Editor.scrollTo(), Editor.scrollHorizontally() and Editor.scrollVertically()
Editor.scrollTo() can only be called once per runloop
2012-04-03 16:12:04 -07:00
Corey Johnson
bd20d34132
Only one visible cursor causes the editor to scroll
2012-04-03 15:46:28 -07:00
Corey Johnson
a372a2b411
Add Editor.bounds() and Editor.screenPositionInBounds()
2012-04-03 15:36:25 -07:00
Nathan Sobo
68bd79f8c2
Max line length is preserved when a new buffer is assigned to an editor.
2012-04-03 15:33:27 -06:00
Nathan Sobo
3a8c444e1f
Merge branch 'master' of github.com:github/atom
2012-04-03 15:01:34 -06:00
Corey Johnson
1efb712fd3
Rename App.coffee to Atom.coffee. This also required moving src/atom,spec/atom to src/app,spec/app
2012-04-03 10:33:24 -07:00