tokens_diff.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. [[
  2. "start",
  3. ["variable","diff"],
  4. ["variable"," --git"],
  5. ["keyword"," a/lib/ace/edit_session.js"],
  6. ["variable"," b/lib/ace/edit_session.js"]
  7. ],[
  8. "start"
  9. ],[
  10. "start",
  11. ["variable","index 23fc3fc..ed3b273 100644"]
  12. ],[
  13. "start"
  14. ],[
  15. "start",
  16. ["constant.numeric","---"],
  17. ["meta.tag"," a/lib/ace/edit_session.js"]
  18. ],[
  19. "start"
  20. ],[
  21. "start",
  22. ["constant.numeric","+++"],
  23. ["meta.tag"," b/lib/ace/edit_session.js"]
  24. ],[
  25. "start"
  26. ],[
  27. "start",
  28. ["constant","@@"],
  29. ["constant.numeric"," -51,6 +51,7 "],
  30. ["constant","@@"],
  31. ["comment.doc.tag"," var TextMode = require(\"./mode/text\").Mode;"]
  32. ],[
  33. "start"
  34. ],[
  35. "start",
  36. ["invisible"," var Range = require(\"./range\").Range;"]
  37. ],[
  38. "start"
  39. ],[
  40. "start",
  41. ["invisible"," var Document = require(\"./document\").Document;"]
  42. ],[
  43. "start"
  44. ],[
  45. "start",
  46. ["invisible"," var BackgroundTokenizer = require(\"./background_tokenizer\").BackgroundTokenizer;"]
  47. ],[
  48. "start"
  49. ],[
  50. "start",
  51. ["support.constant","+"],
  52. ["text","var SearchHighlight = require(\"./search_highlight\").SearchHighlight;"]
  53. ],[
  54. "start"
  55. ],[
  56. "start",
  57. ["text"," "]
  58. ],[
  59. "start"
  60. ],[
  61. "start",
  62. ["invisible"," /**"]
  63. ],[
  64. "start"
  65. ],[
  66. "start",
  67. ["invisible"," * class EditSession"]
  68. ],[
  69. "start"
  70. ],[
  71. "start",
  72. ["constant","@@"],
  73. ["constant.numeric"," -307,6 +308,13 "],
  74. ["constant","@@"],
  75. ["comment.doc.tag"," var EditSession = function(text, mode) {"]
  76. ],[
  77. "start"
  78. ],[
  79. "start",
  80. ["invisible"," return token;"]
  81. ],[
  82. "start"
  83. ],[
  84. "start",
  85. ["invisible"," };"]
  86. ],[
  87. "start"
  88. ],[
  89. "start",
  90. ["text"," "]
  91. ],[
  92. "start"
  93. ],[
  94. "start",
  95. ["support.constant","+"],
  96. ["text"," this.highlight = function(re) {"]
  97. ],[
  98. "start"
  99. ],[
  100. "start",
  101. ["support.constant","+"],
  102. ["text"," if (!this.$searchHighlight) {"]
  103. ],[
  104. "start"
  105. ],[
  106. "start",
  107. ["support.constant","+"],
  108. ["text"," var highlight = new SearchHighlight(null, \"ace_selected-word\", \"text\");"]
  109. ],[
  110. "start"
  111. ],[
  112. "start",
  113. ["support.constant","+"],
  114. ["text"," this.$searchHighlight = this.addDynamicMarker(highlight);"]
  115. ],[
  116. "start"
  117. ],[
  118. "start",
  119. ["support.constant","+"],
  120. ["text"," }"]
  121. ],[
  122. "start"
  123. ],[
  124. "start",
  125. ["support.constant","+"],
  126. ["text"," this.$searchHighlight.setRegexp(re);"]
  127. ],[
  128. "start"
  129. ],[
  130. "start",
  131. ["support.constant","+"],
  132. ["text"," }"]
  133. ],[
  134. "start"
  135. ],[
  136. "start",
  137. ["invisible"," /**"]
  138. ],[
  139. "start"
  140. ],[
  141. "start",
  142. ["invisible"," * EditSession.setUndoManager(undoManager)"]
  143. ],[
  144. "start"
  145. ],[
  146. "start",
  147. ["invisible"," * - undoManager (UndoManager): The new undo manager"]
  148. ],[
  149. "start"
  150. ],[
  151. "start",
  152. ["constant","@@"],
  153. ["constant.numeric"," -556,7 +564,8 "],
  154. ["constant","@@"],
  155. ["comment.doc.tag"," var EditSession = function(text, mode) {"]
  156. ],[
  157. "start"
  158. ],[
  159. "start",
  160. ["invisible"," type : type || \"line\","]
  161. ],[
  162. "start"
  163. ],[
  164. "start",
  165. ["invisible"," renderer: typeof type == \"function\" ? type : null,"]
  166. ],[
  167. "start"
  168. ],[
  169. "start",
  170. ["invisible"," clazz : clazz,"]
  171. ],[
  172. "start"
  173. ],[
  174. "start",
  175. ["support.function","-"],
  176. ["string"," inFront: !!inFront"]
  177. ],[
  178. "start"
  179. ],[
  180. "start",
  181. ["support.constant","+"],
  182. ["text"," inFront: !!inFront,"]
  183. ],[
  184. "start"
  185. ],[
  186. "start",
  187. ["support.constant","+"],
  188. ["text"," id: id"]
  189. ],[
  190. "start"
  191. ],[
  192. "start",
  193. ["invisible"," }"]
  194. ],[
  195. "start"
  196. ],[
  197. "start",
  198. ["text"," "]
  199. ],[
  200. "start"
  201. ],[
  202. "start",
  203. ["invisible"," if (inFront) {"]
  204. ],[
  205. "start"
  206. ],[
  207. "start",
  208. ["variable","diff"],
  209. ["variable"," --git"],
  210. ["keyword"," a/lib/ace/editor.js"],
  211. ["variable"," b/lib/ace/editor.js"]
  212. ],[
  213. "start"
  214. ],[
  215. "start",
  216. ["variable","index 834e603..b27ec73 100644"]
  217. ],[
  218. "start"
  219. ],[
  220. "start",
  221. ["constant.numeric","---"],
  222. ["meta.tag"," a/lib/ace/editor.js"]
  223. ],[
  224. "start"
  225. ],[
  226. "start",
  227. ["constant.numeric","+++"],
  228. ["meta.tag"," b/lib/ace/editor.js"]
  229. ],[
  230. "start"
  231. ],[
  232. "start",
  233. ["constant","@@"],
  234. ["constant.numeric"," -494,7 +494,7 "],
  235. ["constant","@@"],
  236. ["comment.doc.tag"," var Editor = function(renderer, session) {"]
  237. ],[
  238. "start"
  239. ],[
  240. "start",
  241. ["invisible"," * Emitted when a selection has changed."]
  242. ],[
  243. "start"
  244. ],[
  245. "start",
  246. ["invisible"," **/"]
  247. ],[
  248. "start"
  249. ],[
  250. "start",
  251. ["invisible"," this.onSelectionChange = function(e) {"]
  252. ],[
  253. "start"
  254. ],[
  255. "start",
  256. ["support.function","-"],
  257. ["string"," var session = this.getSession();"]
  258. ],[
  259. "start"
  260. ],[
  261. "start",
  262. ["support.constant","+"],
  263. ["text"," var session = this.session;"]
  264. ],[
  265. "start"
  266. ],[
  267. "start",
  268. ["text"," "]
  269. ],[
  270. "start"
  271. ],[
  272. "start",
  273. ["invisible"," if (session.$selectionMarker) {"]
  274. ],[
  275. "start"
  276. ],[
  277. "start",
  278. ["invisible"," session.removeMarker(session.$selectionMarker);"]
  279. ],[
  280. "start"
  281. ],[
  282. "start",
  283. ["constant","@@"],
  284. ["constant.numeric"," -509,12 +509,40 "],
  285. ["constant","@@"],
  286. ["comment.doc.tag"," var Editor = function(renderer, session) {"]
  287. ],[
  288. "start"
  289. ],[
  290. "start",
  291. ["invisible"," this.$updateHighlightActiveLine();"]
  292. ],[
  293. "start"
  294. ],[
  295. "start",
  296. ["invisible"," }"]
  297. ],[
  298. "start"
  299. ],[
  300. "start",
  301. ["text"," "]
  302. ],[
  303. "start"
  304. ],[
  305. "start",
  306. ["support.function","-"],
  307. ["string"," var self = this;"]
  308. ],[
  309. "start"
  310. ],[
  311. "start",
  312. ["support.function","-"],
  313. ["string"," if (this.$highlightSelectedWord && !this.$wordHighlightTimer)"]
  314. ],[
  315. "start"
  316. ],[
  317. "start",
  318. ["support.function","-"],
  319. ["string"," this.$wordHighlightTimer = setTimeout(function() {"]
  320. ],[
  321. "start"
  322. ],[
  323. "start",
  324. ["support.function","-"],
  325. ["string"," self.session.$mode.highlightSelection(self);"]
  326. ],[
  327. "start"
  328. ],[
  329. "start",
  330. ["support.function","-"],
  331. ["string"," self.$wordHighlightTimer = null;"]
  332. ],[
  333. "start"
  334. ],[
  335. "start",
  336. ["support.function","-"],
  337. ["string"," }, 30, this);"]
  338. ],[
  339. "start"
  340. ],[
  341. "start",
  342. ["support.constant","+"],
  343. ["text"," var re = this.$highlightSelectedWord && this.$getSelectionHighLightRegexp()"]
  344. ],[
  345. "start"
  346. ],[
  347. "start",
  348. ["invisible"," };"]
  349. ],[
  350. "start"
  351. ],[
  352. "start",
  353. ["variable","diff"],
  354. ["variable"," --git"],
  355. ["keyword"," a/lib/ace/search_highlight.js"],
  356. ["variable"," b/lib/ace/search_highlight.js"]
  357. ],[
  358. "start"
  359. ],[
  360. "start",
  361. ["invisible","new file mode 100644"]
  362. ],[
  363. "start"
  364. ],[
  365. "start",
  366. ["variable","index 0000000..b2df779"]
  367. ],[
  368. "start"
  369. ],[
  370. "start",
  371. ["constant.numeric","---"],
  372. ["meta.tag"," /dev/null"]
  373. ],[
  374. "start"
  375. ],[
  376. "start",
  377. ["constant.numeric","+++"],
  378. ["meta.tag"," b/lib/ace/search_highlight.js"]
  379. ],[
  380. "start"
  381. ],[
  382. "start",
  383. ["constant","@@"],
  384. ["constant.numeric"," -0,0 +1,3 "],
  385. ["constant","@@"]
  386. ],[
  387. "start"
  388. ],[
  389. "start",
  390. ["support.constant","+"],
  391. ["text","new"]
  392. ],[
  393. "start"
  394. ],[
  395. "start",
  396. ["support.constant","+"],
  397. ["text","empty file"]
  398. ]]