rename
This commit is contained in:
parent
fdf9841ef9
commit
2227a9bfea
2 changed files with 4 additions and 4 deletions
|
|
@ -606,6 +606,6 @@ commands.addCommand({
|
||||||
});
|
});
|
||||||
|
|
||||||
// add multiple cursor support to editor
|
// add multiple cursor support to editor
|
||||||
require("ace/multi_cursor").MultiCursor(env.editor)
|
require("ace/multi_select").MultiSelect(env.editor);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s):
|
* 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
|
* 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
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||||
|
|
@ -541,7 +541,7 @@ function onMouseDown(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// MultiCursor
|
// MultiCursor
|
||||||
function MultiCursor(editor) {
|
function MultiSelect(editor) {
|
||||||
initSession(editor.session);
|
initSession(editor.session);
|
||||||
editor.on("changeSession", function(e) {
|
editor.on("changeSession", function(e) {
|
||||||
initSession(e.session)
|
initSession(e.session)
|
||||||
|
|
@ -567,6 +567,6 @@ function MultiCursor(editor) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
exports.MultiCursor = MultiCursor;
|
exports.MultiSelect = MultiSelect;
|
||||||
|
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue