Commit Graph

14 Commits

Author SHA1 Message Date
Richard Jedlička
f5a5123320 [codemirror] Fix charCoord and getTokenAt methods according to docs (#20593)
* [codemirror] Fix methods according to docs

- `charCoords` method should have `mode` param optional: http://codemirror.net/doc/manual.html#charCoords
- `getTokenAt` method should have second optional parameter `precise`: http://codemirror.net/doc/manual.html#getTokenAt

* [codemirror] Fix coords mode methods parameter

Fix mode parameter of methods `cursorCoords`, `charCoords`, `coordsChar`, `lineAtHeight` and add missing method `heightAtLine`.
2017-10-16 15:21:29 -07:00
kekraft
447df163c1 Fix left chunks and right chunks typing. (#20567)
leftChunks() and rightChunks() returns an array of MergeViewDiffChunk.
2017-10-13 15:09:17 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
bodeyb
a06bec94c5 Adds missing scrollbarStyle EditorConfiguration attribute (#20050)
[Codemirror documentation](http://codemirror.net/doc/manual.html) (search for `scrollbarStyle`)
2017-09-26 11:41:14 -07:00
Josh Abernathy
68dd475c86 Add getSelections to CodeMirror
See https://codemirror.net/doc/manual.html#api_selection
2017-08-18 09:00:23 -04:00
Bernard, Nicholas (ETW - FLEX)
54cf4c673b Add getLineTokens method 2017-08-15 12:37:17 -07:00
Josh Abernathy
84e67a17f6 Add CodeMirror DOM events (#18824)
* Support the 'copy' event

* Make it generic over DOM events
2017-08-14 11:14:05 -07:00
Kirill Gagarski
12ced24cf2 Explicitly specify possibly nullable types in CodeMirror (#18371)
* Explicitly specify possibly nullable types in CodeMirror

* scrollTo optional args
2017-08-01 10:22:11 -07:00
mbilsing
6cfc342e87 . 2017-06-29 14:32:40 +02:00
mbilsing
20dae297ab Changes typings of CodeMirror's show-hint module to use the Editor object in most parameters instead of the Doc object.
.
2017-06-29 12:00:42 +02:00
Ludovic L'Hours
b56761f148 [codemirror] Linter function can either be sync or async 2017-06-17 22:44:01 +02:00
rasmusvhansen
dd69d6de4e class_ argument is optional in removeLineClass (#16347) 2017-05-05 09:36:05 -07:00
Dmitry Kharitonov
73fb208f98 Update index.d.ts (#16212)
Add `origin` param to `doc.replaceRange`
2017-04-28 14:06:09 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00