class Cride::Editor

Defined in:

editor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file : FileHandler, size : Size) #

[View source]

Instance Method Detail

def add : Add #

[View source]
def cursor_x_with_tabs : Int32 #

[View source]
def delete : Delete #

[View source]
def file : FileHandler #

[View source]
def insert : Bool #

[View source]
def insert=(insert : Bool) #

[View source]
def move : Move #

[View source]
def position : Position #

[View source]
def size : Size #

[View source]
def tab_before_absolute_width(line : String) : Int32 #

Count tabs before the cursor


[View source]
def tab_spaces : Int32 #

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

[View source]
def tab_width(line : String) : Int32 #

[View source]