Commit graph

2,784 commits

Author SHA1 Message Date
Julian Viereck
ffca65d15e Improve vim-mode to catch input better if in 'start' mode 2011-01-13 22:45:13 +01:00
Julian Viereck
252b064d6a Add missing "times" to Editor.navigateLeft|Right() 2011-01-13 22:45:13 +01:00
Julian Viereck
1cba46b8d3 First iteration of porting Bespin's keyboardmapping over to ace. 2011-01-13 22:45:13 +01:00
Julian Viereck
700a647148 Simplify Document.computeWrapSplits 2011-01-13 14:05:09 +01:00
Julian Viereck
e01c59a8db Update renderer if wrapMode changes 2011-01-13 14:01:47 +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
Kevin Dangoor
71d98abe1e add a getValue to match setValue (it's just a synonym for toString) 2011-01-12 15:54:39 -05:00
Fabian Jakobs
3a892c7207 fix tests 2011-01-12 15:33:42 +01:00
Fabian Jakobs
36074ac3a4 make bg tokenizer API sync again 2011-01-12 15:33:31 +01:00
Fabian Jakobs
ed9b0d4f0a the document's lines array is no longer public 2011-01-12 15:32:53 +01:00
Fabian Jakobs
ecf7ef04c8 allow all characters a regexp flags 2011-01-12 11:56:28 +01:00
Fabian Jakobs
ed2300a72c revert stupid fix 2011-01-12 11:53:31 +01:00
Fabian Jakobs
dd45dfd661 Merge branch 'master' of github.com:ajaxorg/ace 2011-01-12 10:39:33 +01:00
Fabian Jakobs
0b3e7262bf remove unused argument 2011-01-12 10:12:32 +01:00
Joe Walker
e6faa6ab06 tweak require lines for absolute paths to simplify startup 2011-01-12 01:14:40 +00: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
45f27b3fae 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 20:05:07 +08:00
Julian Viereck
6db9e31ab6 Use e.clipboardData.getData to get the pasted data if available. Increases speed if pasting a lot of lines 2011-01-11 20:03:43 +08: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
Fabian Jakobs
f89ed9a319 fix gh issue #30
https://github.com/ajaxorg/ace/issues/#issue/30
2011-01-10 23:26:29 +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
nightwing
21d2d83af1 allow layers to be sized automatically 2011-01-10 15:21:07 +01:00
Fabian Jakobs
a8ba592fd2 fix typo 2011-01-10 13:29:42 +01:00
Fabian Jakobs
59133faa2c make rhino happy 2011-01-10 13:22:01 +01:00
nightwing
a4e6e77106 marker.type=="text" should be one character longer to account for endofline character 2011-01-10 11:21:34 +01:00
Fabian Jakobs
1c432b976c fix toggle show invisibles and add it to the demo 2011-01-10 11:18:57 +01:00
nightwing
9ddc3dbc3b don't scroll on selectAll 2011-01-10 10:30:33 +01:00
Fabian Jakobs
4ca58558f1 move setInnerHtml to pilot/dom 2011-01-10 10:29:22 +01:00
nightwing
cf5b3eadcf delete node and set innerhtml on new node 2011-01-10 09:45:40 +01:00
Fabian Jakobs
b6498028e5 fix typo 2011-01-10 08:38:26 +01:00
Fabian Jakobs
3c4157a09a fix typo 2011-01-10 08:35:30 +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
Joe Walker
62f9f22491 fix for selection misused - should go via the editor. not sure how this got missed out of commits 2011-01-04 13:31:01 +00:00