velveret
0eb97d8034
Add typings for react-codemirror ( #9658 )
2016-06-19 11:16:21 +09:00
Ben Jones
3d25450749
Fixed codemirror gutterMarkers. Was gutterMarks, should have been gutterMarkers. ( #9557 )
2016-06-08 15:37:37 +09:00
styu
ddc412f754
Add MergeView typings to CodeMirror ( #9344 )
...
* Add MergeView typings to CodemMirror
* Move MergeView definitions to new namespace and removed unnecessary callback interfaces
2016-05-21 08:22:26 -07:00
Paul Chen
eef739049c
Add strongly typed overload to CodeMirror.defineMode ( #9025 )
2016-04-23 16:43:21 +09:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Basarat Ali Syed
441b647ef7
Merge pull request #7191 from Joev-/master
...
Add definitions for CodeMirror's runmode addon
2016-03-14 08:40:39 +11:00
markwongsk
3937faa811
Fixed spelling error.
2016-03-04 09:13:01 -08:00
Mark Wong Siang Kai
2e46d83d9f
Added CM.registerHelper definition.
...
-- This is defined in the base library and
used by a lot of addons.
-- Also fixed position constructor definition, as
given by codemirror docs:
CodeMirror.Pos(line: integer, ?ch: integer)
* A constructor for the {line, ch} objects that are
* used to represent positions in editor documents.
2016-03-03 20:47:15 -08:00
Lukas Sembera
ec01eef9f1
Add getValue/setValue to CodeMirror.Editor
2016-02-23 00:05:24 +01:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Masahiro Wakame
773f159f3e
Merge pull request #7559 from RaduW/master
...
fixed CodeMirror.TextMarker.find() return type
2016-01-22 18:10:20 +09:00
Radu Woinaroski
3a35d23702
fixed CodeMirror.TextMarker.find() return type
...
Added CodeMirror.Range type
Changed CodeMirror.TextMarker.find() to return CodeMirror.Range instead
of CodeMirror.Position (which was wrong).
2016-01-10 21:32:56 +01:00
Joseph Vaughan
38223f88db
Improve types for CodeMirror's runmode addon
2015-12-21 13:59:31 +00:00
Joseph Vaughan
8b7eef80b3
Add definitions for CodeMirror's runmode addon
2015-12-14 13:54:03 +00:00
Sixin Li
ced9f3bb50
move state from codemirror-showhint.d.ts to codemirror.d.ts
2015-11-11 23:52:19 -05:00
Sixin Li
a029b45c6d
state properties belongs to CodeMirror.Editor, not CodeMorrir.Doc
2015-11-05 15:54:34 -05:00
Masahiro Wakame
9e8a2f44ef
Merge pull request #5961 from sixinli/codemirror_scroll
...
add missing scrollIntoView() typings
2015-10-05 22:44:49 +09:00
Masahiro Wakame
ad1da45ec6
Merge pull request #5966 from sixinli/codemirror_matchbrackets
...
add configuration typing for matchBrackets addon
2015-09-27 12:39:05 +09:00
Masahiro Wakame
f8ab8722bc
Merge pull request #5578 from CalvinFernandez/codemirror-placeholder
...
add placholder parameter to work with codemirror placeholder addon
2015-09-27 11:27:47 +09:00
Sixin Li
6268433bd9
add configuration typing for matchBrackets addon
2015-09-23 03:03:15 -04:00
Sixin Li
3a68c5be79
add missing scrollIntoView() typings
2015-09-22 21:44:24 -04:00
Masahiro Wakame
8ba1ce7c72
Merge pull request #5762 from jacqt/search-cursor
...
Add typings for CodeMirror's searchcursor add-on
2015-09-16 22:23:58 +09:00
Anthony Guo
0b289d58d9
Add typings for CodeMirror's searchcursor add-on
2015-09-09 16:31:49 -07:00
Basarat Ali Syed
1f5d9022dc
codemirror showhint formatting
2015-09-09 13:36:32 +10:00
Basarat Ali Syed
30d3b54028
more codemirror-hint fixes
2015-09-09 12:55:39 +10:00
Basarat Ali Syed
6ef260ccc5
various showhint fixes
2015-09-09 12:51:37 +10:00
Basarat Ali Syed
59032308a2
📝 https://www.npmjs.com/package/codemirror
2015-09-06 14:35:11 +10:00
Basarat Ali Syed
2c2efb33ca
Update and rename showhint-tests.ts to codemirror-showhint-tests.ts
...
Makes it easier to search + more semantic
2015-09-06 14:25:34 +10:00
Basarat Ali Syed
47b5ecf690
Rename showhint.d.ts to codemirror-showhint.d.ts
...
Makes it easier to search + more semantic
2015-09-06 14:24:51 +10:00
Masahiro Wakame
18da9cb4a3
Merge pull request #5308 from jacqt/master
...
Added typings for the CodeMirror showhint addon
2015-09-01 02:15:13 +09:00
Calvin Fernandez
989e5e7ada
add placholder parameter to work with codemirror placeholder addon
2015-08-27 17:45:04 -04:00
Anthony Guo
c340b3634c
Added typings for the CodeMirror showhint addon
2015-08-25 15:26:10 -07:00
Nick Chang
0a9004eb58
CodeMirror: EditorConfiguration.lint can be boolean
2015-08-21 07:41:34 -07:00
Alex Manekovskiy
b9ba90e8ef
Added missing CodeMirror.Doc method - listSelections
...
The missing method is listed in documentation in [Selection](https://codemirror.net/doc/manual.html#api_selection ) section between `doc.getCursor` and `doc.somethingSelected` methods.
2015-08-04 17:03:10 +03:00
vvakame
f55c219168
Merge branch 'master' into refactor-codemirror
2015-08-04 20:01:07 +09:00
Masahiro Wakame
3e96a2860b
Merge pull request #5146 from Carreau/onchanges
...
[CodeMirror] Add onchanges that triggers on a per operation basis.
2015-08-04 19:49:32 +09:00
Masahiro Wakame
b1939bd36c
Merge pull request #5080 from Carreau/removed-is-array
...
[CodeMirror] removed is actually a list of string.
2015-08-04 19:48:29 +09:00
vvakame
d9062429c3
refactor constructor interface of codemirror
2015-08-04 02:09:12 +09:00
Masahiro Wakame
55bd57fdb7
Merge pull request #5065 from Carreau/TextMarkerOptions.css
...
[CodeMirror] add a few missing property on TextMarkerOptions
2015-08-02 22:53:24 +09:00
Matthias Bussonnier
6e3410f047
[CodeMirror] Add onchanges that triggers on a per operation basis.
...
cf doc for this event:
http://codemirror.net/doc/manual.html#event_changes
2015-07-30 10:27:21 -07:00
Masahiro Wakame
4bab670ab7
Merge pull request #4857 from jacqt/master
...
codemirror.d.ts: Changed the Doc class type to an interface
2015-07-28 23:20:47 +09:00
Matthias Bussonnier
7518bed77b
[CodeMirror] removed is actually a list of string.
...
as is test on the same object.
2015-07-25 18:15:45 -07:00
Matthias Bussonnier
e5f0425b97
these are actually optionals
2015-07-24 15:14:02 -07:00
Matthias Bussonnier
e6764f406b
wrap explanation
2015-07-24 15:12:41 -07:00
Matthias Bussonnier
63e1e0c2b4
Add other missing attributes.
2015-07-24 15:10:00 -07:00
Matthias Bussonnier
bcb9de30af
[CodeMirror] add missing css? property on TextMarkerOptions
2015-07-24 14:30:05 -07:00
Matthias Bussonnier
ab7f747635
Change event in codemirror also have a origin field
...
It can take different value depending on where it comes from and gover
history merging, various values are `+move` `+insert` `+remove`
`setValue`.
2015-07-20 21:15:44 -07:00
Anthony Guo
ad21a10ba7
codemirror.d.ts: Changed the Doc class type to an interface, and exposed the CodeMirror.Pos constructor
...
This allows the user to extend the definition for the CodeMirror.Doc
interface over multiple files. It also allows for instantiating new
CodeMirror.Position type objects using "new CodeMirror.Pos(...)"
2015-07-10 15:38:59 -07:00