ficristo
46e9987231
[CodeMirror] Add more addon types and some missing function
2019-04-09 21:06:01 +02:00
ficristo
57dabe603a
Add 'cm' argument to selectAll
2019-03-27 19:56:18 +01:00
ficristo
be3917c643
[CodeMirror] Add commands actions
2019-03-27 19:55:12 +01:00
Nathan Shively-Sanders
64fc88601e
Disable npm-naming with dt-header ( #34112 )
...
npm-naming is a new rule but the code it runs was already disabled
whenever dt-header was disabled. This change keeps the behaviour the
same.
2019-03-22 09:26:34 -07:00
Mattias Lepp
d3d623145c
Added optional field 'sticky' to Position interface
...
Also expanded PositionConstructor to support 'sticky'
2019-02-09 14:19:37 +01:00
Nikolaj Kappler
af48f5ce73
Delete module declaration
...
This seems to cause issues, see:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/30727
workstream:
2018-12-17 10:22:42 +01:00
Nikolaj Kappler
667cd6570d
added more links to documentations
...
workstream:
2018-12-07 12:45:01 +01:00
Nikolaj Kappler
f2904cedb3
also allow number for changed position.
...
workstream:
2018-12-06 14:46:03 +01:00
Nikolaj Kappler
73eb46e881
fixed CodeMirror.TernServer.docs
...
workstream:
2018-12-06 14:40:59 +01:00
Nikolaj Kappler
ad47fc8672
fix test build.
...
workstream:
2018-12-05 17:00:41 +01:00
Nikolaj Kappler
71587e15f3
added properties.
...
workstream:
2018-12-05 16:45:12 +01:00
Nikolaj Kappler
dbf3b71982
finalizing type definitions.
...
workstream:
2018-12-05 16:22:38 +01:00
Nikolaj Kappler
9c72aa7b89
initial commit for tern addon typings. still WIP.
...
workstream:
2018-12-05 14:52:14 +01:00
Nikolaj Kappler
0553880908
initial commit for tern addon typings. still WIP.
...
workstream:
2018-12-05 14:47:33 +01:00
Wylie Conlon
d721ef55ed
Remove error-causing module declarations from CodeMirror
2018-11-21 12:42:35 -05:00
Wylie Conlon
cff4ff4231
CodeMirror documentation differs from types for addLineWidget ( #30529 )
2018-11-15 13:04:48 -08:00
Nikolaj Kappler
f7b71c452a
Codemirror comment fix ( #30378 )
...
* fixed typedef for toggleComment
there is a mistake in the documenation.
(See https://github.com/codemirror/CodeMirror/issues/5654 )
This is why this mistake in the type defs slipped through.
workstream:
* fixed corresponding test.
workstream:
2018-11-14 14:20:21 -08:00
Armando Aguirre
57d024a346
Merge pull request #30272 from nkappler/codemirror-comment
...
[CodeMirror] add type defs for comment addon
2018-11-07 15:21:49 -08:00
Nikolaj Kappler
9dc89bd8cb
fix unecessary 'CodeMirror.' prefix for Position Interface
...
workstream:
2018-11-05 14:46:05 +01:00
Nikolaj Kappler
d360dc9959
[CodeMirror] add type defs for comment addon.
...
workstream:
2018-11-05 11:25:49 +01:00
Todd Kennedy
0b01bbf624
Add changed method on TextMarker
...
The TextMarker definition is missing the `changed` method as defined [here](https://github.com/codemirror/CodeMirror/blob/master/src/model/mark_text.js#L111-L131 ).
2018-11-01 14:44:55 -07:00
Joey Silva
310fdc8633
Make LineWidgetOptions type for addLineWidget ( #29620 )
2018-10-18 12:11:43 -07:00
Nikolaj Kappler
314d070458
added typings for the panel plugin. ( #29660 )
...
* added typings for the panel plugin.
* newline at eof
* added linebreaks in JSDoc comments
* improved readability
2018-10-15 15:19:38 -07:00
Joey Silva
de733a2952
Add startOperation and endOperation to codemirror ( #29427 )
...
https://codemirror.net/doc/manual.html#startOperation
2018-10-09 11:39:22 -07:00
Andy
6c955dccce
Remove '�' character ( #29420 )
2018-10-03 11:47:28 -07:00
Joey Silva
9dae9776ae
Update index.d.ts
...
Make each option in options param of addLineWidgets optional.
2018-09-20 13:28:52 -07:00
ficristo
200dddfa12
[CodeMirror] Add some missing definitions
...
- CodeMirror.changeEnd
- CodeMirror.cmpPos
- CodeMirror.extendMode
- CodeMirror.innerMode
- cm.getModeAt
- doc.setCursor(line, ch)
2018-08-24 21:28:55 +02:00
Matt McCutchen
100efe4dde
codemirror: Define the type of keymaps.
2018-08-07 17:24:40 -04:00
Matt McCutchen
e9928ee53e
codemirror: EditorChangeCancellable.update is undefined for changes
...
coming from undo/redo.
2018-08-07 17:24:10 -04:00
Matt McCutchen
2d432d6582
codemirror: Enable strictNullChecks so I can test typing changes that
...
are only relevant with strictNullChecks enabled.
2018-08-07 17:23:35 -04:00
Riley Miller
1188e75e66
added type for count column ( #26864 )
2018-07-02 10:06:35 -07:00
Agapanthus
f9f4e61a1b
Finally removed BOM
...
using binary editor
2018-05-31 17:43:39 +02:00
Agapanthus
e90b1e5bbe
(Hopefully) removed BOM
2018-05-31 17:35:52 +02:00
Agapanthus
9dc7565b51
Cleanup
2018-05-31 17:18:58 +02:00
Agapanthus
9935e7857b
Update index.d.ts
...
Added defaults and getTokenTypeAt
2018-05-26 10:56:39 +02:00
Shane Liesegang
e927158b93
Fixing return values from TextMarker.Find
...
Find doesn't return a standard Range object; the `from` and `to` values are just positions and not callable.
2018-03-18 13:08:16 -04:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Joseph Safwat Khella
c7450fa320
Update index.d.ts in @types/codemirror ( #22595 )
...
* Update index.d.ts
* Remove BOM
2018-01-03 00:08:09 -08:00
Shane Liesegang
05433b1022
Update index.d.ts ( #22518 )
...
cleanliness updates
2018-01-02 12:31:40 -08:00
Armando Aguirre
1a6e0c31c5
Merge pull request #21615 from peterbartha/master
...
Add 'setSelections' to CodeMirror
2017-11-27 16:14:28 -08:00
Peter Bartha
59ce8d03df
Change properties of argument options
2017-11-26 21:07:32 +01:00
Noah Chen
fdc843c5a3
Update index.d.ts
2017-11-22 15:52:12 -05:00
Noah Chen
ee36a4cf48
Add onUpdateLinting callback to LintStateOptions
2017-11-22 15:46:57 -05:00
Peter Bartha
4bf9699f26
Add optional 'options' parameter to the setSelection and setSelections method in CodeMirror.
2017-11-21 19:56:38 +01:00
Peter Bartha
10e05d7aa2
Add 'setSelections' to CodeMirror
2017-11-18 20:07:33 +01:00
Dmitry Demeshkin
9d9387ceae
Codemirror: text parameter should be an array in EditorChangeCancellable.update method
2017-11-07 16:10:21 +08:00
Philipp Shestakov
ece1a683b4
Added types for CodeMirror ( #21005 )
...
* Added definitions for clusterize.js
* Fixed definitions author.
* Review fixes.
* Review fix.
* Added execCommand and isReadOnly CodeMirror.Editor functions.
2017-10-25 11:39:44 -07:00
Andy
19f89399e4
Ensure every package has a tslint.json ( #21009 )
...
* Ensure every package has a tslint.json
* Fixes
2017-10-25 11:13:50 -07:00
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