navigate/select word left/right
This commit is contained in:
parent
4ad2a8cf66
commit
895e5b77c1
3 changed files with 878 additions and 668 deletions
1336
src/Editor.js
1336
src/Editor.js
File diff suppressed because it is too large
Load diff
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue