Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adam-mcdaniel/lite
/ functions
Functions
116 in github.com/adam-mcdaniel/lite
⨍
Functions
116
◇
Types & classes
12
↓ 44 callers
Method
insert
(&mut self, ch: char)
src/buffer.rs:261
↓ 34 callers
Function
err
(kind: impl ToString, expr: Expr)
src/lang/mod.rs:27
↓ 26 callers
Method
cur_buf
(&self)
src/editor.rs:152
↓ 19 callers
Method
move_cur
(&mut self, dir: Direction)
src/buffer.rs:299
↓ 17 callers
Method
set_buf
(&mut self, id: usize)
src/editor.rs:55
↓ 16 callers
Method
unselect
(&mut self)
src/buffer.rs:152
↓ 15 callers
Function
eval
(mut expr: Expr, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:395
↓ 11 callers
Method
set_status
(&mut self, status: &str)
src/terminal.rs:338
↓ 9 callers
Method
apply
(&mut self, change: Change)
src/editor.rs:61
↓ 9 callers
Method
goto_cur
(&mut self, pos: (usize, usize))
src/editor.rs:137
↓ 9 callers
Method
select
(&mut self)
src/buffer.rs:148
↓ 8 callers
Method
cur_pos
(&self)
src/buffer.rs:139
↓ 8 callers
Method
delete
(&mut self)
src/buffer.rs:275
↓ 8 callers
Method
render
(&mut self, editor: &Editor, flush: bool)
src/terminal.rs:215
↓ 7 callers
Method
cur_line
(&self)
src/buffer.rs:156
↓ 7 callers
Method
get_selected
(&self)
src/editor.rs:73
↓ 6 callers
Function
get_nth_arg
(args: &Vec<Expr>, n: usize)
src/lang/expr.rs:155
↓ 6 callers
Method
prompt
(&mut self, text: &str, pre_input: Option<String>)
src/terminal.rs:392
↓ 5 callers
Method
cur_buf_mut
(&mut self)
src/editor.rs:160
↓ 5 callers
Method
is_selected
(&self)
src/editor.rs:109
↓ 5 callers
Method
max_buf_id
(&self)
src/editor.rs:51
↓ 4 callers
Method
add_buf
(&mut self, buf: Buffer)
src/editor.rs:33
↓ 4 callers
Method
cur_buf_id
(&self)
src/editor.rs:19
↓ 4 callers
Method
get
(&self, key: &Expr)
src/lang/env.rs:17
↓ 4 callers
Method
height
(&self)
src/terminal.rs:203
↓ 4 callers
Method
selection_end
(&self)
src/buffer.rs:193
↓ 4 callers
Function
string
(s: impl ToString)
src/lang/mod.rs:15
↓ 3 callers
Method
cur_line_mut
(&mut self)
src/buffer.rs:249
↓ 3 callers
Method
get_file_name
(&self)
src/buffer.rs:104
↓ 3 callers
Method
move_cur
(dir: Direction, buf: &Buffer, count: usize)
src/change.rs:16
↓ 3 callers
Method
quit_buf
(&mut self, save: bool)
src/editor.rs:37
↓ 3 callers
Method
remove
(&mut self, key: &Expr)
src/lang/env.rs:25
↓ 3 callers
Method
save
(&mut self, file_name: &str)
src/buffer.rs:112
↓ 3 callers
Method
selection_range
(&self)
src/buffer.rs:166
↓ 3 callers
Method
selection_start
(&self)
src/editor.rs:81
↓ 2 callers
Method
apply
(&self, buf: &mut Buffer)
src/change.rs:35
↓ 2 callers
Method
clear_redo_stack
(&mut self)
src/editor.rs:67
↓ 2 callers
Method
delete
(count: usize)
src/change.rs:31
↓ 2 callers
Method
eval
(&mut self, expr: Expr)
src/editor.rs:169
↓ 2 callers
Method
get_lines
(&self, min_row: usize, max_row: usize)
src/buffer.rs:135
↓ 2 callers
Method
new_buf
(&mut self)
src/editor.rs:29
↓ 2 callers
Function
parse
(code: &str)
src/lang/parse.rs:9
↓ 2 callers
Method
print_line_with_highlighting
(&mut self, row: u16, line: &str, start: usize, _end: usize)
src/terminal.rs:140
↓ 2 callers
Method
redo
(&mut self)
src/editor.rs:148
↓ 2 callers
Method
selected_lines
(&self)
src/buffer.rs:197
↓ 2 callers
Function
symbol
(s: impl ToString)
src/lang/mod.rs:12
↓ 2 callers
Method
undo
(&mut self)
src/editor.rs:144
↓ 1 callers
Method
ask
(&mut self, prompt: &str, yes: &str, no: &str)
src/terminal.rs:453
↓ 1 callers
Method
call
(&self, args: Vec<Expr>, buf: &mut Editor, env: &mut Env)
src/lang/builtin.rs:32
↓ 1 callers
Method
content
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 callers
Function
delete
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:196
↓ 1 callers
Function
dict
(d: &[(Expr, Expr)])
src/lang/mod.rs:19
↓ 1 callers
Method
exit
(&mut self)
src/terminal.rs:211
↓ 1 callers
Method
find
Find the next instance of a string in the buffer after the cursor.
src/buffer.rs:78
↓ 1 callers
Method
fix_cursor
(&mut self)
src/buffer.rs:143
↓ 1 callers
Method
get_selected_lines
(&self)
src/editor.rs:89
↓ 1 callers
Method
is_edited
(&self)
src/buffer.rs:117
↓ 1 callers
Method
move_cur_by
(&mut self, dir: Direction, count: usize)
src/editor.rs:130
↓ 1 callers
Method
next_buf
(&mut self)
src/editor.rs:176
↓ 1 callers
Method
prev_buf
(&mut self)
src/editor.rs:183
↓ 1 callers
Function
process_expr
(pair: Pair<Rule>)
src/lang/parse.rs:26
↓ 1 callers
Method
selected
(&self)
src/buffer.rs:220
↓ 1 callers
Method
set_file_name
(&mut self, file: String)
src/buffer.rs:108
↓ 1 callers
Method
undo
(&self, buf: &mut Buffer)
src/change.rs:101
↓ 1 callers
Method
wait_for_input
(&mut self, editor: &Editor)
src/terminal.rs:342
Method
alias
(&mut self, key: Expr, value: Expr)
src/lang/env.rs:29
Method
choose
(&mut self, prompt: &str, options: Vec<String>)
src/terminal.rs:476
Method
cmp
(&self, other: &Self)
src/lang/builtin.rs:52
Method
cur_line_after
(&self)
src/buffer.rs:159
Method
cur_line_before
(&self)
src/buffer.rs:162
Method
default
()
src/buffer.rs:22
Method
default
()
src/terminal.rs:182
Method
delete
(&mut self, count: usize)
src/editor.rs:118
Method
drop
(&mut self)
src/terminal.rs:197
Method
eq
(&self, other: &Self)
src/lang/builtin.rs:46
Method
fmt
(&self, f: &mut fmt::Formatter)
src/editor.rs:196
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lang/builtin.rs:38
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lang/expr.rs:65
Method
from
(n: f64)
src/lang/expr.rs:9
Method
from_file_name
(file: String)
src/buffer.rs:39
Method
from_file_name
(file: String)
src/editor.rs:23
Method
from_text
(text: &str)
src/buffer.rs:60
Method
get_last_change
(&self)
src/buffer.rs:100
Method
get_num
(&mut self, prompt: &str)
src/terminal.rs:509
Function
get_selected
(_args: Vec<Expr>, editor: &mut Editor, _env: &mut Env)
src/lang/expr.rs:367
Function
get_selected_lines
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:379
Function
get_selection_end
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:333
Function
get_selection_len
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:351
Function
get_selection_start
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:315
Function
get_undo_stack_len
( _args: Vec<Expr>, editor: &mut Editor, _env: &mut Env, )
src/lang/expr.rs:211
Method
goto_cur
(pos: (usize, usize), buf: &Buffer)
src/change.rs:27
Function
goto_cursor
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:286
Method
hash
(&self, state: &mut H)
src/lang/builtin.rs:64
Function
insert
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:184
Method
insert
(&mut self, text: impl ToString)
src/editor.rs:113
Method
insert_str
(&mut self, text: &str)
src/buffer.rs:254
Function
main
()
src/main.rs:8
Method
modifies_content
(&self)
src/change.rs:20
Method
move_cur
(&mut self, dir: Direction)
src/editor.rs:123
Function
move_cursor
(args: Vec<Expr>, editor: &mut Editor, env: &mut Env)
src/lang/expr.rs:261
next →
1–100 of 116, ranked by callers