169 Commits

Author SHA1 Message Date
Fabian Jakobs
87bfb14552 fix delta events 2011-01-14 18:27:38 +01:00
Fabian Jakobs
7ccd377f13 Add changeDelta event on the document
Conflicts:

	lib/ace/document.js
2011-01-14 16:23:31 +01:00
Fabian Jakobs
2c32e73991 small changes to the new key handler code 2011-01-14 16:14:36 +01:00
Fabian Jakobs
18adea4251 Merge remote branch 'jviereck/keymapping'
Conflicts:
	.gitignore
	.gitmodules
	LICENSE
	demo/boot.js
	demo/startup.js
	lib/ace/editor.js
	support/cockpit
2011-01-14 15:21:38 +01:00
Julian Viereck
d7486bb1e2 Refactor code and add a new hashHandler 2011-01-14 00:08:48 +01:00
Julian Viereck
2d94d77dc4 Moving some files around/creating new ace/keyboard directory. Renaming KeyboardStateMapper to StateMapper 2011-01-13 23:12:27 +01:00
Julian Viereck
2074d723c0 The keyboardHandler is now set using a setKeyboardHandler function 2011-01-13 23:01:36 +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
Julian Viereck
ffca65d15e Improve vim-mode to catch input better if in 'start' mode 2011-01-13 22:45:13 +01:00
Julian Viereck
252b064d6a Add missing "times" to Editor.navigateLeft|Right() 2011-01-13 22:45:13 +01:00
Julian Viereck
1cba46b8d3 First iteration of porting Bespin's keyboardmapping over to ace. 2011-01-13 22:45:13 +01:00
Kevin Dangoor
71d98abe1e add a getValue to match setValue (it's just a synonym for toString) 2011-01-12 15:54:39 -05:00
Fabian Jakobs
3a892c7207 fix tests 2011-01-12 15:33:42 +01:00
Fabian Jakobs
36074ac3a4 make bg tokenizer API sync again 2011-01-12 15:33:31 +01:00
Fabian Jakobs
ed9b0d4f0a the document's lines array is no longer public 2011-01-12 15:32:53 +01:00
Fabian Jakobs
ecf7ef04c8 allow all characters a regexp flags 2011-01-12 11:56:28 +01:00
Fabian Jakobs
ed2300a72c revert stupid fix 2011-01-12 11:53:31 +01:00
Fabian Jakobs
dd45dfd661 Merge branch 'master' of github.com:ajaxorg/ace 2011-01-12 10:39:33 +01:00
Fabian Jakobs
0b3e7262bf remove unused argument 2011-01-12 10:12:32 +01:00
Joe Walker
e6faa6ab06 tweak require lines for absolute paths to simplify startup 2011-01-12 01:14:40 +00:00
Julian Viereck
45f27b3fae Don't perform a replace operation in Document.replace if there is nothing to replace. Increases performance in wrapMode if inserting many lines 2011-01-11 20:05:07 +08:00
Julian Viereck
6db9e31ab6 Use e.clipboardData.getData to get the pasted data if available. Increases speed if pasting a lot of lines 2011-01-11 20:03:43 +08:00
Fabian Jakobs
f89ed9a319 fix gh issue #30
https://github.com/ajaxorg/ace/issues/#issue/30
2011-01-10 23:26:29 +01:00
nightwing
21d2d83af1 allow layers to be sized automatically 2011-01-10 15:21:07 +01:00