| Method |
__init__ |
Initialize the editor state. |
| Method |
check_mark |
Decrement the mark priority and clear it when expired. |
| Method |
clear_mark |
Clear the selection mark state. |
| Method |
clear_to_eol |
Clear the line from the cursor to the end. |
| Method |
cursor |
Show or hide the terminal cursor. |
| Method |
delete_mark |
Delete the selected text, optionally yanking it first. |
| Method |
display_window |
Render the current editor window to the terminal. |
| Method |
edit_loop |
Run the main editor loop until quit or a handoff key. |
| Method |
expandtabs |
Expand tab characters into spaces. |
| Method |
find_in_file |
Find a pattern in the file starting from a position. |
| Method |
get_file |
Load a file or directory listing into the editor. |
| Method |
get_input |
Read and decode one key press from the terminal. |
| Method |
getsymbol |
Return the symbol around the given position. |
| Method |
goto |
Move the cursor to the given position. |
| Method |
handle_edit_keys |
Handle a decoded key and apply the corresponding edit. |
| Method |
hash_buffer |
Compute a hash of the current buffer content. |
| Method |
hilite |
Set the terminal highlight mode. |
| Method |
issymbol |
Check if a character is a symbol character. |
| Method |
line_edit |
Edit a single line of input at the status line. |
| Method |
line_range |
Return the selected line range. |
| Method |
mark_order |
Return the ordering of a position relative to the mark. |
| Method |
mark_range |
Return the normalized selection range. |
| Method |
mouse_reporting |
Enable or disable terminal mouse reporting. |
| Method |
move_down |
Move the cursor down one line. |
| Method |
move_left |
Move the cursor left one column. |
| Method |
move_right |
Move the cursor right one column. |
| Method |
move_up |
Move the cursor up one line. |
| Method |
packtabs |
Pack runs of spaces into tab characters. |
| Method |
put_file |
Save the buffer to a file. |
| Method |
redraw |
Redraw the editor screen. |
| Method |
scroll_down |
Scroll the terminal down by the given number of lines. |
| Method |
scroll_region |
Set or clear the terminal scroll region. |
| Method |
scroll_up |
Scroll the terminal up by the given number of lines. |
| Method |
set_mark |
Set the selection mark. |
| Method |
skip_down |
Move down when the cursor is at the end of a line. |
| Method |
skip_until |
Skip non-symbol characters in a direction. |
| Method |
skip_up |
Move up when the cursor is at the start of a line. |
| Method |
skip_while |
Skip symbol characters in a direction. |
| Method |
spaces |
Count leading spaces in a line up to a position. |
| Method |
undo_add |
Add an edit action to the undo stack. |
| Method |
undo_redo |
Move actions between the undo and redo stacks. |
| Method |
yank_mark |
Copy the selected text into the yank buffer. |
| Constant |
KEYMAP |
Undocumented |
| Constant |
TERMCMD |
Undocumented |
| Class Variable |
autoindent |
Undocumented |
| Class Variable |
case |
Undocumented |
| Class Variable |
comment_char |
Undocumented |
| Class Variable |
file_char |
Undocumented |
| Class Variable |
find_pattern |
Undocumented |
| Class Variable |
match_span |
Undocumented |
| Class Variable |
max_places |
Undocumented |
| Class Variable |
place_index |
Undocumented |
| Class Variable |
place_list |
Undocumented |
| Class Variable |
replc_pattern |
Undocumented |
| Class Variable |
word_char |
Undocumented |
| Class Variable |
yank_buffer |
Undocumented |
| Instance Variable |
changed |
Undocumented |
| Instance Variable |
col |
Undocumented |
| Instance Variable |
content |
Undocumented |
| Instance Variable |
cur_line |
Undocumented |
| Instance Variable |
fname |
Undocumented |
| Instance Variable |
hash |
Undocumented |
| Instance Variable |
io_device |
Undocumented |
| Instance Variable |
is_dir |
Undocumented |
| Instance Variable |
key_max |
Undocumented |
| Instance Variable |
margin |
Undocumented |
| Instance Variable |
mark |
Undocumented |
| Instance Variable |
mark_flag |
Undocumented |
| Instance Variable |
message |
Undocumented |
| Instance Variable |
mouse_last |
Undocumented |
| Instance Variable |
redo |
Undocumented |
| Instance Variable |
row |
Undocumented |
| Instance Variable |
storage |
Undocumented |
| Instance Variable |
tab_size |
Undocumented |
| Instance Variable |
top_line |
Undocumented |
| Instance Variable |
total_lines |
Undocumented |
| Instance Variable |
undo |
Undocumented |
| Instance Variable |
undo_index |
Undocumented |
| Instance Variable |
undo_limit |
Undocumented |
| Instance Variable |
vcol |
Undocumented |
| Instance Variable |
work_dir |
Undocumented |
| Instance Variable |
wr |
Undocumented |
| Instance Variable |
write_tabs |
Undocumented |