Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
lang-markdown
/
com.monkopedia.kodemirror.lezer.markdown
/
InlineContext
Inline
Context
class
InlineContext
(
val
parser
:
MarkdownParser
,
val
text
:
String
,
val
offset
:
Int
)
Members
Constructors
Inline
Context
Link copied to clipboard
constructor
(
parser
:
MarkdownParser
,
text
:
String
,
offset
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
end
Link copied to clipboard
val
end
:
Int
has
Open
Link
Link copied to clipboard
val
hasOpenLink
:
Boolean
offset
Link copied to clipboard
val
offset
:
Int
parser
Link copied to clipboard
val
parser
:
MarkdownParser
text
Link copied to clipboard
val
text
:
String
Functions
add
Delimiter
Link copied to clipboard
fun
addDelimiter
(
type
:
DelimiterType
,
from
:
Int
,
to
:
Int
,
open
:
Boolean
,
close
:
Boolean
)
:
Int
add
Element
Link copied to clipboard
fun
addElement
(
elt
:
Element
)
:
Int
char
Link copied to clipboard
fun
char
(
pos
:
Int
)
:
Int
elt
Link copied to clipboard
fun
elt
(
tree
:
Tree
,
at
:
Int
)
:
Element
fun
elt
(
type
:
String
,
from
:
Int
,
to
:
Int
,
children
:
List
<
Element
>
?
=
null
)
:
Element
find
Opening
Delimiter
Link copied to clipboard
fun
findOpeningDelimiter
(
type
:
DelimiterType
)
:
Int
?
get
Delimiter
At
Link copied to clipboard
fun
getDelimiterAt
(
index
:
Int
)
:
InlineDelimiter
?
skip
Space
Link copied to clipboard
fun
skipSpace
(
from
:
Int
)
:
Int
slice
Link copied to clipboard
fun
slice
(
from
:
Int
,
to
:
Int
)
:
String
take
Content
Link copied to clipboard
fun
takeContent
(
startIndex
:
Int
)
:
List
<
Element
>