class Reline::LineEditor::DialogProcScope
def call
def call instance_exec(&@proc_to_exec) end
def call_completion_proc_with_checking_args(pre, target, post)
def call_completion_proc_with_checking_args(pre, target, post) @line_editor.call_completion_proc_with_checking_args(pre, target, post) end
def completion_journey_data
def completion_journey_data @line_editor.instance_variable_get(:@completion_journey_data) end
def config
def config @config end
def context
def context @context end
def cursor_pos
def cursor_pos @cursor_pos end
def dialog
def dialog @dialog end
def initialize(line_editor, config, proc_to_exec, context)
def initialize(line_editor, config, proc_to_exec, context) @line_editor = line_editor @config = config @proc_to_exec = proc_to_exec @context = context @cursor_pos = Reline::CursorPos.new end
def just_cursor_moving
def just_cursor_moving @line_editor.instance_variable_get(:@just_cursor_moving) end
def key
def key @key end
def retrieve_completion_block(set_completion_quote_character = false)
def retrieve_completion_block(set_completion_quote_character = false) @line_editor.retrieve_completion_block(set_completion_quote_character) end
def screen_width
def screen_width @line_editor.instance_variable_get(:@screen_size).last end
def set_cursor_pos(col, row)
def set_cursor_pos(col, row) @cursor_pos.x = col @cursor_pos.y = row end
def set_dialog(dialog)
def set_dialog(dialog) @dialog = dialog end
def set_key(key)
def set_key(key) @key = key end