MCPcopy Create free account

hub / github.com/adam-mcdaniel/lite / functions

Functions116 in github.com/adam-mcdaniel/lite

↓ 44 callersMethodinsert
(&mut self, ch: char)
src/buffer.rs:261
↓ 34 callersFunctionerr
(kind: impl ToString, expr: Expr)
src/lang/mod.rs:27
↓ 26 callersMethodcur_buf
(&self)
src/editor.rs:152
↓ 19 callersMethodmove_cur
(&mut self, dir: Direction)
src/buffer.rs:299
↓ 17 callersMethodset_buf
(&mut self, id: usize)
src/editor.rs:55
↓ 16 callersMethodunselect
(&mut self)
src/buffer.rs:152
↓ 15 callersFunctioneval
(mut expr: Expr, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:395
↓ 11 callersMethodset_status
(&mut self, status: &str)
src/terminal.rs:338
↓ 9 callersMethodapply
(&mut self, change: Change)
src/editor.rs:61
↓ 9 callersMethodgoto_cur
(&mut self, pos: (usize, usize))
src/editor.rs:137
↓ 9 callersMethodselect
(&mut self)
src/buffer.rs:148
↓ 8 callersMethodcur_pos
(&self)
src/buffer.rs:139
↓ 8 callersMethoddelete
(&mut self)
src/buffer.rs:275
↓ 8 callersMethodrender
(&mut self, editor: &Editor, flush: bool)
src/terminal.rs:215
↓ 7 callersMethodcur_line
(&self)
src/buffer.rs:156
↓ 7 callersMethodget_selected
(&self)
src/editor.rs:73
↓ 6 callersFunctionget_nth_arg
(args: &Vec<Expr>, n: usize)
src/lang/expr.rs:155
↓ 6 callersMethodprompt
(&mut self, text: &str, pre_input: Option<String>)
src/terminal.rs:392
↓ 5 callersMethodcur_buf_mut
(&mut self)
src/editor.rs:160
↓ 5 callersMethodis_selected
(&self)
src/editor.rs:109
↓ 5 callersMethodmax_buf_id
(&self)
src/editor.rs:51
↓ 4 callersMethodadd_buf
(&mut self, buf: Buffer)
src/editor.rs:33
↓ 4 callersMethodcur_buf_id
(&self)
src/editor.rs:19
↓ 4 callersMethodget
(&self, key: &Expr)
src/lang/env.rs:17
↓ 4 callersMethodheight
(&self)
src/terminal.rs:203
↓ 4 callersMethodselection_end
(&self)
src/buffer.rs:193
↓ 4 callersFunctionstring
(s: impl ToString)
src/lang/mod.rs:15
↓ 3 callersMethodcur_line_mut
(&mut self)
src/buffer.rs:249
↓ 3 callersMethodget_file_name
(&self)
src/buffer.rs:104
↓ 3 callersMethodmove_cur
(dir: Direction, buf: &Buffer, count: usize)
src/change.rs:16
↓ 3 callersMethodquit_buf
(&mut self, save: bool)
src/editor.rs:37
↓ 3 callersMethodremove
(&mut self, key: &Expr)
src/lang/env.rs:25
↓ 3 callersMethodsave
(&mut self, file_name: &str)
src/buffer.rs:112
↓ 3 callersMethodselection_range
(&self)
src/buffer.rs:166
↓ 3 callersMethodselection_start
(&self)
src/editor.rs:81
↓ 2 callersMethodapply
(&self, buf: &mut Buffer)
src/change.rs:35
↓ 2 callersMethodclear_redo_stack
(&mut self)
src/editor.rs:67
↓ 2 callersMethoddelete
(count: usize)
src/change.rs:31
↓ 2 callersMethodeval
(&mut self, expr: Expr)
src/editor.rs:169
↓ 2 callersMethodget_lines
(&self, min_row: usize, max_row: usize)
src/buffer.rs:135
↓ 2 callersMethodnew_buf
(&mut self)
src/editor.rs:29
↓ 2 callersFunctionparse
(code: &str)
src/lang/parse.rs:9
↓ 2 callersMethodprint_line_with_highlighting
(&mut self, row: u16, line: &str, start: usize, _end: usize)
src/terminal.rs:140
↓ 2 callersMethodredo
(&mut self)
src/editor.rs:148
↓ 2 callersMethodselected_lines
(&self)
src/buffer.rs:197
↓ 2 callersFunctionsymbol
(s: impl ToString)
src/lang/mod.rs:12
↓ 2 callersMethodundo
(&mut self)
src/editor.rs:144
↓ 1 callersMethodask
(&mut self, prompt: &str, yes: &str, no: &str)
src/terminal.rs:453
↓ 1 callersMethodcall
(&self, args: Vec<Expr>, buf: &mut Editor, env: &mut Env)
src/lang/builtin.rs:32
↓ 1 callersMethodcontent
fn fix_screen(&mut self) { if self.cursor_row > self.screen_min_row + self.screen_rows { self.screen_min_row += self.cursor_row - (self.screen_min_row
src/buffer.rs:131
↓ 1 callersFunctiondelete
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:196
↓ 1 callersFunctiondict
(d: &[(Expr, Expr)])
src/lang/mod.rs:19
↓ 1 callersMethodexit
(&mut self)
src/terminal.rs:211
↓ 1 callersMethodfind
Find the next instance of a string in the buffer after the cursor.
src/buffer.rs:78
↓ 1 callersMethodfix_cursor
(&mut self)
src/buffer.rs:143
↓ 1 callersMethodget_selected_lines
(&self)
src/editor.rs:89
↓ 1 callersMethodis_edited
(&self)
src/buffer.rs:117
↓ 1 callersMethodmove_cur_by
(&mut self, dir: Direction, count: usize)
src/editor.rs:130
↓ 1 callersMethodnext_buf
(&mut self)
src/editor.rs:176
↓ 1 callersMethodprev_buf
(&mut self)
src/editor.rs:183
↓ 1 callersFunctionprocess_expr
(pair: Pair<Rule>)
src/lang/parse.rs:26
↓ 1 callersMethodselected
(&self)
src/buffer.rs:220
↓ 1 callersMethodset_file_name
(&mut self, file: String)
src/buffer.rs:108
↓ 1 callersMethodundo
(&self, buf: &mut Buffer)
src/change.rs:101
↓ 1 callersMethodwait_for_input
(&mut self, editor: &Editor)
src/terminal.rs:342
Methodalias
(&mut self, key: Expr, value: Expr)
src/lang/env.rs:29
Methodchoose
(&mut self, prompt: &str, options: Vec<String>)
src/terminal.rs:476
Methodcmp
(&self, other: &Self)
src/lang/builtin.rs:52
Methodcur_line_after
(&self)
src/buffer.rs:159
Methodcur_line_before
(&self)
src/buffer.rs:162
Methoddefault
()
src/buffer.rs:22
Methoddefault
()
src/terminal.rs:182
Methoddelete
(&mut self, count: usize)
src/editor.rs:118
Methoddrop
(&mut self)
src/terminal.rs:197
Methodeq
(&self, other: &Self)
src/lang/builtin.rs:46
Methodfmt
(&self, f: &mut fmt::Formatter)
src/editor.rs:196
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lang/builtin.rs:38
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lang/expr.rs:65
Methodfrom
(n: f64)
src/lang/expr.rs:9
Methodfrom_file_name
(file: String)
src/buffer.rs:39
Methodfrom_file_name
(file: String)
src/editor.rs:23
Methodfrom_text
(text: &str)
src/buffer.rs:60
Methodget_last_change
(&self)
src/buffer.rs:100
Methodget_num
(&mut self, prompt: &str)
src/terminal.rs:509
Functionget_selected
(_args: Vec<Expr>, editor: &mut Editor, _env: &mut Env)
src/lang/expr.rs:367
Functionget_selected_lines
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:379
Functionget_selection_end
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:333
Functionget_selection_len
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:351
Functionget_selection_start
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:315
Functionget_undo_stack_len
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:211
Methodgoto_cur
(pos: (usize, usize), buf: &Buffer)
src/change.rs:27
Functiongoto_cursor
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:286
Methodhash
(&self, state: &mut H)
src/lang/builtin.rs:64
Functioninsert
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:184
Methodinsert
(&mut self, text: impl ToString)
src/editor.rs:113
Methodinsert_str
(&mut self, text: &str)
src/buffer.rs:254
Functionmain
()
src/main.rs:8
Methodmodifies_content
(&self)
src/change.rs:20
Methodmove_cur
(&mut self, dir: Direction)
src/editor.rs:123
Functionmove_cursor
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:261
next →1–100 of 116, ranked by callers