Mihai Sucan
b6e136201d
Fix for issue 57: highlight all instances of a selected word.
2011-02-13 14:35:19 +02:00
Fabian Jakobs
e37dc3f7e4
have two marker layers. One in front and one behind the text.
2011-02-12 15:25:14 +01:00
Fabian Jakobs
428dbeb11d
some more IE fixes
2011-02-12 15:03:17 +01:00
Fabian Jakobs
ddccaa75b2
fix copy, cut and past in IE
2011-02-12 15:02:55 +01:00
Fabian Jakobs
61049e9ca2
add browser test runner
2011-02-12 13:16:25 +01:00
Fabian Jakobs
f7813ccd5e
prepare tests to run in the browser again
2011-02-12 13:15:29 +01:00
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
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
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
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
6c6f2a8f1c
fix mouse positioning if the editor is scrolled in the page
2011-02-11 10:33:09 +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
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
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
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
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
Fabian Jakobs
d32c4e4863
console.log is not always available
2011-02-10 09:54:22 +01:00
Fabian Jakobs
1a4cdb7bdc
enable navigation test again
2011-02-10 09:52:28 +01:00
Jordan Lewis
70a48ad60e
Make navigate{Down,Up} respect its 'times' arg
2011-02-10 15:33:31 +08:00
Jordan Lewis
72e15f693c
Fix typo in navigation_test.js
...
Tried to require ../Editor instead of ../editor
2011-02-10 15:31:04 +08:00
Daniel Krech
e1f5a64327
removed the 'match[i + 1].length' clause in order to support tokenizing on an empty line (all the test cases pass without it)
2011-02-10 15:20:29 +08:00