| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- [[
- "start",
- ["variable","diff"],
- ["variable"," --git"],
- ["keyword"," a/lib/ace/edit_session.js"],
- ["variable"," b/lib/ace/edit_session.js"]
- ],[
- "start"
- ],[
- "start",
- ["variable","index 23fc3fc..ed3b273 100644"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","---"],
- ["meta.tag"," a/lib/ace/edit_session.js"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","+++"],
- ["meta.tag"," b/lib/ace/edit_session.js"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -51,6 +51,7 "],
- ["constant","@@"],
- ["comment.doc.tag"," var TextMode = require(\"./mode/text\").Mode;"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," var Range = require(\"./range\").Range;"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," var Document = require(\"./document\").Document;"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," var BackgroundTokenizer = require(\"./background_tokenizer\").BackgroundTokenizer;"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text","var SearchHighlight = require(\"./search_highlight\").SearchHighlight;"]
- ],[
- "start"
- ],[
- "start",
- ["text"," "]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," /**"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," * class EditSession"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -307,6 +308,13 "],
- ["constant","@@"],
- ["comment.doc.tag"," var EditSession = function(text, mode) {"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," return token;"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," };"]
- ],[
- "start"
- ],[
- "start",
- ["text"," "]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," this.highlight = function(re) {"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," if (!this.$searchHighlight) {"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," var highlight = new SearchHighlight(null, \"ace_selected-word\", \"text\");"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," this.$searchHighlight = this.addDynamicMarker(highlight);"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," }"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," this.$searchHighlight.setRegexp(re);"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," }"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," /**"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," * EditSession.setUndoManager(undoManager)"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," * - undoManager (UndoManager): The new undo manager"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -556,7 +564,8 "],
- ["constant","@@"],
- ["comment.doc.tag"," var EditSession = function(text, mode) {"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," type : type || \"line\","]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," renderer: typeof type == \"function\" ? type : null,"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," clazz : clazz,"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," inFront: !!inFront"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," inFront: !!inFront,"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," id: id"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," }"]
- ],[
- "start"
- ],[
- "start",
- ["text"," "]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," if (inFront) {"]
- ],[
- "start"
- ],[
- "start",
- ["variable","diff"],
- ["variable"," --git"],
- ["keyword"," a/lib/ace/editor.js"],
- ["variable"," b/lib/ace/editor.js"]
- ],[
- "start"
- ],[
- "start",
- ["variable","index 834e603..b27ec73 100644"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","---"],
- ["meta.tag"," a/lib/ace/editor.js"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","+++"],
- ["meta.tag"," b/lib/ace/editor.js"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -494,7 +494,7 "],
- ["constant","@@"],
- ["comment.doc.tag"," var Editor = function(renderer, session) {"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," * Emitted when a selection has changed."]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," **/"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," this.onSelectionChange = function(e) {"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," var session = this.getSession();"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," var session = this.session;"]
- ],[
- "start"
- ],[
- "start",
- ["text"," "]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," if (session.$selectionMarker) {"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," session.removeMarker(session.$selectionMarker);"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -509,12 +509,40 "],
- ["constant","@@"],
- ["comment.doc.tag"," var Editor = function(renderer, session) {"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," this.$updateHighlightActiveLine();"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," }"]
- ],[
- "start"
- ],[
- "start",
- ["text"," "]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," var self = this;"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," if (this.$highlightSelectedWord && !this.$wordHighlightTimer)"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," this.$wordHighlightTimer = setTimeout(function() {"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," self.session.$mode.highlightSelection(self);"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," self.$wordHighlightTimer = null;"]
- ],[
- "start"
- ],[
- "start",
- ["support.function","-"],
- ["string"," }, 30, this);"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text"," var re = this.$highlightSelectedWord && this.$getSelectionHighLightRegexp()"]
- ],[
- "start"
- ],[
- "start",
- ["invisible"," };"]
- ],[
- "start"
- ],[
- "start",
- ["variable","diff"],
- ["variable"," --git"],
- ["keyword"," a/lib/ace/search_highlight.js"],
- ["variable"," b/lib/ace/search_highlight.js"]
- ],[
- "start"
- ],[
- "start",
- ["invisible","new file mode 100644"]
- ],[
- "start"
- ],[
- "start",
- ["variable","index 0000000..b2df779"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","---"],
- ["meta.tag"," /dev/null"]
- ],[
- "start"
- ],[
- "start",
- ["constant.numeric","+++"],
- ["meta.tag"," b/lib/ace/search_highlight.js"]
- ],[
- "start"
- ],[
- "start",
- ["constant","@@"],
- ["constant.numeric"," -0,0 +1,3 "],
- ["constant","@@"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text","new"]
- ],[
- "start"
- ],[
- "start",
- ["support.constant","+"],
- ["text","empty file"]
- ]]
|