Commit graph

156 commits

Author SHA1 Message Date
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
Julian Viereck
40472b71fc Implement Document.getScreenRowLength and fix bug if full line seleciton is turned off 2011-01-11 13:34:34 +01:00
Julian Viereck
0a0db83072 Use e.clipboardData.getData to get the pasted data if available. Increases speed if pasting a lot of lines 2011-01-11 09:35:06 +01:00
Julian Viereck
b59155af7d Fix bug in Document.. If there are no lines after trimming off the spaces/tabs from the end return directly. 2011-01-11 09:20:57 +01:00
Julian Viereck
cb79193eff Don't perform a replace operation in Document.replace if there is nothing to replace. Increases performance in wrapMode if inserting many lines 2011-01-11 09:13:03 +01:00
Julian Viereck
1c6b0d47d5 Don't send changeDelta when calling $insertLines from $insert. Update $wrapData only for changed lines. 2011-01-10 20:02:54 +01:00
Julian Viereck
ddd5b3093d Add changeDelta event on the document 2011-01-10 17:18:14 +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
0ca8d22c7f Add support for wrapMode + realTabs 2011-01-09 23:54:15 +01:00
Julian Viereck
d9771ae5d8 Remove a console.log. Update contributor entries 2011-01-09 21:03:51 +01:00
Julian Viereck
46ecdc3b7c TextLayer: Set height on each subline 2011-01-09 20:50:47 +01:00
Julian Viereck
a601630905 Fix typo in Renderer.textToScreenCoordinates(). window.jump works now again 2011-01-09 19:51:04 +01:00
Julian Viereck
be957fd2c1 Clamp column returned by Document.screenToDocumentPosition 2011-01-09 19:46:37 +01:00
Julian Viereck
c6b32c96ef Compute wrappings, don't just split after wrapLimit chars. 2011-01-09 19:34:57 +01:00
Julian Viereck
2df81fffae VirtualRenderer: Fix buggy offset 2011-01-09 11:20:00 +01:00
Julian Viereck
8b6ba9f702 Add LoreIpsum TextDocument in editor.html. Fix bug in Document.documentToScreenRow() and set Document.wrapLimit to 80. 2011-01-09 11:18:03 +01:00
Julian Viereck
a3ff06a9e3 In wrapMode, document.screenWidth = doc.. Fix typo 2011-01-09 01:40:43 +01:00
Julian Viereck
bc4c9c6060 move () on Selection. Add support for moveDown/Up when in wrapMode 2011-01-09 01:28:03 +01:00
Julian Viereck
6d7e4ef08c Fix small bug in layer/marker.js#drawMultiLineMarker 2011-01-09 01:08:16 +01:00
Julian Viereck
609f062803 Fix problems when scolling + wrapped lines 2011-01-08 23:01:34 +01:00
Julian Viereck
c30b9ece8f Move wrapping logging into Document. 2011-01-08 21:14:51 +01:00
Julian Viereck
511de83908 Simple line wrapping is up but a little bit of a hack right now 2011-01-07 12:15:25 +01:00
Fabian Jakobs
c73e2c1c8d can't use true as property name with "." 2011-01-03 18:25:01 +01:00
Fabian Jakobs
4a1a77b05b fix default commands: read selection from the editor 2011-01-03 09:52:20 +01:00
Fabian Jakobs
ece288b0c7 add multi row document operations n preparation for
rectangular selections
2010-12-21 16:34:52 +01:00
André Fiedler
c01b99180a doc comment mode: added TODO 2010-12-20 03:52:09 +08:00
André Fiedler
b777e08e1a php mode: added highlighting for STD*** constants 2010-12-20 03:52:08 +08:00
André Fiedler
a2dc7c8456 php mode: nicer regexp 2010-12-20 03:52:08 +08: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
16b12da3e3 make test definitions async 2010-12-18 15:45:23 +01:00
SunboX
44907e90f4 Merge branch 'master' of https://github.com/ajaxorg/ace 2010-12-16 21:59:47 +01:00
SunboX
8db8b9b828 some smoother colors 2010-12-16 21:35:56 +01:00
SunboX
d4d47c9ddd one more bug fix :/ 2010-12-16 21:22:21 +01:00
SunboX
193c9cfd8b small fix & changed contributor ;o) 2010-12-16 21:18:23 +01:00
SunboX
f6cae22c2c new color theme: Pastel on dark 2010-12-16 21:02:23 +01:00
SunboX
832e4402d6 added php syntax highlighting 2010-12-16 20:36:47 +01:00
Fabian Jakobs
ad19a8f98e consolidate user agent sniffing from util.js and
core.js into a new module useragent.js
2010-12-16 18:50:26 +01:00
Fabian Jakobs
80a11082b1 auto indent fix 2010-12-16 15:06:40 +01:00
Fabian Jakobs
78af5b6bae some CSS highlighting fixes 2010-12-16 11:50:34 +01:00
Fabian Jakobs
4b5c5f324f fix boolean highlighting 2010-12-16 11:45:21 +01:00
Fabian Jakobs
97c24a7769 all tests are working now 2010-12-16 10:56:33 +01:00
Fabian Jakobs
bf71127511 remove references to window (not supported by node) 2010-12-15 20:01:26 +01:00
Fabian Jakobs
36595bd9d6 convert missing unit tests 2010-12-15 20:01:09 +01:00
Fabian Jakobs
123da20bd5 no capture groups in tokenizer regexps 2010-12-15 20:00:46 +01:00
Fabian Jakobs
ba7168156b fix move lines up + unit test 2010-12-15 19:28:30 +01:00
Fabian Jakobs
79872cac5d collapse line selection for outdented rows 2010-12-15 19:17:45 +01:00
Fabian Jakobs
aa594119b7 toggleCommentLines and indentRows now take row
numbers instead of ranges as arguments
2010-12-15 19:16:44 +01:00
Fabian Jakobs
bfa4748b1b add collapse lines in range 2010-12-15 18:40:46 +01:00
Fabian Jakobs
062c396432 IE rendering fix 2010-12-15 17:34:24 +01:00
Fabian Jakobs
e97f9dbbb7 removed redundant "undefined" 2010-12-15 16:19:09 +01:00