Commit graph

1,085 commits

Author SHA1 Message Date
Sergi Mansilla
d3013ad835 We are now passing along the original Keyboard event for keybindings
The original keyboard event is now passed on, and `$composeBuffer` is
returning with an extra property `keyIdentifier`, which contains the
Unicode id of the pressed keybinding.
2011-11-29 16:45:30 +01:00
Fabian Jakobs
cd271f1a8b add failing unit test for #510 2011-11-28 17:38:58 +01:00
Fabian Jakobs
af074250db fix demo 2011-11-28 17:03:48 +01:00
Fabian Jakobs
12f47849fb fix #533 2011-11-28 16:51:51 +01:00
Fabian Jakobs
5d38d47af0 fix #524 2011-11-28 16:25:03 +01:00
Fabian Jakobs
c4d3d68a19 don't autoindent in object literal. fix #508 2011-11-28 16:19:22 +01:00
Fabian Jakobs
09a04bdc32 use text mate keybindings for the macros. fix #534 2011-11-28 16:02:49 +01:00
Fabian Jakobs
e0aaedaa0d xml highlighter fix #521 2011-11-25 18:45:23 +01:00
Fabian Jakobs
d3ba5b8111 fix embedding multiple ace editors fix #492 2011-11-25 17:20:33 +01:00
Fabian Jakobs
2b4351ccd7 Merge branch 'master' of github.com:ajaxorg/ace
Conflicts:
	build/demo/kitchen-sink/kitchen-sink.js
	build/kitchen-sink.html
	build/src/ace.js
	build/textarea/src/ace.js
2011-11-25 16:22:22 +01:00
Sergi Mansilla
5639aa971e Added tests for selectAWord 2011-11-24 23:22:49 +01:00
Fabian Jakobs
51d2a72933 Merge branch 'master' into keybinding_cleanup 2011-11-24 18:25:18 +01:00
Fabian Jakobs
59af119a42 revert d62c0aa0: "change windows shortcuts to match os conventions" 2011-11-24 18:25:08 +01:00
Sergi Mansilla
bb7fd9bb66 Added getAWordRange and selectAWord methods
These new methods are necessary to select a word along with its right
whitespace, which is a reasonably common scenario.
2011-11-24 18:18:01 +01:00
Fabian Jakobs
219d337db3 workaround for cloud9 rendering bug 2011-11-24 17:36:25 +01:00
Zef Hemel
9d1c25eb1b Merge pull request #530 from adamjimenez/patch-4
fix for binding ctrl-;
2011-11-24 04:27:43 -08:00
Adam Jimenez
184ed6cee6 fix for binding ctrl-; 2011-11-24 11:18:31 +00:00
nightwing
448fde5d4b update themes and theme conversion tool to add missing styles for folds 2011-11-24 12:11:07 +04:00
Zef Hemel
b81138b937 Added space after 'if' 2011-11-23 11:46:57 +01:00
Zef Hemel
44db746f35 Adds a marker to every theme saying whether it is a dark or light theme. Based on that, it either attaches an "ace_dark" CSS selector to the root of the editor or not. Useful for styling. 2011-11-23 11:33:23 +01:00
nightwing
970dccdca4 better api for adding commands + unit tests 2011-11-22 12:16:44 +04:00
nightwing
c00341b444 add command_manager_test to browser tests, and fix failing test 2011-11-21 12:46:15 +04:00
nightwing
262df95a3d properly handle replay/toggleRecording while in replay mode 2011-11-21 12:14:09 +04:00
nightwing
52ea224893 hashHandler may return empty command 2011-11-21 12:14:09 +04:00
nightwing
c8906d4123 do not emit paste on indent 2011-11-21 12:14:09 +04:00
nightwing
0ba3333971 add simple keyboard macros 2011-11-21 12:14:09 +04:00
nightwing
d926ff88a9 move readOnly checks into commandManager 2011-11-21 12:13:44 +04:00
nightwing
97b00ea46b untangle keybinding.js 2011-11-21 12:13:44 +04:00
nightwing
d62c0aa08e change windows shortcuts to match os conventions 2011-11-21 12:13:44 +04:00
nightwing
3dbe128d10 fix: removeFolds splits foldLine incorrectly 2011-11-21 12:13:25 +04:00
nightwing
d8a8876254 find and goto must unfold desired locations 2011-11-21 12:13:16 +04:00
Zef Hemel
d1064ae0e1 Merge pull request #512 from nightwing/pullreq
fixed some bugs with wrapped foldlines
2011-11-21 00:01:39 -08:00
nightwing
13bb7725ff adapt move line test to new behaviour 2011-11-18 17:39:56 +04:00
nightwing
e2d47c6a60 fix clipping at the boundaries, and add more tests 2011-11-18 17:39:03 +04:00
mikedeboer
390f541769 fixed require paths for ace themes 2011-11-18 11:53:51 +01:00
Zef Hemel
ac324e8fb0 Merge remote-tracking branch 'nightwing/pullreq' into integration 2011-11-18 11:18:30 +01:00
Jan Jongboom
314f756bfb Themes reverted 2011-11-18 10:36:37 +01:00
Fabian Jakobs
00d86c60ef Merge pull request #506 from ajaxorg/placeholders
Placeholders
2011-11-17 10:54:11 -08:00
nightwing
be8cacfcc3 useragent.js thinks firefox 11 is old :-) 2011-11-17 21:58:07 +04:00
nightwing
0d696cb258 allow Numpad\d keys in commands 2011-11-17 21:31:45 +04:00
nightwing
647c713325 do not lose cursor position while moving lines 2011-11-17 21:14:04 +04:00
nightwing
4a8a5bad59 Fixed: selectAll+removeLines corrupts undo history 2011-11-17 21:13:21 +04:00
nightwing
41a1913235 findPrevious finds same text again and again if selection isn't backwards 2011-11-17 21:13:02 +04:00
nightwing
a931d239d7 fix rendering of wrapped foldlines 2011-11-17 21:08:17 +04:00
Zef Hemel
7d50280a49 Unit tests for placeholder and bugfixes resulting from the test. 2011-11-17 10:39:42 +01:00
Chris Wanstrath
351c1e75fb Add editor.toUpperCase() and editor.toLowerCase()
Also add Ctrl-U (uppercase) and Ctrl-Shift-U (lowercase) bindings.
2011-11-16 10:34:19 -08:00
Zef Hemel
90928a61ae Removed default classes. 2011-11-16 16:48:58 +01:00
Zef Hemel
42d6cedf4d Minor tweaks. 2011-11-16 16:46:28 +01:00
Zef Hemel
ba4497e068 Merge remote-tracking branch 'origin/master' into placeholders 2011-11-16 11:08:54 +01:00
Zef Hemel
755ec7eeb2 First iteration of placeholders in ACE. 2011-11-16 11:07:20 +01:00