Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bazed-editor/bazed
/ functions
Functions
319 in github.com/bazed-editor/bazed
⨍
Functions
319
◇
Types & classes
70
↓ 1 callers
Method
handle_key_pressed
(&mut self, view_id: ViewId, input: KeyInput)
crates/bazed-core/src/app.rs:130
↓ 1 callers
Method
handle_mouse_input
(&mut self, view_id: ViewId, coords: Coordinate)
crates/bazed-core/src/app.rs:153
↓ 1 callers
Method
handle_mouse_scroll
(&mut self, view_id: ViewId, line_delta: i32)
crates/bazed-core/src/app.rs:171
↓ 1 callers
Method
handle_rpc_call
(&mut self, caller_id: PluginId, call: StewRpcCall)
crates/bazed-stew/src/lib.rs:112
↓ 1 callers
Method
handle_viewport_changed
(&mut self, view_id: ViewId, height: usize)
crates/bazed-core/src/app.rs:106
↓ 1 callers
Method
head_rope
Return a snapshot of the latest commited state of the text
crates/bazed-core/src/buffer.rs:73
↓ 1 callers
Function
init_logging
()
crates/example-plugin-impl/src/main.rs:56
↓ 1 callers
Function
init_session
()
crates/bazed-stew-interface/src/lib.rs:18
↓ 1 callers
Function
init_session_with_state
(userdata: D)
crates/bazed-stew-interface/src/lib.rs:31
↓ 1 callers
Function
input_is_printable
(input: &KeyInput)
crates/bazed-input-mapper/src/keymap.rs:140
↓ 1 callers
Function
insert_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:197
↓ 1 callers
Method
into_interval
(self, _upper_bound: usize)
crates/bazed-core/src/region.rs:117
↓ 1 callers
Method
is_cursor
Check if this Region represents a cursor, meaning that it has length 0
crates/bazed-core/src/region.rs:67
↓ 1 callers
Method
is_named_key_attribute_value
(&self)
crates/bazed-input-mapper/src/input_event.rs:139
↓ 1 callers
Method
jump_caret_to_position
Jump the user caret to a given position. If `snap` is true, we'll snap the cursor to the first valid offset in the given line and to the closest vali
crates/bazed-core/src/buffer.rs:276
↓ 1 callers
Method
jump_carets_into_range_of_delta
(&mut self, delta: &RopeDelta)
crates/bazed-core/src/buffer.rs:251
↓ 1 callers
Method
line_count
(&self)
crates/bazed-core/src/buffer.rs:68
↓ 1 callers
Method
lines_between
get the lines in the given inclusive range
crates/bazed-core/src/buffer.rs:117
↓ 1 callers
Function
make_client_impl
( args: &PluginAttr, client_impl_name: &syn::Ident, functions: &[&syn::TraitItemMethod], )
crates/bazed-stew-macros/src/lib.rs:111
↓ 1 callers
Function
make_client_impl_fn
(n: usize, mut function: TraitItemMethod)
crates/bazed-stew-macros/src/lib.rs:171
↓ 1 callers
Function
make_metadata_struct_instance
(args: &PluginAttr)
crates/bazed-stew-macros/src/lib.rs:69
↓ 1 callers
Function
make_register_fn
(function: &TraitItemMethod)
crates/bazed-stew-macros/src/lib.rs:222
↓ 1 callers
Function
make_server_module
( args: &PluginAttr, trait_name: &syn::Ident, functions: &[&TraitItemMethod], )
crates/bazed-stew-macros/src/lib.rs:84
↓ 1 callers
Function
movement_key_keymap
()
crates/bazed-core/src/vim_interface.rs:278
↓ 1 callers
Function
mul
(a: Vector2, b: number)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:10
↓ 1 callers
Method
next_match
(&mut self)
crates/bazed-core/src/buffer/regex_cursor.rs:19
↓ 1 callers
Method
node_at_input
Get the [KeymapNode] corresponding to the given input, if there is one
crates/bazed-input-mapper/src/keymap.rs:108
↓ 1 callers
Method
node_at_path
Get the [KeymapNode] corresponding to the given chain of inputs, if there is one
crates/bazed-input-mapper/src/keymap.rs:130
↓ 1 callers
Function
normal_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:123
↓ 1 callers
Function
normal_mode_movement_key_keymap
()
crates/bazed-core/src/vim_interface.rs:272
↓ 1 callers
Method
onMessageReceived
* handles all messages recieved by the frontend, sent by the backend via the established * websocket
node_packages/bazed-svelte/src/lib/rpc.ts:76
↓ 1 callers
Method
onOpenView
expected behavior is for the frontend to update the viewed document
node_packages/bazed-svelte/src/lib/rpc.ts:90
↓ 1 callers
Method
onUpdateView
expected behavior is for the frontend to update the view
node_packages/bazed-svelte/src/lib/rpc.ts:103
↓ 1 callers
Method
on_input
(&mut self, view: &View, buffer: &mut Buffer, input: KeyInput)
crates/bazed-core/src/vim_interface.rs:91
↓ 1 callers
Method
open_file
(&mut self, path: std::path::PathBuf)
crates/bazed-core/src/app.rs:69
↓ 1 callers
Method
parse_into_result
( self, )
crates/bazed-stew-interface/src/rpc_proto.rs:213
↓ 1 callers
Method
prev_match
(&mut self)
crates/bazed-core/src/buffer/regex_cursor.rs:28
↓ 1 callers
Method
primary_caret
(&self)
crates/bazed-core/src/buffer.rs:103
↓ 1 callers
Method
primary_caret_position
(&self)
crates/bazed-core/src/buffer.rs:107
↓ 1 callers
Method
recv_from_stew
(&mut self)
crates/bazed-stew-interface/src/ipc_connection.rs:72
↓ 1 callers
Function
replace_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:108
↓ 1 callers
Function
returns_nothing
(sig: &syn::Signature)
crates/bazed-stew-macros/src/utils.rs:17
↓ 1 callers
Function
run_frontend
Start the tauri instance
crates/bazed-tauri/src/lib.rs:7
↓ 1 callers
Function
run_stew
(load_path: Vec<PathBuf>)
crates/bazed-stew/src/lib.rs:24
↓ 1 callers
Function
search_plugins_in
(path: &Path)
crates/bazed-stew/src/executable.rs:65
↓ 1 callers
Method
send_function_called
(&mut self, msg: FunctionCalled)
crates/bazed-stew/src/lib.rs:308
↓ 1 callers
Method
snap_regions_to_valid_position
Snap all regions to the closest valid points in the buffer. This may be required if an action (such as undo, currently) changes the buffer without mo
crates/bazed-core/src/buffer.rs:141
↓ 1 callers
Method
to_offset
Turn a position into an offset at that point. Return `None` if there is no character at that point. When the position points to the exact end of the t
crates/bazed-core/src/buffer/position.rs:32
↓ 1 callers
Method
update_regions
(&mut self, mut f: F)
crates/bazed-core/src/buffer/buffer_regions.rs:76
↓ 1 callers
Method
version_matches
(&self, version_requirement: &VersionReq)
crates/bazed-stew/src/executable.rs:60
↓ 1 callers
Function
visual_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:238
↓ 1 callers
Function
wait_for_client
( addr: &str, )
crates/bazed-rpc/src/server.rs:20
↓ 1 callers
Function
withLocation
(log: (location?: string, ...params: any[]) => void)
node_packages/bazed-svelte/src/lib/log.ts:53
↓ 1 callers
Method
with_col
(self, col: usize)
crates/bazed-core/src/buffer/position.rs:98
↓ 1 callers
Method
with_end_at
Set the end (the head or the tail, depending on what offset is higher) to the given offset.
crates/bazed-core/src/region.rs:57
↓ 1 callers
Method
with_line
(self, line: usize)
crates/bazed-core/src/buffer/position.rs:94
↓ 1 callers
Method
with_line_in_view
Move the viewport such that the given line_nr is in view, and attempt to keep it a minimum of `scroll_off` lines from the viewport edges as long as we
crates/bazed-core/src/view.rs:64
↓ 1 callers
Function
wrap_return_type
( mut sig: syn::Signature, wrap: impl FnOnce(Box<syn::Type>) -> syn::Type, )
crates/bazed-stew-macros/src/utils.rs:3
↓ 1 callers
Function
write_rope_to_file
write a rope to a file by first writing to a .swp file and then renaming
crates/bazed-core/src/document.rs:111
Function
add
(a: Vector2, b: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:8
Method
all_caret_positions
Return the position (head) of all carets
crates/bazed-core/src/buffer.rs:83
Method
alpha
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:158
Method
apply_transformer
( &mut self, transformer: &mut xi_rope::Transformer<N>, )
crates/bazed-core/src/region.rs:71
Function
arrayUpdate
(arr: T[], n: number, f: (x: T) => T)
node_packages/bazed-svelte/src/lib/common.ts:8
Method
as_key_string
(&self)
crates/bazed-input-mapper/src/input_event.rs:143
Method
as_named_key_attribute_value
(&self)
crates/bazed-input-mapper/src/input_event.rs:147
Method
as_str
(&self)
crates/bazed-input-mapper/src/input_event.rs:110
Method
await_invocation_result
( &self, invocation_id: InvocationId, )
crates/bazed-stew-interface/src/stew_rpc.rs:267
Method
between
(a: char, b: char)
crates/bazed-core/src/word_boundary.rs:66
Method
between_types
(a: CharCategory, b: CharCategory)
crates/bazed-core/src/word_boundary.rs:49
Method
call_fn_and_await_response
( &mut self, fn_id: FunctionId, args: impl Serialize, )
crates/bazed-stew-interface/src/stew_rpc.rs:251
Method
call_fn_ignore_response
( &mut self, fn_id: FunctionId, args: T, )
crates/bazed-stew-interface/src/stew_rpc.rs:241
Function
cargo_clippy_check
()
crates/bazed/tests/it/external.rs:73
Function
cargo_deny_check
()
crates/bazed/tests/it/external.rs:37
Function
cargo_doc_check
()
crates/bazed/tests/it/external.rs:55
Function
cargo_fmt_check
()
crates/bazed/tests/it/external.rs:19
Method
clone
(&self)
crates/bazed-stew-interface/src/ipc_connection.rs:16
Method
collapse_selections
(&mut self)
crates/bazed-core/src/buffer/buffer_regions.rs:152
Method
constructor
(websocket: WebSocket)
node_packages/bazed-svelte/src/lib/rpc.ts:21
Method
content_to_string
(&self)
crates/bazed-core/src/buffer.rs:56
Function
cramer
(a: Vector2, b: Vector2, r: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:15
Function
debug
(...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:70
Method
default
()
crates/bazed-core/src/buffer/buffer_regions.rs:32
Method
default
()
crates/bazed-core/src/buffer/undo_history.rs:42
Method
descriptions
(&self)
crates/bazed-input-mapper/src/keymap.rs:93
Function
error
(...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:72
Method
filename
(&self)
crates/bazed-stew/src/executable.rs:52
Function
firebug
(level: Level, location?: string, message?: any[], ...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:20
Function
floor
(a: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:12
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-input-mapper/src/key_combo.rs:18
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-input-mapper/src/input_event.rs:19
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-stew/src/executable.rs:23
Function
fontToString
(font: Font)
node_packages/bazed-svelte/src/lib/font.ts:3
Method
from
(spec: KeySpec)
crates/bazed-input-mapper/src/key_combo.rs:38
Method
from
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:170
Method
from
(result: Result<T, E>)
crates/bazed-stew-interface/src/rpc_proto.rs:204
Method
from_base_keymap
(keymap_id: KeymapId, keymap: Keymap<V>)
crates/bazed-input-mapper/src/lib.rs:48
Method
from_char
Parse a char into a single modifier
crates/bazed-input-mapper/src/input_event.rs:42
Method
from_iter
(reversing: bool, iter: It)
crates/bazed-core/src/word_boundary.rs:131
Method
from_keyinput_raw
Turn a [KeyInput] into a corresponding [Combo] by looking at the raw key code
crates/bazed-input-mapper/src/key_combo.rs:56
← previous
next →
101–200 of 319, ranked by callers