struct Mint::TerminalSnippet::Line

Defined in:

utils/terminal_snippet.cr

Constructors

Instance Method Summary

Constructor Detail

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

[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 fully_contains?(from, to) #

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

[View source]
def index : Int64 #

def offset : Int64 #

def size #

[View source]