mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-15 11:30:52 +00:00
7254cda535
Updated to
6b88b939c2
Includes fixes for drag delay (bug 60432)
and chrome useragent detection: Github issue
https://github.com/ajaxorg/ace/issues/1950
Bug: T62432
Change-Id: I5ac67a812f09ac43e73475613afc9a3f1ddc9a75
26 lines
753 B
JavaScript
26 lines
753 B
JavaScript
define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) {
|
|
"use strict";
|
|
|
|
var oop = require("../lib/oop");
|
|
var TextMode = require("./text").Mode;
|
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
var Behaviour = require("./behaviour").Behaviour;
|
|
|
|
var Mode = function() {
|
|
this.HighlightRules = TextHighlightRules;
|
|
this.$behaviour = new Behaviour();
|
|
};
|
|
|
|
oop.inherits(Mode, TextMode);
|
|
|
|
(function() {
|
|
this.type = "text";
|
|
this.getNextLineIndent = function(state, line, tab) {
|
|
return '';
|
|
};
|
|
this.$id = "ace/mode/plain_text";
|
|
}).call(Mode.prototype);
|
|
|
|
exports.Mode = Mode;
|
|
});
|