This commit is contained in:
nightwing 2012-03-26 11:51:24 +04:00
commit 2227a9bfea
2 changed files with 4 additions and 4 deletions

View file

@ -606,6 +606,6 @@ commands.addCommand({
});
// add multiple cursor support to editor
require("ace/multi_cursor").MultiCursor(env.editor)
require("ace/multi_select").MultiSelect(env.editor);
});

View file

@ -20,7 +20,7 @@
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Fabian Jakobs <fabian AT ajax DOT org>
* Harutyun Amirjanyan <amirjanyan AT gmail DOT com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -541,7 +541,7 @@ function onMouseDown(e) {
}
// MultiCursor
function MultiCursor(editor) {
function MultiSelect(editor) {
initSession(editor.session);
editor.on("changeSession", function(e) {
initSession(e.session)
@ -567,6 +567,6 @@ function MultiCursor(editor) {
exports.MultiCursor = MultiCursor;
exports.MultiSelect = MultiSelect;
});