fix typos
This commit is contained in:
parent
54c0a56308
commit
22ee0d0bc8
3 changed files with 5 additions and 2 deletions
|
|
@ -117,11 +117,13 @@ exports.commands = [{
|
|||
name: "selecttostart",
|
||||
bindKey: bindKey("Ctrl-Shift-Home", "Command-Shift-Up"),
|
||||
exec: function(editor) { editor.getSelection().selectFileStart(); },
|
||||
multiSelectAction: "forEach",
|
||||
readOnly: true
|
||||
}, {
|
||||
name: "gotostart",
|
||||
bindKey: bindKey("Ctrl-Home", "Command-Home|Command-Up"),
|
||||
exec: function(editor) { editor.navigateFileStart(); },
|
||||
multiSelectAction: "forEach",
|
||||
readOnly: true
|
||||
}, {
|
||||
name: "selectup",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
define(function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
var useragent = require("ace/lib/useragent");
|
||||
var useragent = require("./useragent");
|
||||
|
||||
exports.get = function (url, callback) {
|
||||
var xhr = exports.createXhr();
|
||||
|
|
|
|||
|
|
@ -62,7 +62,8 @@ function FoldHandler(editor) {
|
|||
|
||||
if (gutterRegion == "foldWidgets") {
|
||||
var row = e.getDocumentPosition().row;
|
||||
if (editor.session.foldWidgets[row])
|
||||
var session = editor.session;
|
||||
if (session.foldWidgets && session.foldWidgets[row])
|
||||
editor.session.onFoldWidgetClick(row, e);
|
||||
e.stop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue