Commit graph

727 commits

Author SHA1 Message Date
Fabian Jakobs
2cd73789ca update package.json 2011-01-14 16:18:04 +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
Fabian Jakobs
2468259160 remove old build 2011-01-14 15:07:06 +01:00
Fabian Jakobs
5d8b9abb6c flatten deps 2011-01-14 14:10:40 +01:00
Julian Viereck
d7486bb1e2 Refactor code and add a new hashHandler 2011-01-14 00:08:48 +01:00
Fabian Jakobs
85e0d2168c update submodule license files 2011-01-13 23:12:52 +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
1d45d8baad add MPL to the license file 2011-01-12 22:22:44 -05:00
Kevin Dangoor
801f7c5c27 make the env available on the node 2011-01-12 15:57:12 -05: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
Kevin Dangoor
3210edda92 use files from new build_support directory 2011-01-12 15:52:51 -05:00
Kevin Dangoor
e99c796e73 moving things around to be a bit saner 2011-01-12 15:49:18 -05:00
Joe Walker
1712850ec0 adding files built as a result of last checkin 2011-01-12 17:36:00 +00:00
Joe Walker
15e1dbf17b these are the changes to remove cockpit support from ace (or add it in if reversed) 2011-01-12 17:35:39 +00:00
Joe Walker
840b83d15b catchup with cockpit 2011-01-12 17:31:25 +00:00
Joe Walker
6820e185c6 adding final build support for adding cockpit to ace 2011-01-12 17:30:15 +00:00
Joe Walker
1b2a43afd5 fix a number of startup issues 2011-01-12 17:28:30 +00:00
Joe Walker
78d4851576 a build that contains ace - only a temporary checkin for reference sake 2011-01-12 17:27:33 +00:00
Joe Walker
4f8ffe4ed3 minor tidyup 2011-01-12 15:23:39 +00:00
Joe Walker
10165e31b6 updating build files 2011-01-12 15:23:04 +00:00
Joe Walker
731119bd56 simplify html in build demo editor 2011-01-12 15:21:22 +00:00
Joe Walker
183a0bf5ed add optional support for cockpit to build process 2011-01-12 15:20:19 +00: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
Joe Walker
de202c1eee tweak build file to make it easy to select which components to include 2011-01-12 14:06:12 +00:00
Joe Walker
d28e826e9f updated build 2011-01-12 13:30:47 +00:00
Joe Walker
5919f7ddae fixed handing of strings vs buffers and removed some old cruft 2011-01-12 13:30:27 +00:00
Joe Walker
95d9ac6921 new build files 2011-01-12 12:48:15 +00:00
Joe Walker
25573105b7 remove the contents of the div once weve injected into the editor. this may not be the best solution for the long term, but its a win for now 2011-01-12 12:48:01 +00:00
Joe Walker
0bea52db34 simplify the build script 2011-01-12 12:45:41 +00:00
Joe Walker
0a4e379059 Merge branch 'master' of github.com:mozilla/ace 2011-01-12 11:17:49 +00:00
Joe Walker
bc85026e23 catchup with cockpit 2011-01-12 11:12:35 +00: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
03cf6c84fb replace LGPL license file with pointers to the three licenses 2011-01-12 10:14:48 +01:00
Fabian Jakobs
0b3e7262bf remove unused argument 2011-01-12 10:12:32 +01:00
Kevin Dangoor
f77233f8dd oops. don't need demo_startup either 2011-01-12 00:32:16 -05:00
Kevin Dangoor
7858f84366 committing updated build - adding resize handling, though this is
incomplete.
2011-01-12 00:25:34 -05:00
Kevin Dangoor
e320a024aa now creates a new, svelte build 2011-01-12 00:20:16 -05:00
Kevin Dangoor
0439f93487 updated build 2011-01-11 23:19:31 -05:00
Kevin Dangoor
2a2a05bab3 modules weren't being cached (so doing require("foo") twice would
return two independent copies of the foo module, thus messing up
any state stored in that module)

the visible evidence of this is that commands (such as keyboard
movements) could not be found
2011-01-11 23:18:23 -05:00