Commit graph

1,109 commits

Author SHA1 Message Date
Fabian Jakobs
32a332fd3f fix desired column computation 2011-02-12 13:13:35 +01:00
Fabian Jakobs
112f59cc08 port asyncjs to the browser 2011-02-12 13:13:16 +01:00
Fabian Jakobs
e3866dbcb7 Take padding into account when determining wrap limit 2011-02-12 11:43:17 +01:00
Fabian Jakobs
ce36cf2922 clean up 2011-02-11 17:49:09 +01:00
Fabian Jakobs
076706d6f8 add scrollToLine to the mockrenderer
- need implementation
2011-02-11 17:49:04 +01:00
Fabian Jakobs
08a783d050 Merge remote branch 'jpallen/master' 2011-02-11 17:42:39 +01:00
James Allen
438339167f Fixed gotoLine to consider wrapped lines when calculating where to scroll to
I have created a new method VirtualRenderer#scrollToLine to do for lines what
scrollToRow does for absolute rows in the editor. Previously gotoLine called
scrollToRow which would jump to the nth row, but with line wraps this may not
be the nth line. scrollToLine also takes an additional parameter to tell it
whether to scroll the line to the top or center of the editor.
2011-02-11 16:21:03 +00:00
Fabian Jakobs
c831fb5276 update build 2011-02-11 15:44:00 +01:00
Fabian Jakobs
0a3111c8fb fix selectAll after anchor merge 2011-02-11 15:43:34 +01:00
Fabian Jakobs
fcf4e764a3 fix python string highlighting 2011-02-11 15:28:43 +01:00
Fabian Jakobs
44dae66318 add syntax rule for php comments 2011-02-11 13:43:42 +01:00
Fabian Jakobs
8c4181ef7e let server.js serve index.html by default 2011-02-11 12:52:33 +01:00
Fabian Jakobs
dc9a11055d move editor.html to index.html 2011-02-11 12:50:56 +01:00
Fabian Jakobs
c102aa72b1 fix soft wrap unit tests 2011-02-11 12:26:24 +01:00
Fabian Jakobs
f0c8e3a9a4 multi row operations will not be used 2011-02-11 12:09:00 +01:00
Fabian Jakobs
f3174a29b3 Revert "add anchor demo"
This reverts commit 5589c44225.

Conflicts:

	demo/demo.js
2011-02-11 11:59:26 +01:00
Fabian Jakobs
8683abd9af Merge branch 'anchor' 2011-02-11 11:57:23 +01:00
Fabian Jakobs
cd0ebf4029 remove more manual cursor positioning 2011-02-11 11:56:27 +01:00
Fabian Jakobs
4cc5bf9a7b no need to track the cursor manually anymore 2011-02-11 11:51:01 +01:00
Fabian Jakobs
9c422423af fix cursor clipping 2011-02-11 11:41:38 +01:00
Fabian Jakobs
44f2e923b4 cleanups 2011-02-11 11:34:35 +01:00
Fabian Jakobs
cfc553f66f toggleLineComment no longer has to return the remove characters
Also make the change as minimal as possible
2011-02-11 11:34:21 +01:00
Fabian Jakobs
d4759b0b1a add missing method to the mock renderer 2011-02-11 10:57:19 +01:00
Fabian Jakobs
2d4b1ebe70 update package 2011-02-11 10:33:41 +01:00
Fabian Jakobs
6c6f2a8f1c fix mouse positioning if the editor is scrolled in the page 2011-02-11 10:33:09 +01:00
Fabian Jakobs
67a366df13 Merge branch 'master' of github.com:ajaxorg/ace 2011-02-11 09:51:12 +01:00
Joe Cheng
9226825600 Remove redundant setWrapLimit method 2011-02-11 16:50:10 +08:00
Joe Cheng
c2cd67105d Add free text wrapping with constraints 2011-02-11 16:50:10 +08:00
Fabian Jakobs
12d8da86d8 Merge branch 'master' into anchor 2011-02-11 09:07:58 +01:00
Irakli Gozalishvili
2e8d62a1e3 Reverting change back to fix the regression:
be6646ba35
2011-02-11 15:45:53 +08:00
Irakli Gozalishvili
53bc406e43 Fix for the cursor in VIM mode.
ffada5c7b2
2011-02-11 15:45:52 +08:00
Fabian Jakobs
442bee9601 update pilot 2011-02-11 08:22:22 +01:00
Fabian Jakobs
116225caf5 update build 2011-02-11 08:22:15 +01:00
Fabian Jakobs
6be525c3f8 cursor on the right side of the screen should be visible 2011-02-11 08:21:17 +01:00
Fabian Jakobs
d776e30935 tab to spaces 2011-02-11 08:20:33 +01:00
Fabian Jakobs
b74a322c7d refactor selection to use anchors 2011-02-11 08:10:44 +01:00
Fabian Jakobs
f9d3155f08 create selection after the document 2011-02-11 08:10:15 +01:00
Fabian Jakobs
30923b0b1e store position as row column fields directly on
the anchor and always clip position to document
2011-02-11 08:09:55 +01:00
Fabian Jakobs
faca5d8267 move measure DOM node further out of the viewport 2011-02-11 07:59:35 +01:00
Fabian Jakobs
275969627f add static file server for node.js to run ace on c9 2011-02-11 07:56:31 +01:00
Eric Allam
e228eda37a Fixed Issue 102, screenToTextCoordinates returning incorrect row when window is scrolled in the Y direction 2011-02-11 14:46:54 +08:00
Joe Cheng
2f26407592 Fix bug where typing or pasting to extend the longest line causes the cursor and last character to be hidden 2011-02-11 14:40:31 +08:00
Resolver Developers
f811ef0b6f Removed superfluous comma which breaks IE 2011-02-11 03:46:15 +08:00
Fabian Jakobs
5589c44225 add anchor demo 2011-02-10 18:20:57 +01:00
Fabian Jakobs
b6b25168e2 Merge branch 'master' of github.com:ajaxorg/ace 2011-02-10 17:56:07 +01:00
Fabian Jakobs
7dfa56c6b8 some more anchor tests and fixes 2011-02-10 17:21:05 +01:00
Fabian Jakobs
56e691f31f tab to spaces 2011-02-10 17:20:47 +01:00
Fabian Jakobs
70f56d355e add anchor class 2011-02-10 16:36:27 +01:00
Fabian Jakobs
fe84831a99 fix ranges for remove and add lines 2011-02-10 16:36:12 +01:00
Joe Cheng
065afc28c2 Improve wrap mode behavior when wrap limit changes
- The cursor wasn't repainting in its new position
- Incorrect content width due to session.getScreenWidth() returning a stale value
2011-02-10 17:10:58 +08:00