Commit graph

761 commits

Author SHA1 Message Date
Irakli Gozalishvili
e1601f653d Merge remote branch 'upstream/master' into requirejs
Conflicts:
	demo/boot.js
	package.json
2011-01-20 10:44:05 +01:00
Ruben
eed67cb9f7 Change readme 2011-01-19 07:19:41 -08:00
Fabian Jakobs
c879e0a802 fix undo manager 2011-01-19 12:30:09 +01:00
Fabian Jakobs
81a742e2f1 Don't use $lines in setValue and $clipPosition to
make subclassing easier
2011-01-19 12:29:53 +01:00
Fabian Jakobs
af0b9c2d57 point to cockpit on ajaxorg 2011-01-19 11:19:13 +01:00
Fabian Jakobs
8659f0103f Merge branch 'master' of github.com:ajaxorg/ace 2011-01-19 10:48:54 +01:00
Fabian Jakobs
e577a7070e set value on empty document 2011-01-19 10:42:27 +01:00
Fabian Jakobs
6961f375a6 update pilot 2011-01-19 10:06:13 +01:00
Fabian Jakobs
dba904d2b9 data passed in a change event is now a delta 2011-01-19 09:24:41 +01:00
Fabian Jakobs
d436d71c20 rename document to session 2011-01-19 09:10:05 +01:00
Fabian Jakobs
a08f880b3c fix longest line computation 2011-01-19 08:54:08 +01:00
Fabian Jakobs
e59bc99a47 fix demo 2011-01-19 08:53:47 +01:00
Fabian Jakobs
0fe4de2b62 all tests are green again 2011-01-19 08:41:04 +01:00
Fabian Jakobs
c7daceb51a remove dead code 2011-01-19 08:15:13 +01:00
Fabian Jakobs
8a8cf3265e strip document handling from the edit session 2011-01-19 08:15:03 +01:00
Fabian Jakobs
2db0785544 remove lines returns the removed lines 2011-01-19 08:14:28 +01:00
Fabian Jakobs
eece670fb0 add undo/redo support to the new document and add
unit tests
2011-01-19 07:20:23 +01:00
Fabian Jakobs (c9)
6f6c6424e7 update pilot 2011-01-18 14:27:58 +01:00
Fabian Jakobs
c2f7944a75 split off the document from the edit session 2011-01-18 11:40:24 +01:00
Fabian Jakobs
ebac43d329 fix node search paths for unit tests 2011-01-18 11:39:48 +01:00
Fabian Jakobs
dab3347d81 update cockpit 2011-01-17 13:03:57 +01:00
Fabian Jakobs
c5895ca019 add some ideas 2011-01-17 13:03:11 +01:00
Fabian Jakobs
3ee5444d10 rename css class 2011-01-17 13:01:21 +01:00
Fabian Jakobs
b13cbd4483 update postMessage fix based on @gozala's feedback 2011-01-17 11:07:53 +01:00
Fabian Jakobs
e0081744c0 Merge branch 'master' of github.com:ajaxorg/ace 2011-01-17 08:47:43 +01:00
Fabian Jakobs
fbf3d72006 potential fix for ACE used in FF plugins. 2011-01-17 08:47:15 +01:00
Matt Pardee
8c0f9562d1 Fixed clouds_midnight.js filename 2011-01-15 05:53:55 -08:00
Fabian Jakobs
7644522783 fix copyright 2011-01-15 13:36:51 +01:00
Fabian Jakobs
6bcb9be1ba Merge branch 'master' of github.com:ajaxorg/ace
Conflicts:
	support/cockpit
2011-01-15 13:27:19 +01:00
Fabian Jakobs
8a9a987ff4 update sub modules 2011-01-15 13:26:02 +01:00
Matt Pardee
29e2f4cec0 Updated clouds_midnight.js file misspelling 2011-01-15 03:25:51 -08:00
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
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