From b86f9c205fe8cf8e02b4363b37a691541da83381 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 10:50:19 +0100 Subject: [PATCH 01/12] fix typo in the demo --- demo/editor-build.html | 2 +- demo/editor.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/editor-build.html b/demo/editor-build.html index 097ff22c..55625559 100644 --- a/demo/editor-build.html +++ b/demo/editor-build.html @@ -103,7 +103,7 @@ diff --git a/demo/editor.html b/demo/editor.html index b00d6679..6cc21662 100644 --- a/demo/editor.html +++ b/demo/editor.html @@ -102,7 +102,7 @@ From 1cd81100002f01257d1d36eed74f6e2e2f52b4a0 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 02:53:26 -0700 Subject: [PATCH 02/12] github generated gh-pages branch --- index.html | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 00000000..8d0d375d --- /dev/null +++ b/index.html @@ -0,0 +1,82 @@ + + + + + + + ajaxorg/ace @ GitHub + + + + + + + Fork me on GitHub + +
+ +
+ + + + +
+ +

ace + by ajaxorg

+ +
+ Ajax.org Code Editor +
+ +

License

+

LGPL

+

Authors

+

Fabian Jakobs (fabian.jakobs@web.de)
mikedeboer (info@mikedeboer.nl)
rikarends (rik@ajax.org)
Ruben Daniels (ruben@ajax.org)

+

Contact

+

Ajax.org (mike@javeline.com)

+ + +

Download

+

+ You can download this project in either + zip or + tar formats. +

+

You can also clone the project with Git + by running: +

$ git clone git://github.com/ajaxorg/ace
+

+ + + +
+ + + + From 480f15d7fd3cff1f208978eff10ac6475998bfb4 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 11:02:37 +0100 Subject: [PATCH 03/12] tweak index.html --- index.html | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 8d0d375d..0576a387 100644 --- a/index.html +++ b/index.html @@ -1,36 +1,36 @@ + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + - ajaxorg/ace @ GitHub - - - + + @@ -46,7 +46,7 @@

ace - by ajaxorg

+ by ajax.org
Ajax.org Code Editor @@ -55,9 +55,17 @@

License

LGPL

Authors

-

Fabian Jakobs (fabian.jakobs@web.de)
mikedeboer (info@mikedeboer.nl)
rikarends (rik@ajax.org)
Ruben Daniels (ruben@ajax.org)

+

Fabian Jakobs (fabian.jakobs@web.de) +
mikedeboer (info@mikedeboer.nl) +
rikarends (rik@ajax.org) +
Ruben Daniels (ruben@ajax.org) +
+

+

Demo

+Check out the demo.

Contact

-

Ajax.org (mike@javeline.com)

+

Fabian Jakobs (fabian.jakobs@web.de) +

Download

From 3292ec684f353decfacbae308bfeb43aabacf1da Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 11:04:05 +0100 Subject: [PATCH 04/12] fix names --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0576a387..9b74242d 100644 --- a/index.html +++ b/index.html @@ -56,8 +56,8 @@

LGPL

Authors

Fabian Jakobs (fabian.jakobs@web.de) -
mikedeboer (info@mikedeboer.nl) -
rikarends (rik@ajax.org) +
Mike de Boer (info@mikedeboer.nl) +
Rik Arends (rik@ajax.org)
Ruben Daniels (ruben@ajax.org)

