Skip to content

Commit b0a9aa1

Browse files
committed
fix: additional docusaurus issues
1 parent 46df3db commit b0a9aa1

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/API-Reference/editor/CodeHintManager.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ __CodeHintProvider Overview:__
4747

4848
A code hint provider should implement the following three functions:
4949

50-
- `CodeHintProvider.hasHints(editor, implicitChar)`
51-
- `CodeHintProvider.getHints(implicitChar)`
52-
- `CodeHintProvider.insertHint(hint)`
50+
- `CodeHintProvider.hasHints('editor', 'implicitChar')`
51+
- `CodeHintProvider.getHints('implicitChar')`
52+
- `CodeHintProvider.insertHint('hint')`
5353

5454
The behavior of these three functions is described in detail below.
5555

56-
__CodeHintProvider.hasHints(editor, implicitChar)__
56+
__CodeHintProvider.hasHints('editor', 'implicitChar')__
5757

5858
The method by which a provider indicates intent to provide hints for a
5959
given editor. The manager calls this method both when hints are
@@ -83,7 +83,7 @@ may wish to prepare to cache data suitable for the current session. In
8383
particular, it should keep a reference to the editor object so that it
8484
can access the editor in future calls to getHints and insertHints.
8585

86-
param {Editor} editor
86+
param {'Editor'} editor
8787
A non-null editor object for the active window.
8888

8989
param {string} implicitChar
@@ -97,7 +97,7 @@ the given editor context and, in case implicitChar is non- null,
9797
whether it is appropriate to do so.
9898

9999

100-
__CodeHintProvider.getHints(implicitChar)__
100+
__CodeHintProvider.getHints('implicitChar')__
101101

102102
The method by which a provider provides hints for the editor context
103103
associated with the current session. The getHints method is called only
@@ -183,7 +183,7 @@ of prefix matching, or can provide its own emphasis if it wishes to use
183183
a more sophisticated matching algorithm.
184184

185185

186-
__CodeHintProvider.insertHint(hint)__
186+
__CodeHintProvider.insertHint('hint')__
187187

188188
The method by which a provider inserts a hint into the editor context
189189
associated with the current session. The provider may assume that the

src/editor/CodeHintManager.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363
*
6464
* A code hint provider should implement the following three functions:
6565
*
66-
* - `CodeHintProvider.hasHints(editor, implicitChar)`
67-
* - `CodeHintProvider.getHints(implicitChar)`
68-
* - `CodeHintProvider.insertHint(hint)`
66+
* - `CodeHintProvider.hasHints('editor', 'implicitChar')`
67+
* - `CodeHintProvider.getHints('implicitChar')`
68+
* - `CodeHintProvider.insertHint('hint')`
6969
*
7070
* The behavior of these three functions is described in detail below.
7171
*
72-
* __CodeHintProvider.hasHints(editor, implicitChar)__
72+
* __CodeHintProvider.hasHints('editor', 'implicitChar')__
7373
*
7474
* The method by which a provider indicates intent to provide hints for a
7575
* given editor. The manager calls this method both when hints are
@@ -99,7 +99,7 @@
9999
* particular, it should keep a reference to the editor object so that it
100100
* can access the editor in future calls to getHints and insertHints.
101101
*
102-
* param {Editor} editor
102+
* param {'Editor'} editor
103103
* A non-null editor object for the active window.
104104
*
105105
* param {string} implicitChar
@@ -113,7 +113,7 @@
113113
* whether it is appropriate to do so.
114114
*
115115
*
116-
* __CodeHintProvider.getHints(implicitChar)__
116+
* __CodeHintProvider.getHints('implicitChar')__
117117
*
118118
* The method by which a provider provides hints for the editor context
119119
* associated with the current session. The getHints method is called only
@@ -199,7 +199,7 @@
199199
* a more sophisticated matching algorithm.
200200
*
201201
*
202-
* __CodeHintProvider.insertHint(hint)__
202+
* __CodeHintProvider.insertHint('hint')__
203203
*
204204
* The method by which a provider inserts a hint into the editor context
205205
* associated with the current session. The provider may assume that the

0 commit comments

Comments
 (0)