Commit graph

61 commits

Author SHA1 Message Date
Joshua Peek
3bcfb70e40 Restore Emacs up key binding
Broken by 689bed38ff
2012-07-03 23:24:44 +04:00
nightwing
689bed38ff improve jumptomatching 2012-06-11 09:14:16 +04:00
nightwing
a82c1c52d8 add duplicateSelection command 2012-06-11 09:14:15 +04:00
nightwing
85ae1cd761 improve default keybindings 2012-06-01 18:50:54 +04:00
Ruben Daniels
18956d8ee7 * small command changes 2012-04-18 12:42:37 +02:00
nightwing
2b3a950613 make cut a command, and add documentation 2012-04-12 22:42:57 +04:00
nightwing
387790d94c cleanup 2012-04-12 22:42:56 +04:00
Fabian Jakobs
819bfe47ce Command+Backspace should remove until begin of line, Option+Backspace should remove token
fix #661
2012-04-06 15:33:26 +02:00
nightwing
eebdf1360f jumptomatching should be enabled in readonly mode 2012-01-02 21:46:04 +04:00
Fabian Jakobs
c08d09bfb4 use strict 2011-12-19 15:15:29 +01:00
Fabian Jakobs
3e88268332 add jump to matching brace command 2011-12-19 12:04:22 +01:00
Fabian Jakobs
3b01eb9bac cleanups 2011-12-13 12:21:47 +01:00
Fabian Jakobs
09a04bdc32 use text mate keybindings for the macros. fix #534 2011-11-28 16:02:49 +01:00
Fabian Jakobs
59af119a42 revert d62c0aa0: "change windows shortcuts to match os conventions" 2011-11-24 18:25:08 +01: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
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
Fabian Jakobs
e910138acd add command_manager unit tests 2011-11-11 11:10:37 +01:00
Fabian Jakobs
c043d14b8b use relative module ids to please node.js 2011-11-09 15:38:53 +01:00
Fabian Jakobs
caac348e10 fix remove left 2011-11-02 18:26:52 +01:00
Fabian Jakobs
b063b96230 move pilot code back into Ace
Conflicts:

	.gitmodules
	Makefile.dryice.js
	build_support/editor_textarea.html
	demo/demo.js
	kitchen-sink.html
	lib/ace/edit_session_test.js
	lib/ace/mode/coffee.js
	lib/ace/mode/coffee_highlight_rules.js
	lib/ace/mode/css.js
	lib/ace/mode/javascript.js
	lib/ace/model/window.js
	lib/ace/mouse/default_handlers.js
	lib/ace/theme/clouds.js
	lib/ace/theme/clouds_midnight.js
	lib/ace/theme/cobalt.js
	lib/ace/theme/crimson_editor.js
	lib/ace/theme/dawn.js
	lib/ace/theme/eclipse.js
	lib/ace/theme/idle_fingers.js
	lib/ace/theme/kr_theme.js
	lib/ace/theme/merbivore.js
	lib/ace/theme/merbivore_soft.js
	lib/ace/theme/mono_industrial.js
	lib/ace/theme/monokai.js
	lib/ace/theme/pastel_on_dark.js
	lib/ace/theme/solarized_dark.js
	lib/ace/theme/solarized_light.js
	lib/ace/theme/textmate.js
	lib/ace/theme/twilight.js
	lib/ace/theme/vibrant_ink.js
	lib/ace/view/measure_text.js
	lib/ace/virtual_renderer.js
	package.json
	support/paths.js
2011-11-02 18:18:51 +01:00
Fabian Jakobs
62a3b4edf5 Merge commit '6808e3bb35'
Conflicts:
	.gitmodules
	Makefile.dryice.js
	demo/demo.js
	demo/kitchen-sink/boot.js
	kitchen-sink.html
	lib/ace/commands/default_commands.js
	lib/ace/test/tests.html
	package.json
	support/pilot
