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
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
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
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
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
Fabian Jakobs
a0fa4872e1
update package
2011-02-10 09:54:38 +01: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
Daniel Krech
a34b2c6e82
removed throwing of error so that one can tokenize a empty line; added tokenizing of empty line to test mode (to demonstrate); commented out navigation test as it's not working before or after these changes.
2011-02-10 15:20:29 +08:00
Fabian Jakobs
afc2a7bc20
update package
2011-02-09 16:33:28 +01:00
Joe Cheng
dae577b086
Fix IE8 issues
...
- Fix error that happens on load: 'tokens' is null or not an object
- Syntax highlighting didn't actually work due to IE8 match semantics being different (empty string, not undefined, returned unmatched capturing groups)
2011-02-09 20:43:22 +08:00
Fabian Jakobs
a8fc812bad
Merge branch 'master' of github.com:ajaxorg/ace
2011-02-09 11:46:43 +01:00
Fabian Jakobs
c885d8641b
fix https://github.com/ajaxorg/ace/issues#issue/80
2011-02-09 11:46:27 +01:00
Fabian Jakobs
afb52232af
update build
0.1.5
v0.1.5
2011-02-08 17:34:36 +01:00
Fabian Jakobs
3fd3843c9f
fix changelog
2011-02-08 17:33:30 +01:00
Fabian Jakobs
b4f2187c08
bump version number
2011-02-08 17:23:47 +01:00
Fabian Jakobs
582eb0ad67
fix typo and make sure js files in modes don't accumulate
2011-02-08 17:23:34 +01:00
Fabian Jakobs
ac44381658
update pilot
2011-02-08 17:21:19 +01:00
Fabian Jakobs
758ecefa73
use four space indentation for the coffee example
2011-02-08 17:20:55 +01:00
Fabian Jakobs
0934deb87f
update build
2011-02-08 17:20:33 +01:00
Colin Gourlay
96285d43ff
Added myself to the authors of the Python syntax mode.
2011-02-08 20:51:13 +08:00
Fabian Jakobs
210dcaf4fd
fix keyword lookup in the tokenizers
2011-02-08 12:33:12 +01:00
Fabian Jakobs
554dafd1bf
fix tokenizer check
2011-02-08 12:32:47 +01:00
Fabian Jakobs
d2d5fab86e
update readme
2011-02-08 12:32:07 +01:00
Fabian Jakobs
4b3d183ba7
reaadd tokenizer check
2011-02-08 09:19:06 +01:00
Fabian Jakobs
faec023507
Merge branch 'master' of github.com:ajaxorg/ace
2011-02-08 09:16:26 +01:00
Daniel Krech
ae4b171065
Fixed to allow tokenizing of an empty line. eg. a rule with a regex of ^$
2011-02-08 16:16:05 +08:00
Joe Cheng
a9bbd7995a
PageUp/Down behavior that is more consistent with native OS
2011-02-08 16:12:55 +08:00
Fabian Jakobs
44c1196e08
Merge branch 'master' of github.com:ajaxorg/ace
2011-02-08 09:04:19 +01:00
satyr
589418a83e
CoffeeScript mode
2011-02-08 16:03:45 +08:00
Julian Viereck
3b29651731
Ensure there is always at least one line if a empty document is created
2011-02-08 01:06:18 +08:00
Julian Viereck
17578e42cb
Fix issue 83: Wrap mode error on Document.insertLines/removeLines
2011-02-08 01:06:18 +08:00
Fabian Jakobs
034152e88c
update package
2011-02-07 12:20:14 +01:00
Fabian Jakobs
9ac8dc2ef2
small change to the demo document
2011-02-07 11:56:40 +01:00