struct Cursor::Motion

Overview

Motion objects store the #cursor that moved, the index #from where it moved, and the index #to which it moved.

Defined in:

aspis/cursor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cursor : Cursor, from : Int32, to : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(cursor _cursor = @cursor, from _from = @from, to _to = @to) #

[View source]
def cursor : Cursor #

def from : Int32 #

def to : Int32 #