storyboard-root
Toggle table of contents
0.1.0-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
storyboard-root
storyboard-text
/
dev.bnorm.storyboard.text.highlight
Package-level
declarations
Types
Functions
Types
Code
Scope
Link copied to clipboard
enum
CodeScope
:
Enum
<
CodeScope
>
Code
Style
Link copied to clipboard
@
Immutable
class
CodeStyle
Highlighting
Link copied to clipboard
interface
Highlighting
Language
Link copied to clipboard
enum
Language
:
Enum
<
Language
>
Xml
Highlighting
Link copied to clipboard
@
Immutable
class
XmlHighlighting
(
val
attributeName
:
SpanStyle
,
val
attributeValue
:
SpanStyle
,
val
comment
:
SpanStyle
,
val
entityReference
:
SpanStyle
,
val
prologue
:
SpanStyle
,
val
tag
:
SpanStyle
,
val
tagData
:
SpanStyle
,
val
tagName
:
SpanStyle
)
:
Highlighting
Functions
highlight
Link copied to clipboard
fun
String
.
highlight
(
codeStyle
:
CodeStyle
,
language
:
Language
,
scope
:
CodeScope
=
CodeScope.File
,
identifierStyle
:
(
String
)
->
SpanStyle
?
=
{ null }
)
:
AnnotatedString
style
Link copied to clipboard
fun
String
.
style
(
highlighting
:
Highlighting
)
:
AnnotatedString