Commit graph

4,103 commits

Author SHA1 Message Date
nightwing
1a9686c6b7 fix contextmenu for editor with border 2013-02-22 14:22:52 +04:00
nightwing
2f55065e84 fix #1239 on('changeScrollTop') argument is an object instead of number 2013-02-22 14:22:51 +04:00
nightwing
c6ba1957aa add a way for disabling AutoScrollEditorIntoView 2013-02-22 14:22:29 +04:00
nightwing
bd6dda68f0 Issue #1232: Scroll editor into browser view on cursor movement 2013-02-22 14:22:27 +04:00
nightwing
3cbb8dda55 when text is wrapped highlight full gutter row and screen row 2013-02-22 14:22:25 +04:00
nightwing
29d9737b4c add beforeRender and after render events 2013-02-22 14:22:24 +04:00
nightwing
72eccd5283 fix typo in fold_handler 2013-02-22 14:22:22 +04:00
nightwing
83cf35e7ea move textarea and gutter-line-highlight to main cursor 2013-02-22 14:22:20 +04:00
nightwing
ed7750e70e improve MouseWheel behavior 2013-02-22 14:22:19 +04:00
nightwing
d8cfb0687d add afterExec event 2013-02-22 14:22:17 +04:00
nightwing
911cbb3bfb improve event_emitter
- add once
- _signal = fast _emit without side effects (preventdefault)
- capturing argument for addListener
2013-02-22 14:22:14 +04:00
nightwing
f7e17a7c38 Merge pull request #1261 from LivelyKernel/fix-onPaste-command-multiselect
Fix onPaste when it is used in a command and multiselect is active
2013-02-21 11:08:29 +04:00
Harutyun Amirjanyan
3788e83a0c Merge pull request #1262 from LivelyKernel/emacs-improvements
Emacs improvements
2013-02-20 21:54:13 -08:00
Mostafa Eweda
2c2156cc10 Merge pull request #1263 from ajaxorg/fix-100pct-cpu
Restore old labeled break semantics
2013-02-20 09:48:04 -08:00
Lennart Kats
b815db63cd Restore old labeled break semantics 2013-02-20 18:31:21 +01:00
nightwing
f4b7fcc77d fix typo in gutterLineHighlight option setter 2013-02-20 11:33:46 +04:00
Robert Krahn
241d44f0b9 adding tests for emacs handler 2013-02-19 17:23:15 -08:00
Robert Krahn
a82fcd0dc2 comments for emacs handleKeyboard 2013-02-19 15:26:58 -08:00
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