Commit graph

4,103 commits

Author SHA1 Message Date
Lee Sing Jie
92d1b7559b Fix contextMenu when editor require scrolling
When editor is not at the top of the page (requires scrolling), textarea
right-click context menu will fail to appear.

Use clientX and clientY which returns the relative coordinates instead
of pageX and pageY.
2011-11-29 21:25:25 +08:00
Fabian Jakobs
cd271f1a8b add failing unit test for #510 2011-11-28 17:38:58 +01:00
Fabian Jakobs
15f2ef3f80 package 2011-11-28 17:03:55 +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
3cda6306c0 wiki 2011-11-28 16:20:35 +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
nightwing
4677db58d8 add fold detection rules for python and c style languages 2011-11-28 18:09:39 +04:00
nightwing
aa9ff0d763 ctrl+dblClick must remove fold and it's subfolds 2011-11-28 01:21:23 +04:00
nightwing
2424261f7a use tokenIterator to find comment range 2011-11-28 00:57:40 +04:00
nightwing
77dfd0b29c addFold must not throw if new fold is inside the existing one 2011-11-28 00:24:37 +04:00
nightwing
3412f89007 add simple foldWidgets 2011-11-27 20:53:51 +04:00
nightwing
8c1d415bdd make text layer full length 2011-11-25 22:47:07 +04:00
Fabian Jakobs
ff2a87af7e package 2011-11-25 18:46:50 +01:00
Fabian Jakobs
1a42d8e2b0 fix kitchen sink loading 2011-11-25 18:45:43 +01:00
Fabian Jakobs
e0aaedaa0d xml highlighter fix #521 2011-11-25 18:45:23 +01:00
Fabian Jakobs
0b633711a0 package 2011-11-25 17:21:26 +01:00
Fabian Jakobs
d513838288 remove unused imports 2011-11-25 17:20:50 +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
0ca443966e package 2011-11-25 11:30:31 +01:00
Zef Hemel
7e84cef35b Merge pull request #531 from ajaxorg/vim_methods
Added `getAWordRange` and `selectAWord` methods
2011-11-25 02:21:34 -08:00
Sergi Mansilla
5639aa971e Added tests for selectAWord 2011-11-24 23:22:49 +01:00
Fabian Jakobs
64ce049838 package 2011-11-24 18:26:33 +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
dbc4a35d38 package 2011-11-24 17:37:36 +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
Zef Hemel
52adc20760 Merge pull request #529 from nightwing/pullreq
update themes and theme conversion tool
2011-11-24 03:16:42 -08: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
b2dcbf9fa3 Build update. 2011-11-23 12:54:57 +01:00
Mike de Boer
8e7a4f61c4 Merge pull request #527 from ajaxorg/themes-dark-light-marker
Light/dark theme marker
2011-11-23 02:54:02 -08: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