Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Syntaks::Highlighter
Inherits
Kontrakt
<
Reference
<
Object
Constructors
new
(string :
String
)
Source
Instance methods
highlight
(start_idx :
Int32
, end_idx :
Int32
, foreground :
Symbol
, background :
Symbol
)
Source
highlight
(idx :
Int32
, foreground :
Symbol
, background :
Symbol
)
Source
to_s
(io)
Source
Nested types
Syntaks::Highlighter::Command