class BlockCursor
- BlockCursor
- Cursor
- Reference
- Object
Overview
Block appearance for Cursor
. Assumes the width of the
character under the cursor.
Defined in:
aspis/cursor.crConstructors
Instance Method Summary
- #acquire
-
#color
Returns the color of this cursor.
-
#present(window)
Presents this cursor on window.
- #release
-
#size
Returns a float vector that is the width, height of this cursor's rectangle.
Instance methods inherited from class Cursor
<=>(other : Cursor)
<=>,
==(other : self)
==,
acquire
acquire,
at_document_end?
at_document_end?,
at_document_start?
at_document_start?,
at_first_line?
at_first_line?,
at_last_line?
at_last_line?,
at_line_end?
at_line_end?,
at_line_start?
at_line_start?,
attract(other : Cursor, settings = SeekSettings.new)
attract,
color
color,
column
column,
coords
coords,
copy
copy,
each_line(upto other : Cursor, &)
each_line,
hash(hasher)
hash,
home?
home?,
ins(string : String)
ins,
line
line,
minmax(other : Cursor)
minmax,
motions : Stream(Motion)
motions,
move(delta : Int, settings = SeekSettings.new)
move,
partially_visible?(*, upto other : Cursor)partially_visible?(*, from start : Int) partially_visible?, present(window) present, release release, scroll_to_view scroll_to_view, seek(other : Cursor, settings = SeekSettings.new)
seek(index : Int, settings = SeekSettings.new) seek, seek_column(column : Int, settings = SeekSettings.new) seek_column, seek_line_end(settings = SeekSettings.new) seek_line_end, seek_line_start(settings = SeekSettings.new) seek_line_start, size size, span(*, upto other : Cursor)
span(*, from start : Int) span, visible? visible?, ymove(delta : Int, settings = SeekSettings.new(home: false)) ymove