SpellcheckIssue
Defined in: packages/spellcheck-frontend/lib/main.ts:22
Extends
Section titled “Extends”RangeValue
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SpellcheckIssue(
text,suggestions?):SpellcheckIssue
Defined in: packages/spellcheck-frontend/lib/main.ts:23
Parameters
Section titled “Parameters”string
suggestions?
Section titled “suggestions?”Returns
Section titled “Returns”SpellcheckIssue
Overrides
Section titled “Overrides”RangeValue.constructor
Properties
Section titled “Properties”endSide
Section titled “endSide”endSide:
number
Defined in: node_modules/@codemirror/state/dist/index.d.ts:1398
The bias value at the end of the range. Defaults to 0.
Inherited from
Section titled “Inherited from”RangeValue.endSide
mapMode
Section titled “mapMode”mapMode:
MapMode
Defined in: node_modules/@codemirror/state/dist/index.d.ts:1404
The mode with which the location of the range should be mapped
when its from and to are the same, to decide whether a
change deletes the range. Defaults to MapMode.TrackDel.
Inherited from
Section titled “Inherited from”RangeValue.mapMode
point:
boolean
Defined in: node_modules/@codemirror/state/dist/index.d.ts:1412
Determines whether this value marks a point range. Regular ranges affect the part of the document they cover, and are meaningless when empty. Point ranges have a meaning on their own. When non-empty, a point range is treated as atomic and shadows any ranges contained in it.
Inherited from
Section titled “Inherited from”RangeValue.point
startSide
Section titled “startSide”startSide:
number
Defined in: node_modules/@codemirror/state/dist/index.d.ts:1394
The bias value at the start of the range. Determines how the range is positioned relative to other ranges starting at this position. Defaults to 0.
Inherited from
Section titled “Inherited from”RangeValue.startSide
suggestions?
Section titled “suggestions?”
optionalsuggestions:Suggestion[]
Defined in: packages/spellcheck-frontend/lib/main.ts:25
text:
string
Defined in: packages/spellcheck-frontend/lib/main.ts:24
Methods
Section titled “Methods”eq(
other):boolean
Defined in: packages/spellcheck-frontend/lib/main.ts:30
Compare this value with another value. Used when comparing rangesets. The default implementation compares by identity. Unless you are only creating a fixed number of unique instances of your value type, it is a good idea to implement this properly.
Parameters
Section titled “Parameters”SpellcheckIssue
Returns
Section titled “Returns”boolean
Overrides
Section titled “Overrides”RangeValue.eq
range()
Section titled “range()”range(
from,to?):Range<SpellcheckIssue>
Defined in: node_modules/@codemirror/state/dist/index.d.ts:1416
Create a range with this value.
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”Range<SpellcheckIssue>
Inherited from
Section titled “Inherited from”RangeValue.range