Sergi Mansilla
e944fdde3b
Small fixes in keybinding.js
2011-11-30 17:42:38 +01:00
Zef Hemel
c6dbb93167
Merge branch 'fix/remove-duplicate-annos' into vim
2011-11-30 11:57:07 +01:00
Zef Hemel
147709312c
Avoids multiple duplicate messages in the gutter title.
2011-11-30 11:56:17 +01:00
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
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
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
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
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
Bernie Telles
5d0bc99d99
Change HTML highlight rules to match chrome theme.
...
Conflicts:
lib/ace/mode/html_highlight_rules.js
2011-11-17 18:41:45 -08: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