Commit graph

4,185 commits

Author SHA1 Message Date
Robert Krahn
9fd93a5e37 adding command key to emacs keyhandler.
usage:
keyHandler.bindKey("CMD-g": "someNewCommand")
2013-02-19 15:20:11 -08:00
Robert Krahn
50a6bd21af add platform attribute to emacs handler to allow platform-specific keybindings
usage like:
editor.getKeyboardHandler().addCommand({
    name: "...",
    bindKey: {win: "...", mac: "..."},
    exec: function(e) { ... }
});
2013-02-19 15:15:03 -08:00
Robert Krahn
fa1a88eb7f emacs: adding missing keyboardQuit command 2013-02-19 12:26:37 -08:00
Robert Krahn
c76aed967f emacs code cleanup 2013-02-19 12:26:05 -08:00
Robert Krahn
53a2f12128 cleaning up trailing whitespace 2013-02-19 12:18:43 -08:00
nightwing
91ed9f336a add aceview to the list of sites using ace 2013-02-19 16:06:06 +04:00
Robert Krahn
3604513a60 fixing onPaste in command with multiselect 2013-02-18 23:38:44 -08:00
Robert Krahn
8b9771fef9 adding test to reproduce onPaste-coammnd-multiselect error 2013-02-18 23:38:17 -08:00
Robert Krahn
ac1b5f4f37 removing trailing whitespace 2013-02-18 23:37:53 -08:00
nightwing
ac3a7e2bbb Revert "Remove CLA info"
This reverts commit 086888ea66.
2013-02-18 22:40:46 +04:00
nightwing
2818ccdabb fix failing tests 2013-02-18 17:32:45 +04:00
nightwing
bcf02a6671 remove remaining uses of deferredCall 2013-02-18 17:01:25 +04:00
nightwing
95257a9be5 do not call splice from resetRowCache unnecessarily 2013-02-18 17:01:25 +04:00
nightwing
f76a4c5884 fix alt-shift click 2013-02-18 17:01:24 +04:00
nightwing
09e753941f range.clone in getFoldsInRange is slow 2013-02-18 17:01:24 +04:00
nightwing
e71fd47153 use general toggleCommentLines for all modes 2013-02-18 17:01:24 +04:00
nightwing
528a103149 change toggleCommentLines behavior to match sublime text 2013-02-18 17:01:23 +04:00
nightwing
b350fe65a4 sometimes editor is blank on ie10 2013-02-18 17:01:23 +04:00
nightwing
61b0aa944b do not modify string split on chrome 2013-02-18 17:01:23 +04:00
nightwing
d1cbeabf6c add changeMode event 2013-02-18 17:01:22 +04:00
Ruben Daniels
197038ddb6 Merge pull request #1259 from ajaxorg/fix/crashing-chrome
Fix JSHint wierd-label-loop-syntax that was likely crashing Chrome 24
2013-02-17 06:37:27 -08:00
Mostafa Eweda
da4b2ee635 Lennart's fix not to create too many setTimeouts 2013-02-17 16:34:46 +02:00
Mostafa Eweda
98d59452fe Fix JSHint likely-crashing-chrome wierd-label-loop-syntax 2013-02-17 16:21:06 +02:00
Harutyun Amirjanyan
83be0083bb Merge pull request #1249 from ajaxorg/highlighting/2.0
Highlighting 2.0 (continuation)
2013-02-17 03:19:28 -08:00
Harutyun Amirjanyan
f99827e01b Merge pull request #1257 from BallBearing/issue1253
Give some more love to #1253.
2013-02-16 12:31:56 -08:00
Harutyun Amirjanyan
f8262837fd Merge pull request #1256 from Korpch/patch-1
fix "char" is reserved word in bracket_match.js
2013-02-16 12:25:33 -08:00
nightwing
df706e5706 fix link highlighting in markdown headers 2013-02-17 00:20:47 +04:00
David Braun
ec6053a57c Refactor clearAnnotations. 2013-02-16 16:32:45 -03:00
Radimir Enkison
2632685340 fix "char" is reserved word bracket_match.js 2013-02-17 02:32:26 +07:00
David Braun
64b888d383 Fix comment in setAnnotations.
It returns an Array, not an Object.
2013-02-16 16:30:39 -03:00
David Braun
cb2b3c828f Create test for annotations. 2013-02-16 16:30:39 -03:00
nightwing
77b5ae1062 fix tokenizer on ie8
changes $arrayTokens to use exec instead of split
 1 it works on ie8
 2 it is faster on chrome http://jsperf.com/capturing-split-vs-exec
unfortunately exec is slow on firefox but ff regexes are a bit rusty atm (v21), and whole tokenizer is slow on it anyway.
2013-02-16 23:09:42 +04:00
nightwing
118c80ce89 remove remnants of regex_allowed 2013-02-16 23:09:21 +04:00
nightwing
4bff3166bb update tests 2013-02-16 23:09:21 +04:00
nightwing
59a54f704d fix #997: Pascal Language Support 2013-02-16 23:09:21 +04:00
nightwing
ff1282556b simplify converter 2013-02-16 23:09:21 +04:00
nightwing
6001ba815c fix #1241 PHP highlighting of closing tag in comment 2013-02-16 23:09:20 +04:00
nightwing
c83f48b371 fix php highlighting inside html attributes 2013-02-16 23:09:20 +04:00
nightwing
300ae2d757 keep indent level for all modes by default 2013-02-16 23:09:20 +04:00
nightwing
b4f799770a add sass mode 2013-02-16 23:09:20 +04:00
nightwing
0c318fa8c0 tweak mode_creator 2013-02-16 23:09:20 +04:00
nightwing
0f71bb2f00 fix highlighting of c# strings 2013-02-16 23:09:19 +04:00
nightwing
382eb6ab55 remove flag parameter from tokenizer 2013-02-16 23:09:19 +04:00
nightwing
e084dc1303 move line length checking to tokenizer to not break long data uri's in css 2013-02-16 23:09:19 +04:00
nightwing
94a6dac5a7 fix highlighting of regular expressions at the beginning of document 2013-02-16 23:08:55 +04:00
nightwing
9ddf039cf6 fix typos 2013-02-16 23:08:55 +04:00
nightwing
a40d9bce76 exclude files with whitespace in name from the build 2013-02-16 23:06:38 +04:00
nightwing
bc599f23d6 fix #1253 clearAnnotations uses wrong data structure for empty set. 2013-02-16 22:42:00 +04:00
nightwing
8d07cf88d1 Merge pull request #1220 from wcandillon/master
XQuery syntax highlighting improvements
2013-02-16 22:34:13 +04:00
William Candillon
94a088e31f Improve handling of the xquery semantic token cache. 2013-02-16 22:26:48 +04:00