From 6d0a1a605c881854d9062e418772c3ffce3c0853 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 11:09:03 +0100 Subject: [PATCH 05/12] add readme --- Readme.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 00000000..8f27fea7 --- /dev/null +++ b/Readme.md @@ -0,0 +1,6 @@ +ACE (Ajax.org Code Ediror) +========================== + +ACE is a standalone code editor written in JavaScript. It can be easily embedded in any web page and JavaScript application. It is currently used as the editor component of the [Cloud9 IDE](http://cloud9ide.com). + +Checkout the (demo)[http://cloud9ide.com]! From eb71e5e24074136cf2da5bc85c34ffb9e9fe9bef Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 03:12:57 -0700 Subject: [PATCH 06/12] fix link --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 8f27fea7..3664f519 100644 --- a/Readme.md +++ b/Readme.md @@ -3,4 +3,4 @@ ACE (Ajax.org Code Ediror) ACE is a standalone code editor written in JavaScript. It can be easily embedded in any web page and JavaScript application. It is currently used as the editor component of the [Cloud9 IDE](http://cloud9ide.com). -Checkout the (demo)[http://cloud9ide.com]! +Checkout the [demo](http://http://ajaxorg.github.com/ace/demo/editor-build.html)! From 34d1ff49db334bba41b3c4efc7982f1ba8e24850 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Fri, 5 Nov 2010 03:13:41 -0700 Subject: [PATCH 07/12] fix link act 2 --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 3664f519..a911bf39 100644 --- a/Readme.md +++ b/Readme.md @@ -3,4 +3,4 @@ ACE (Ajax.org Code Ediror) ACE is a standalone code editor written in JavaScript. It can be easily embedded in any web page and JavaScript application. It is currently used as the editor component of the [Cloud9 IDE](http://cloud9ide.com). -Checkout the [demo](http://http://ajaxorg.github.com/ace/demo/editor-build.html)! +Checkout the [demo](http://ajaxorg.github.com/ace/demo/editor-build.html)! From fdb75c0cb97fba204db302664ffa92f54068d5fd Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 8 Nov 2010 09:57:46 +0100 Subject: [PATCH 08/12] Fix IE8 issue --- lib/ace/RenderLoop.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ace/RenderLoop.js b/lib/ace/RenderLoop.js index c1fcd490..9281bb00 100644 --- a/lib/ace/RenderLoop.js +++ b/lib/ace/RenderLoop.js @@ -5,8 +5,8 @@ * @license LGPLv3 * @author Fabian Jakobs */ -require.def("ace/RenderLoop", function() { - +require.def("ace/RenderLoop", ["ace/lib/event"], function(event) { + var RenderLoop = function(onRender) { this.onRender = onRender; this.pending = false; @@ -37,12 +37,12 @@ var RenderLoop = function(onRender) { this.setTimeoutZero = function(callback) { if (!this.attached) { var _self = this; - window.addEventListener("message", function(e) { + event.addListener(window, "message", function(e) { if (e.source == window && _self.callback && e.data == _self.messageName) { e.stopPropagation(); _self.callback(); } - }, false); + }); this.attached = true; } this.callback = callback; From 255a9a05eed3461150f3f475b2e259a0fafe5ab4 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 8 Nov 2010 10:00:44 +0100 Subject: [PATCH 09/12] update build --- build/ace/Editor.js | 42 ++++++++++++++++++++--------------------- build/ace/RenderLoop.js | 6 +++--- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/build/ace/Editor.js b/build/ace/Editor.js index 6eba462a..829d72e1 100644 --- a/build/ace/Editor.js +++ b/build/ace/Editor.js @@ -2899,47 +2899,47 @@ require.def("ace/ScrollBar", ["ace/lib/oop", "ace/lib/lang", "ace/lib/dom", "ace }).call(e.prototype); return e }); -require.def("ace/RenderLoop", function() { - var k = function(f) { - this.onRender = f; +require.def("ace/RenderLoop", ["ace/lib/event"], function(k) { + var f = function(a) { + this.onRender = a; this.pending = false; this.changes = 0 }; (function() { - this.schedule = function(f) { - this.changes |= f; + this.schedule = function(a) { + this.changes |= a; if(!this.pending) { this.pending = true; - var a = this; + var h = this; this.setTimeoutZero(function() { - a.pending = false; - a.onRender(a.changes); - a.changes = 0 + h.pending = false; + h.onRender(h.changes); + h.changes = 0 }) } }; if(window.postMessage) { this.messageName = "zero-timeout-message"; - this.setTimeoutZero = function(f) { + this.setTimeoutZero = function(a) { if(!this.attached) { - var a = this; - window.addEventListener("message", function(h) { - if(h.source == window && a.callback && h.data == a.messageName) { - h.stopPropagation(); - a.callback() + var h = this; + k.addListener(window, "message", function(i) { + if(i.source == window && h.callback && i.data == h.messageName) { + i.stopPropagation(); + h.callback() } - }, false); + }); this.attached = true - }this.callback = f; + }this.callback = a; window.postMessage(this.messageName, "*") } }else { - this.setTimeoutZero = function(f) { - setTimeout(f, 0) + this.setTimeoutZero = function(a) { + setTimeout(a, 0) } } - }).call(k.prototype); - return k + }).call(f.prototype); + return f }); require.def("ace/VirtualRenderer", ["ace/lib/oop", "ace/lib/lang", "ace/lib/dom", "ace/lib/event", "ace/layer/Gutter", "ace/layer/Marker", "ace/layer/Text", "ace/layer/Cursor", "ace/ScrollBar", "ace/RenderLoop", "ace/MEventEmitter", 'text!ace/css/editor.css!.ace_editor {\n position: absolute;\n overflow: hidden;\n\n font-family: "Menlo", "Monaco", "Courier New", monospace;\n font-size: 12px; \n}\n\n.ace_scroller {\n position: absolute;\n overflow-x: scroll;\n overflow-y: hidden; \n}\n\n.ace_gutter {\n position: absolute;\n overflow-x: hidden;\n overflow-y: hidden;\n height: 100%;\n}\n\n.ace_editor .ace_sb {\n position: absolute;\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n}\n\n.ace_editor .ace_sb div {\n position: absolute;\n width: 1px;\n left: 0px;\n}\n\n.ace_editor .ace_printMargin {\n position: absolute;\n height: 100%;\n}\n\n.ace_layer {\n z-index: 0;\n position: absolute;\n overflow: hidden; \n white-space: nowrap;\n height: 100%;\n}\n\n.ace_text-layer {\n font-family: Monaco, "Courier New", monospace;\n color: black;\n}\n\n.ace_cursor-layer {\n cursor: text;\n}\n\n.ace_cursor {\n z-index: 3;\n position: absolute;\n}\n\n.ace_line {\n white-space: nowrap;\n}\n\n.ace_marker-layer {\n}\n\n.ace_marker-layer .ace_step {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 4;\n}\n\n.ace_marker-layer .ace_active_line {\n position: absolute;\n z-index: 1;\n}'], function(k, f, a, h, i, e, j, c, g, l, m, b) { diff --git a/build/ace/RenderLoop.js b/build/ace/RenderLoop.js index 0d7ed9b1..c24755a0 100644 --- a/build/ace/RenderLoop.js +++ b/build/ace/RenderLoop.js @@ -1,7 +1,7 @@ /* LGPLv3 */ -require.def("ace/RenderLoop", function() { +require.def("ace/RenderLoop", ["ace/lib/event"], function(e) { var d = function(b) { this.onRender = b; this.pending = false; @@ -25,12 +25,12 @@ require.def("ace/RenderLoop", function() { this.setTimeoutZero = function(b) { if(!this.attached) { var a = this; - window.addEventListener("message", function(c) { + e.addListener(window, "message", function(c) { if(c.source == window && a.callback && c.data == a.messageName) { c.stopPropagation(); a.callback() } - }, false); + }); this.attached = true }this.callback = b; window.postMessage(this.messageName, "*") From 753fc401254be8ffaeeca4d1f739d1a0408b70b2 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 8 Nov 2010 10:03:56 +0100 Subject: [PATCH 10/12] update windows key bindings --- lib/ace/conf/keybindings/default_win.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/ace/conf/keybindings/default_win.js b/lib/ace/conf/keybindings/default_win.js index fd5d393c..82df95f7 100644 --- a/lib/ace/conf/keybindings/default_win.js +++ b/lib/ace/conf/keybindings/default_win.js @@ -21,26 +21,26 @@ return { "overwrite": "Insert", "copylinesup": "Ctrl-Alt-Up", "movelinesup": "Alt-Up", - "selecttostart": "Ctrl-Shift-Up", + "selecttostart": "Alt-Shift-Up", "gotostart": "Ctrl-Home|Ctrl-Up", "selectup": "Shift-Up", "golineup": "Up", "copylinesdown": "Ctrl-Alt-Down", "movelinesdown": "Alt-Down", - "selecttoend": "Ctrl-Shift-Down", + "selecttoend": "Alt-Shift-Down", "gotoend": "Ctrl-End|Ctrl-Down", "selectdown": "Shift-Down", "godown": "Down", - "selectwordleft": "Alt-Shift-Left", - "gotowordleft": "Alt-Left", + "selectwordleft": "Ctrl-Shift-Left", + "gotowordleft": "Ctrl-Left", "selecttolinestart": "Ctrl-Shift-Left", - "gotolinestart": "Ctrl-Left|Home", + "gotolinestart": "Alt-Left|Home", "selectleft": "Shift-Left", "gotoleft": "Left", - "selectwordright": "Alt-Shift-Right", - "gotowordright": "Alt-Right", + "selectwordright": "Ctrl-Shift-Right", + "gotowordright": "Ctrl-Right", "selecttolineend": "Ctrl-Shift-Right", - "gotolineend": "Ctrl-Right|End", + "gotolineend": "Alt-Right|End", "selectright": "Shift-Right", "gotoright": "Right", "selectpagedown": "Shift-PageDown", From 3046cbde2a430f66aa522684958cd6909a5b4f95 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 8 Nov 2010 10:03:56 +0100 Subject: [PATCH 11/12] update windows key bindings --- build/ace/Editor.js | 6 +++--- build/ace/conf/keybindings/default_win.js | 6 +++--- lib/ace/conf/keybindings/default_win.js | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build/ace/Editor.js b/build/ace/Editor.js index 829d72e1..ae27f8eb 100644 --- a/build/ace/Editor.js +++ b/build/ace/Editor.js @@ -444,9 +444,9 @@ require.def("ace/conf/keybindings/default_mac", function() { pagedown:"PageDown", selectpageup:"Shift-PageUp", pageup:"PageUp", selectlinestart:"Shift-Home", selectlineend:"Shift-End", del:"Delete", backspace:"Backspace", outdent:"Shift-Tab", indent:"Tab"} }); require.def("ace/conf/keybindings/default_win", function() { - return{selectall:"Ctrl-A", removeline:"Ctrl-D", gotoline:"Ctrl-L", togglecomment:"Ctrl-7", findnext:"Ctrl-K", findprevious:"Ctrl-Shift-K", find:"Ctrl-F", replace:"Ctrl-R", undo:"Ctrl-Z", redo:"Ctrl-Shift-Z|Ctrl-Y", overwrite:"Insert", copylinesup:"Ctrl-Alt-Up", movelinesup:"Alt-Up", selecttostart:"Ctrl-Shift-Up", gotostart:"Ctrl-Home|Ctrl-Up", selectup:"Shift-Up", golineup:"Up", copylinesdown:"Ctrl-Alt-Down", movelinesdown:"Alt-Down", selecttoend:"Ctrl-Shift-Down", gotoend:"Ctrl-End|Ctrl-Down", - selectdown:"Shift-Down", godown:"Down", selectwordleft:"Alt-Shift-Left", gotowordleft:"Alt-Left", selecttolinestart:"Ctrl-Shift-Left", gotolinestart:"Ctrl-Left|Home", selectleft:"Shift-Left", gotoleft:"Left", selectwordright:"Alt-Shift-Right", gotowordright:"Alt-Right", selecttolineend:"Ctrl-Shift-Right", gotolineend:"Ctrl-Right|End", selectright:"Shift-Right", gotoright:"Right", selectpagedown:"Shift-PageDown", pagedown:"PageDown", selectpageup:"Shift-PageUp", pageup:"PageUp", selectlinestart:"Shift-Home", - selectlineend:"Shift-End", del:"Delete", backspace:"Backspace", outdent:"Shift-Tab", indent:"Tab"} + return{selectall:"Ctrl-A", removeline:"Ctrl-D", gotoline:"Ctrl-L", togglecomment:"Ctrl-7", findnext:"Ctrl-K", findprevious:"Ctrl-Shift-K", find:"Ctrl-F", replace:"Ctrl-R", undo:"Ctrl-Z", redo:"Ctrl-Shift-Z|Ctrl-Y", overwrite:"Insert", copylinesup:"Ctrl-Alt-Up", movelinesup:"Alt-Up", selecttostart:"Alt-Shift-Up", gotostart:"Ctrl-Home|Ctrl-Up", selectup:"Shift-Up", golineup:"Up", copylinesdown:"Ctrl-Alt-Down", movelinesdown:"Alt-Down", selecttoend:"Alt-Shift-Down", gotoend:"Ctrl-End|Ctrl-Down", selectdown:"Shift-Down", + godown:"Down", selectwordleft:"Ctrl-Shift-Left", gotowordleft:"Ctrl-Left", selecttolinestart:"Ctrl-Shift-Left", gotolinestart:"Alt-Left|Home", selectleft:"Shift-Left", gotoleft:"Left", selectwordright:"Ctrl-Shift-Right", gotowordright:"Ctrl-Right", selecttolineend:"Ctrl-Shift-Right", gotolineend:"Alt-Right|End", selectright:"Shift-Right", gotoright:"Right", selectpagedown:"Shift-PageDown", pagedown:"PageDown", selectpageup:"Shift-PageUp", pageup:"PageUp", selectlinestart:"Shift-Home", selectlineend:"Shift-End", + del:"Delete", backspace:"Backspace", outdent:"Shift-Tab", indent:"Tab"} }); require.def("ace/PluginManager", [], function() { return{commands:{}, registerCommand:function(k, f) { diff --git a/build/ace/conf/keybindings/default_win.js b/build/ace/conf/keybindings/default_win.js index bcec8dd3..aa88c011 100644 --- a/build/ace/conf/keybindings/default_win.js +++ b/build/ace/conf/keybindings/default_win.js @@ -2,7 +2,7 @@ LGPLv3 */ require.def("ace/conf/keybindings/default_win", function() { - return{selectall:"Ctrl-A", removeline:"Ctrl-D", gotoline:"Ctrl-L", togglecomment:"Ctrl-7", findnext:"Ctrl-K", findprevious:"Ctrl-Shift-K", find:"Ctrl-F", replace:"Ctrl-R", undo:"Ctrl-Z", redo:"Ctrl-Shift-Z|Ctrl-Y", overwrite:"Insert", copylinesup:"Ctrl-Alt-Up", movelinesup:"Alt-Up", selecttostart:"Ctrl-Shift-Up", gotostart:"Ctrl-Home|Ctrl-Up", selectup:"Shift-Up", golineup:"Up", copylinesdown:"Ctrl-Alt-Down", movelinesdown:"Alt-Down", selecttoend:"Ctrl-Shift-Down", gotoend:"Ctrl-End|Ctrl-Down", - selectdown:"Shift-Down", godown:"Down", selectwordleft:"Alt-Shift-Left", gotowordleft:"Alt-Left", selecttolinestart:"Ctrl-Shift-Left", gotolinestart:"Ctrl-Left|Home", selectleft:"Shift-Left", gotoleft:"Left", selectwordright:"Alt-Shift-Right", gotowordright:"Alt-Right", selecttolineend:"Ctrl-Shift-Right", gotolineend:"Ctrl-Right|End", selectright:"Shift-Right", gotoright:"Right", selectpagedown:"Shift-PageDown", pagedown:"PageDown", selectpageup:"Shift-PageUp", pageup:"PageUp", selectlinestart:"Shift-Home", - selectlineend:"Shift-End", del:"Delete", backspace:"Backspace", outdent:"Shift-Tab", indent:"Tab"} + return{selectall:"Ctrl-A", removeline:"Ctrl-D", gotoline:"Ctrl-L", togglecomment:"Ctrl-7", findnext:"Ctrl-K", findprevious:"Ctrl-Shift-K", find:"Ctrl-F", replace:"Ctrl-R", undo:"Ctrl-Z", redo:"Ctrl-Shift-Z|Ctrl-Y", overwrite:"Insert", copylinesup:"Ctrl-Alt-Up", movelinesup:"Alt-Up", selecttostart:"Alt-Shift-Up", gotostart:"Ctrl-Home|Ctrl-Up", selectup:"Shift-Up", golineup:"Up", copylinesdown:"Ctrl-Alt-Down", movelinesdown:"Alt-Down", selecttoend:"Alt-Shift-Down", gotoend:"Ctrl-End|Ctrl-Down", selectdown:"Shift-Down", + godown:"Down", selectwordleft:"Ctrl-Shift-Left", gotowordleft:"Ctrl-Left", selecttolinestart:"Ctrl-Shift-Left", gotolinestart:"Alt-Left|Home", selectleft:"Shift-Left", gotoleft:"Left", selectwordright:"Ctrl-Shift-Right", gotowordright:"Ctrl-Right", selecttolineend:"Ctrl-Shift-Right", gotolineend:"Alt-Right|End", selectright:"Shift-Right", gotoright:"Right", selectpagedown:"Shift-PageDown", pagedown:"PageDown", selectpageup:"Shift-PageUp", pageup:"PageUp", selectlinestart:"Shift-Home", selectlineend:"Shift-End", + del:"Delete", backspace:"Backspace", outdent:"Shift-Tab", indent:"Tab"} }); \ No newline at end of file diff --git a/lib/ace/conf/keybindings/default_win.js b/lib/ace/conf/keybindings/default_win.js index fd5d393c..82df95f7 100644 --- a/lib/ace/conf/keybindings/default_win.js +++ b/lib/ace/conf/keybindings/default_win.js @@ -21,26 +21,26 @@ return { "overwrite": "Insert", "copylinesup": "Ctrl-Alt-Up", "movelinesup": "Alt-Up", - "selecttostart": "Ctrl-Shift-Up", + "selecttostart": "Alt-Shift-Up", "gotostart": "Ctrl-Home|Ctrl-Up", "selectup": "Shift-Up", "golineup": "Up", "copylinesdown": "Ctrl-Alt-Down", "movelinesdown": "Alt-Down", - "selecttoend": "Ctrl-Shift-Down", + "selecttoend": "Alt-Shift-Down", "gotoend": "Ctrl-End|Ctrl-Down", "selectdown": "Shift-Down", "godown": "Down", - "selectwordleft": "Alt-Shift-Left", - "gotowordleft": "Alt-Left", + "selectwordleft": "Ctrl-Shift-Left", + "gotowordleft": "Ctrl-Left", "selecttolinestart": "Ctrl-Shift-Left", - "gotolinestart": "Ctrl-Left|Home", + "gotolinestart": "Alt-Left|Home", "selectleft": "Shift-Left", "gotoleft": "Left", - "selectwordright": "Alt-Shift-Right", - "gotowordright": "Alt-Right", + "selectwordright": "Ctrl-Shift-Right", + "gotowordright": "Ctrl-Right", "selecttolineend": "Ctrl-Shift-Right", - "gotolineend": "Ctrl-Right|End", + "gotolineend": "Alt-Right|End", "selectright": "Shift-Right", "gotoright": "Right", "selectpagedown": "Shift-PageDown", From 682df4e76dabe023848277326b527622871e927d Mon Sep 17 00:00:00 2001 From: martinwittemann Date: Mon, 8 Nov 2010 18:38:48 +0800 Subject: [PATCH 12/12] Fixed IE problem. --- lib/ace/RenderLoop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/RenderLoop.js b/lib/ace/RenderLoop.js index 9281bb00..c7b8f012 100644 --- a/lib/ace/RenderLoop.js +++ b/lib/ace/RenderLoop.js @@ -39,7 +39,7 @@ var RenderLoop = function(onRender) { var _self = this; event.addListener(window, "message", function(e) { if (e.source == window && _self.callback && e.data == _self.messageName) { - e.stopPropagation(); + event.stopPropagation(e); _self.callback(); } });