class

CursorMovement

Inherits Reference < Object

Constants

Down = KeyCommands::Down
Left = KeyCommands::Left
Right = KeyCommands::Right
Up = KeyCommands::Up

Constructors

new(cursor : Cursor, viewport : Viewport)
Source

Instance methods

at_beginning_of_file?(*args, **options)
Source
at_beginning_of_file?(*args, **options, &)
Source
at_beginning_of_line?(*args, **options)
Source
at_beginning_of_line?(*args, **options, &)
Source
at_end_of_file?(*args, **options)
Source
at_end_of_file?(*args, **options, &)
Source
at_end_of_line?(*args, **options)
Source
at_end_of_line?(*args, **options, &)
Source
column_count(*args, **options)
Source
column_count(*args, **options, &)
Source
column_offset(*args, **options)
Source
column_offset(*args, **options, &)
Source
cursor
Source
cursor=(cursor : Cursor)
Source
file_row(*args, **options)
Source
file_row(*args, **options, &)
Source
last_x(*args, **options)
Source
last_x(*args, **options, &)
Source
move(direction)
Source
row_count(*args, **options)
Source
row_count(*args, **options, &)
Source
row_length(*args, **options)
Source
row_length(*args, **options, &)
Source
row_offset(*args, **options)
Source
row_offset(*args, **options, &)
Source
row_position(*args, **options)
Source
row_position(*args, **options, &)
Source
rows(*args, **options)
Source
rows(*args, **options, &)
Source
viewport
Source
viewport=(viewport : Viewport)
Source
x(*args, **options)
Source
x(*args, **options, &)
Source
y(*args, **options)
Source
y(*args, **options, &)
Source