Commit graph

40 commits

Author SHA1 Message Date
Fabian Jakobs
841f39c57b Verify that #185 is already fixed. fix #185 2011-07-23 20:32:02 +02:00
Fabian Jakobs
09c9aa81df Update desired column on insert text 2011-07-22 10:23:02 +02:00
Fabian Jakobs
628c0d6414 go up on fist line should not reset the desired column 2011-07-19 20:28:06 +02:00
Fabian Jakobs
b6223bc801 fix some key navigation issues 2011-07-19 20:11:44 +02:00
Fabian Jakobs
742f04b407 fix goto line start to jump to toggle between
indentation end and column 0. Fixes #296
2011-07-19 15:16:41 +02:00
Julian Viereck
e356ea8cae Ensure selection can't be inside of a fold. 2011-04-28 21:40:37 +02:00
Julian Viereck
5573252193 Make Selection.moveCursorFirstLine work again. Fixing some bugs on the way. 2011-04-28 21:40:37 +02:00
Julian Viereck
61fc8d04c4 Add support for folded lines in Selection.selectLine 2011-04-28 21:40:36 +02:00
Julian Viereck
b6772e8ef2 Add documentation for EditSesion.getFoldAt and change meaning of side. 2011-04-28 21:39:21 +02:00
Julian Viereck
9ff0df758a Refactor FoldLine.getStringAt out of fold line as the FoldLine should not be session depending. 2011-04-28 21:39:20 +02:00
Julian Viereck
56f74f1368 Remove Fold.compare/contains functions. Rename Fold.sameLine to Fold.sameRow. Add new functions to Range that repalce the Fold.compare/contains functions but are more explicit on where to drop the start/end. 2011-04-28 21:39:19 +02:00
Julian Viereck
145030972c Remove EditSession.getScreenFirstRowColumn() func and clean up a little bit 2011-04-28 21:39:19 +02:00
Julian Viereck
8c63cd7ff5 Get move(Word)Right/left working with folds 2011-04-28 21:39:19 +02:00
Julian Viereck
d1bfdba34b Fixed some bugs and unit tests pass again 2011-03-19 00:34:35 +01:00
Fabian Jakobs
8e3c1e6096 let the document act as anchor factory 2011-02-17 16:11:03 +01:00
Joe Cheng
66562856c8 Fix PageUp/PageDown commands, which were badly broken on soft-wrapped documents 2011-02-15 14:36:19 +08:00
Fabian Jakobs
32a332fd3f fix desired column computation 2011-02-12 13:13:35 +01:00
Fabian Jakobs
0a3111c8fb fix selectAll after anchor merge 2011-02-11 15:43:34 +01:00
Fabian Jakobs
9c422423af fix cursor clipping 2011-02-11 11:41:38 +01:00
Fabian Jakobs
b74a322c7d refactor selection to use anchors 2011-02-11 08:10:44 +01:00
Julian Viereck
725820e05d Merge current ajaxorg:master with jviereck:wrapMode 2011-01-26 23:51:04 +01:00
Fabian Jakobs
7644522783 fix copyright 2011-01-15 13:36:51 +01:00
Julian Viereck
28ea247f17 Fix move to first/last character in line if in wrap mode. Fixes some other bugs on the way and add some simple unit tests. 2011-01-13 14:01:18 +01:00
nightwing
9ddc3dbc3b don't scroll on selectAll 2011-01-10 10:30:33 +01:00
Julian Viereck
a71f50ac9a Fix bug in Selection.moveCursorBy. Use desiredColumn only if chars == 0. 2011-01-09 23:56:42 +01:00
Julian Viereck
d9771ae5d8 Remove a console.log. Update contributor entries 2011-01-09 21:03:51 +01:00
Julian Viereck
bc4c9c6060 move () on Selection. Add support for moveDown/Up when in wrapMode 2011-01-09 01:28:03 +01:00
Fabian Jakobs
b6bd3fb726 backspace should eat 4 spaces when the cursor is positioned after a tab
(also for navigation and selection)
2010-12-18 16:24:48 +01:00
Fabian Jakobs
c5f63c7112 put functions from old "ace/lib" modules directly
on "exports"
2010-12-15 11:04:14 +01:00
Joe Walker
10843ba7e6 remove $ function and property from EventEmitter 2010-11-23 15:52:44 +00:00
Joe Walker
7974ef5a71 s/MEventEmitter/EventEmitter/g 2010-11-23 15:49:02 +00:00
Joe Walker
bd2a2bff98 move event_emitter into pilot 2010-11-23 15:46:59 +00:00
Joe Walker
be9b8a0f3f move oop.js into pilot 2010-11-23 14:36:12 +00:00
Joe Walker
5f3beef482 move lang.js into pilot 2010-11-23 14:35:01 +00:00
Joe Walker
16579a9633 convert Search, Selection and TextInput to exports style 2010-11-17 13:50:56 +00:00
Joe Walker
d38f91d31c convert Range to exports style 2010-11-17 13:06:25 +00:00
Joe Walker
4ab7c653cc converting modules to use exports style rather than return style 2010-11-15 13:50:13 +00:00
Joe Walker
b91f4d0941 adjusting paths to use ace/ rather than ./ 2010-11-15 12:45:07 +00:00
Fabian Jakobs
fde5198af0 use relative module IDs 2010-11-09 09:34:31 +01:00
Fabian Jakobs
2c0368ff6c rename part #2 2010-11-09 08:50:08 +01:00
Renamed from lib/ace/_selection.js (Browse further)