class ScrollableDocument

Defined in:

aspis/document.cr

Instance Method Summary

Instance methods inherited from class Document

[](*args, **options)
[](*args, **options, &)
[]
, apply apply, begin begin, bot bot, clamp(index : Int) clamp, clamped_index_to_line(index : Int) clamped_index_to_line, coords_to_index(x : Number, y : Number) coords_to_index, coords_to_line(x : Number, y : Number) coords_to_line, editor : Cohn editor, editor=(editor : Cohn) editor=, editor? : Cohn | Nil editor?, end end, font font, index_to_coords(index : Int) index_to_coords, index_to_extent(index : Int) index_to_extent, index_to_line(index : Int) index_to_line, index_visible?(index : Int) index_visible?, ins(cursor : Cursor, index : Int32, string : String) ins, inspect(io) inspect, line_visible?(line : Line) line_visible?, ord_to_line(ord : Int) ord_to_line, ord_to_line?(ord : Int) ord_to_line?, platform : Platform platform, present(window) present, pt pt, range_partially_visible?(*, from b, to e) range_partially_visible?, scan(pattern, &) scan, scroll(delta : Int) scroll, scroll_to_view(index : Int) scroll_to_view, size(*args, **options)
size(*args, **options, &)
size
, slice(*args, **options)
slice(*args, **options, &)
slice
, string string, sub(selection : Selection, string : String) sub, sync sync, theme : Theme theme, theme=(theme : Theme) theme=, top top, word_begin_at(*args, **options)
word_begin_at(*args, **options, &)
word_begin_at
, word_bounds_at(*args, **options)
word_bounds_at(*args, **options, &)
word_bounds_at
, word_end_at(*args, **options)
word_end_at(*args, **options, &)
word_end_at

Constructor methods inherited from class Document

new(platform : Platform, buf : TextBuffer, theme : Theme) new

Instance Method Detail

def bot #

[View source]
def height #

[View source]
def line_offset=(line_offset : Int32) #

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

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

[View source]
def top #

[View source]