class Syntaks::Highlighter

Included Modules

Defined in:

syntaks/highlighter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(string : String) #

[View source]

Instance Method Detail

def highlight(start_idx : Int32, end_idx : Int32, foreground : Symbol, background : Symbol) #

[View source]
def highlight(idx : Int32, foreground : Symbol, background : Symbol) #

[View source]
def to_s(io) #

[View source]