struct Mint::TerminalSnippet::Line

Defined in:

utils/terminal_snippet.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(contents : String, index : Int32, offset : Int32) #

[View source]

Instance Method Detail

def [](from, to) #

[View source]
def clone #

[View source]
def contains?(from, to) #

[View source]
def contains?(position) #

[View source]
def contents : String #

def copy_with(contents _contents = @contents, index _index = @index, offset _offset = @offset) #

[View source]
def highlight(from, to) #

[View source]
def index : Int32 #

def offset : Int32 #

def size #

[View source]