class Document

Direct Known Subclasses

Defined in:

aspis/document.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(platform : Platform, buf : TextBuffer, theme : Theme) #

[View source]

Instance Method Detail

def [](*args, **options) #

[View source]
def [](*args, **options, &) #

[View source]
def apply #

[View source]
def begin #

[View source]
def bot #

[View source]
def clamp(index : Int) #

[View source]
def clamped_index_to_line(index : Int) #

[View source]
def coords_to_index(x : Number, y : Number) #

[View source]
def coords_to_line(x : Number, y : Number) #

[View source]
def editor : Cohn #

def editor=(editor : Cohn) #

[View source]
def editor? : Cohn | Nil #

def end #

[View source]
def font #

[View source]
def index_to_coords(index : Int) #

[View source]
def index_to_extent(index : Int) #

[View source]
def index_to_line(index : Int) #

[View source]
def index_visible?(index : Int) #

[View source]
def ins(cursor : Cursor, index : Int32, string : String) #

[View source]
def inspect(io) #

[View source]
def line_visible?(line : Line) #

[View source]
def ord_to_line(ord : Int) #

[View source]
def ord_to_line?(ord : Int) #

[View source]
def platform : Platform #

[View source]
def present(window) #

[View source]
def pt #

[View source]
def range_partially_visible?(*, from b, to e) #

[View source]
def scan(pattern, &) #

[View source]
def scroll(delta : Int) #

[View source]
def scroll_to_view(index : Int) #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &) #

[View source]
def slice(*args, **options) #

[View source]
def slice(*args, **options, &) #

[View source]
def string #

[View source]
def sub(selection : Selection, string : String) #

[View source]
def sync #

[View source]
def theme : Theme #

[View source]
def theme=(theme : Theme) #

[View source]
def top #

[View source]
def word_begin_at(*args, **options) #

[View source]
def word_begin_at(*args, **options, &) #

[View source]
def word_bounds_at(*args, **options) #

[View source]
def word_bounds_at(*args, **options, &) #

[View source]
def word_end_at(*args, **options) #

[View source]
def word_end_at(*args, **options, &) #

[View source]