navigate/select word left/right

This commit is contained in:
Fabian Jakobs 2010-04-12 15:05:56 +02:00
commit 895e5b77c1
3 changed files with 878 additions and 668 deletions

File diff suppressed because it is too large Load diff

View file

@ -97,6 +97,10 @@ if (!window.ace)
return height;
};
ace.stringReverse = function(string) {
return string.split("").reverse().join("");
};
ace.bind = function(fcn, context) {
return function() {
return fcn.apply(context, arguments);