MCPcopy Index your code

hub / github.com/MovingtoMars/liner / functions

Functions336 in github.com/MovingtoMars/liner

↓ 1 callersMethodcompletions
(&self, start: &str)
src/complete.rs:18
↓ 1 callersMethodcurrent_history_location
None if we're on the new buffer, else the index of history
src/editor.rs:141
↓ 1 callersMethodcursor_is_at_end_of_line
(&self)
src/editor.rs:549
↓ 1 callersMethoddelete_all_before_cursor
Deletes every character preceding the cursor until the beginning of the line.
src/editor.rs:458
↓ 1 callersMethodeditor_mut
(&mut self)
src/keymap/vi.rs:1011
↓ 1 callersFunctionfind_longest_common_prefix
(among: &[Vec<T>])
src/util.rs:8
↓ 1 callersFunctionget_buffer_words
The default for `Context.word_divider_fn`.
src/context.rs:9
↓ 1 callersMethodget_newest_match
Go through the history and try to find a buffer which starts the same as the new buffer given to this function as argument.
src/history.rs:120
↓ 1 callersMethodhandle_alt_key
(&mut self, c: char)
src/keymap/emacs.rs:46
↓ 1 callersMethodhandle_ctrl_key
(&mut self, c: char)
src/keymap/emacs.rs:25
↓ 1 callersMethodhandle_key_core
(&mut self, _: Key)
src/keymap/mod.rs:84
↓ 1 callersMethodhandle_key_delete_or_change
(&mut self, key: Key)
src/keymap/vi.rs:844
↓ 1 callersMethodhandle_key_g
(&mut self, key: Key)
src/keymap/vi.rs:970
↓ 1 callersMethodhandle_key_insert
(&mut self, key: Key)
src/keymap/vi.rs:487
↓ 1 callersMethodhandle_key_replace
(&mut self, key: Key)
src/keymap/vi.rs:809
↓ 1 callersMethodhandle_last_arg_fetch
(&mut self)
src/keymap/emacs.rs:62
↓ 1 callersMethodinsert_from_buffer
XXX rename, too confusing
src/buffer.rs:221
↓ 1 callersFunctionis_movement_key
(key: Key)
src/keymap/vi.rs:68
↓ 1 callersMethodmove_count_left
Get the current count or the number of remaining chars in the buffer.
src/keymap/vi.rs:438
↓ 1 callersFunctionmove_file_contents_backward
(file: &mut File, distance: u64)
src/history.rs:295
↓ 1 callersMethodmove_to_end_of_history
Moves to the end of history (ie. the new buffer).
src/editor.rs:400
↓ 1 callersFunctionmove_to_end_of_word_back
(ed: &mut Editor<W>, count: usize)
src/keymap/vi.rs:136
↓ 1 callersFunctionmove_to_end_of_word_ws_back
(ed: &mut Editor<W>, count: usize)
src/keymap/vi.rs:140
↓ 1 callersMethodmove_to_start_of_history
Moves to the start of history (ie. the earliest history entry).
src/editor.rs:389
↓ 1 callersMethodnum_bytes
(&self)
src/buffer.rs:182
↓ 1 callersMethodprint_completion_list
(&mut self, completions: &[String])
src/editor.rs:218
↓ 1 callersMethodprint_rest
Takes other buffer, measures its length and prints this buffer from the point where the other stopped. Used to implement autosuggestions.
src/buffer.rs:273
↓ 1 callersMethodread_line
Creates an `Editor` and feeds it keypresses from stdin until the line is entered. The output is stdout. The returned line has the newline removed. Bef
src/context.rs:70
↓ 1 callersMethodread_line_with_init_buffer
Same as `Context.read_line()`, but passes the provided initial buffer to the editor. ```no_run use liner::Context; let mut context = Context::new();
src/context.rs:88
↓ 1 callersMethodredo
(&mut self)
src/buffer.rs:133
↓ 1 callersFunctionremove_codes
(input: &str)
src/util.rs:52
↓ 1 callersMethodrepeat
(&mut self)
src/keymap/vi.rs:447
↓ 1 callersMethodrevert_all_history
(&mut self)
src/context.rs:124
↓ 1 callersMethodset_max_file_size
Set maximal number of entries in history file
src/history.rs:155
↓ 1 callersMethodset_max_size
Set maximal number of buffers stored in memory
src/history.rs:150
↓ 1 callersMethodskip_completions_hint
(&mut self)
src/editor.rs:248
↓ 1 callersMethodundo
Attempts to undo an action on the current buffer. Returns `Ok(true)` if an action was undone. Returns `Ok(false)` if there was no action to undo.
src/editor.rs:188
↓ 1 callersFunctionwidth
(s: S)
src/util.rs:4
Functionbasic_replace
test basic replace
src/keymap/vi.rs:1649
Methodcalc_width
(prompt_width: usize, buf_widths: Vec<usize>, terminal_width: usize)
src/editor.rs:599
Functionchange_and_repeat
test repeat with change
src/keymap/vi.rs:2678
Functionchange_char_left
test deleting a single char to the left
src/keymap/vi.rs:2593
Functionchange_char_right
test deleting a single char to the right
src/keymap/vi.rs:2633
Functionchange_chars_left
test deleting multiple chars to the left
src/keymap/vi.rs:2613
Functionchange_chars_right
test changing multiple chars to the right
src/keymap/vi.rs:2653
Functionchange_line
test changing a line
src/keymap/vi.rs:2571
Functionchange_until_end
test change until end of line
src/keymap/vi.rs:2703
Functionchange_until_end_from_middle_shift_c
test change until end of line
src/keymap/vi.rs:2745
Functionchange_until_end_shift_c
test change until end of line
src/keymap/vi.rs:2725
Functionchange_until_start
test change until start of line
src/keymap/vi.rs:2768
Functionchange_with_count
test a compound count with change
src/keymap/vi.rs:2793
Functionchange_with_count_and_repeat
test a compound count with change and repeat
src/keymap/vi.rs:2820
Functionchange_word
test change word
src/keymap/vi.rs:2844
Functionchange_word_ge_ws
test change word with 'gE'
src/keymap/vi.rs:3273
Methodclear_actions
(&mut self)
src/buffer.rs:93
Functioncount_at_buffer_edge
make sure we only attempt to repeat for as many chars are in the buffer
src/keymap/vi.rs:1628
Functionctrl_c
ctrl-c should generate an error
src/keymap/mod.rs:125
Functionctrl_d_empty
when the current buffer is empty, ctrl-d generates and eof error
src/keymap/mod.rs:99
Functionctrl_d_non_empty
when the current buffer is not empty, ctrl-d should be ignored
src/keymap/mod.rs:112
Functionctrl_h
ctrl-h should act as backspace
src/keymap/vi.rs:3706
Functionctrl_h
ctrl-h should act as backspace
src/keymap/emacs.rs:276
Functioncursor_movement
()
src/editor.rs:795
Functioncursor_movement
()
src/keymap/vi.rs:1091
Functioncursor_movement
()
src/keymap/emacs.rs:261
Functiondelete_abort
test aborting a delete (and change)
src/keymap/vi.rs:1926
Functiondelete_all_after_cursor_undo
test undoing delete_all_after_cursor
src/editor.rs:767
Functiondelete_and_repeat
test repeat with delete
src/keymap/vi.rs:2024
Functiondelete_char_left
test deleting a single char to the left
src/keymap/vi.rs:1948
Functiondelete_char_right
test deleting a single char to the right
src/keymap/vi.rs:1985
Functiondelete_chars_left
test deleting multiple chars to the left
src/keymap/vi.rs:1966
Functiondelete_chars_right
test deleting multiple chars to the right
src/keymap/vi.rs:2004
Functiondelete_line
test deleting a line
src/keymap/vi.rs:1885
Functiondelete_line_normal
test for normal mode after deleting a line
src/keymap/vi.rs:1903
Functiondelete_until
()
src/editor.rs:834
Functiondelete_until_backwards
()
src/editor.rs:808
Functiondelete_until_end
test delete until end of line
src/keymap/vi.rs:2044
Functiondelete_until_end_shift_d
test delete until end of line
src/keymap/vi.rs:2063
Functiondelete_until_forwards
()
src/editor.rs:821
Functiondelete_until_inclusive
()
src/editor.rs:847
Functiondelete_until_start
test delete until start of line
src/keymap/vi.rs:2081
Functiondelete_with_count
test a compound count with delete
src/keymap/vi.rs:2100
Functiondelete_with_count_and_repeat
test a compound count with delete and repeat
src/keymap/vi.rs:2121
Functiondelete_word
test delete word
src/keymap/vi.rs:2552
Functiondot_replace
test replace with dot
src/keymap/vi.rs:1730
Functiondot_replace_count
test replace with dot
src/keymap/vi.rs:1753
Functiondot_replace_eol
test replace with dot at eol
src/keymap/vi.rs:1778
Functiondot_replace_eol_multiple
test replace with dot at eol multiple times
src/keymap/vi.rs:1799
Functiondot_x_delete
test delete with dot
src/keymap/vi.rs:1865
Methodeditor
(&self)
src/keymap/vi.rs:1015
Methodeditor
(&self)
src/keymap/emacs.rs:124
Functionenter_is_done
()
src/keymap/vi.rs:1056
Functionenter_is_done
()
src/keymap/emacs.rs:211
Methodfmt
(&self, f: &mut fmt::Formatter)
src/buffer.rs:66
Methodfrom
(buf: Buffer)
src/buffer.rs:48
Methodfrom
(ed: Editor<'a, W>)
src/editor.rs:752
Methodfrom
(vi: Vi<'a, W>)
src/keymap/vi.rs:1021
Methodfrom
(emacs: Emacs<'a, W>)
src/keymap/emacs.rs:130
Methodfrom_iter
(t: T)
src/buffer.rs:75
Methodhandle_key_core
(&mut self, key: Key)
src/keymap/emacs.rs:97
Methodhandle_keys
( mut keymap: M, mut handler: &mut EventHandler<W>, )
src/context.rs:107
← previousnext →101–200 of 336, ranked by callers