2011-11-02 14:43:00 +01:00
nightwing
92a3369bdb add togglefold to the list of default commands 2011-10-21 09:07:13 +05:00
Resolver Developers
19ea6a93f3 Merge branch 'master' of https://github.com/ajaxorg/ace 2011-10-05 14:32:22 +01:00
nightwing
4176e6f079 add missing delete keybindings for windows 2011-10-04 23:06:51 +05:00
nightwing
a2cd7be899 allow behaviours to handle removeRight as well 2011-10-04 23:06:51 +05:00
Resolver Developers
cf44a62780 Merge branch 'master' of https://github.com/ajaxorg/ace 2011-08-31 16:21:13 +01:00
nightwing
fcd7919fdc add selected text to finds prompt 2011-08-18 23:14:31 +05:00
Resolver Developers
79281c4fdd Merge branch 'master' of https://github.com/ajaxorg/ace 2011-06-29 11:57:30 +01:00
Fabian Jakobs
1ad3030099 fix #312 2011-06-28 13:38:51 -07:00
nightwing
893c36c313 bind Ctrl-Shift-Home/End to selecttoStart/end on windows 2011-05-15 00:01:56 +05:00
Resolver Developers
cd3f0aaf7e Merge branch 'master' of https://github.com/ajaxorg/ace
Conflicts:
	lib/ace/commands/default_commands.js
2011-03-31 18:18:39 +01:00
Fabian Jakobs
8f33d91fc4 resolve keybinding collision between goto line and center selection on windows 2011-03-21 09:43:31 +00:00
Resolver Developers
4944181067 Removed second Ctrl-L binding that was breaking go to line. by: Glenn, Giles 2011-03-16 17:29:06 +00:00
Fabian Jakobs
4ab1d42273 update cockpit 2011-03-07 20:11:56 +01:00
Fabian Jakobs
1f9206f079 fix keybindings 2011-03-07 20:11:01 +01:00
Julian Viereck
c27fd43ebd Issue #91: Put key bindings on the commands directlyå 2011-02-20 16:24:05 +01:00
Mihai Sucan
f517bf9717 Minimal UI for Find+Replace, issue 56.
The API is there, the shortcut is there as well (Ctrl-R) but the command does
not exist, so added a minimal implementation, just Find has one.
2011-02-18 14:26:23 +08:00
Fabian Jakobs
fb49960694 add commands
- remove to line start
 - remove word left
 - remove word right
2011-02-13 17:21:24 +01:00
Fabian Jakobs
e1fef748e8 implement center selection in view port command 2011-02-13 16:06:21 +01:00
Fabian Jakobs
3715e90501 implement remove to line end 2011-02-13 15:55:05 +01:00
Fabian Jakobs
432873ed46 implement split line command 2011-02-13 15:54:21 +01:00
Fabian Jakobs
a0b9140e18 implement transpose letters command 2011-02-13 15:52:29 +01:00
Fabian Jakobs
ce36cf2922 clean up 2011-02-11 17:49:09 +01:00
Fabian Jakobs
0a3111c8fb fix selectAll after anchor merge 2011-02-11 15:43:34 +01:00
Fabian Jakobs
7644522783 fix copyright 2011-01-15 13:36:51 +01:00
Julian Viereck
3ebd2865ea Finalize current keymapping work:
- catchup with latest changes to pilot/keys.js
- the textinput adds a event.addCommandKeyEvent(...) to the input
- the onTextInput and onCommandKey event sent by the textinput are forwareded to the edtior which
  then forwards the input to the keybinding, which handles the input based on the current inputMode.
- the current inputMode can get changed by setting the setting "inputMode". Currently there are the
  modes "vim" and "emacs". If the inputMode doesn't match, the "default" mode is used.
2011-01-13 22:47:58 +01:00
Julian Viereck
b16bc6abc4 Add basic emacs keybinding. 2011-01-13 22:45:13 +01:00