MCPcopy Create free account

hub / github.com/bazed-editor/bazed / functions

Functions319 in github.com/bazed-editor/bazed

↓ 1 callersMethodhandle_key_pressed
(&mut self, view_id: ViewId, input: KeyInput)
crates/bazed-core/src/app.rs:130
↓ 1 callersMethodhandle_mouse_input
(&mut self, view_id: ViewId, coords: Coordinate)
crates/bazed-core/src/app.rs:153
↓ 1 callersMethodhandle_mouse_scroll
(&mut self, view_id: ViewId, line_delta: i32)
crates/bazed-core/src/app.rs:171
↓ 1 callersMethodhandle_rpc_call
(&mut self, caller_id: PluginId, call: StewRpcCall)
crates/bazed-stew/src/lib.rs:112
↓ 1 callersMethodhandle_viewport_changed
(&mut self, view_id: ViewId, height: usize)
crates/bazed-core/src/app.rs:106
↓ 1 callersMethodhead_rope
Return a snapshot of the latest commited state of the text
crates/bazed-core/src/buffer.rs:73
↓ 1 callersFunctioninit_logging
()
crates/example-plugin-impl/src/main.rs:56
↓ 1 callersFunctioninit_session
()
crates/bazed-stew-interface/src/lib.rs:18
↓ 1 callersFunctioninit_session_with_state
(userdata: D)
crates/bazed-stew-interface/src/lib.rs:31
↓ 1 callersFunctioninput_is_printable
(input: &KeyInput)
crates/bazed-input-mapper/src/keymap.rs:140
↓ 1 callersFunctioninsert_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:197
↓ 1 callersMethodinto_interval
(self, _upper_bound: usize)
crates/bazed-core/src/region.rs:117
↓ 1 callersMethodis_cursor
Check if this Region represents a cursor, meaning that it has length 0
crates/bazed-core/src/region.rs:67
↓ 1 callersMethodis_named_key_attribute_value
(&self)
crates/bazed-input-mapper/src/input_event.rs:139
↓ 1 callersMethodjump_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 callersMethodjump_carets_into_range_of_delta
(&mut self, delta: &RopeDelta)
crates/bazed-core/src/buffer.rs:251
↓ 1 callersMethodline_count
(&self)
crates/bazed-core/src/buffer.rs:68
↓ 1 callersMethodlines_between
get the lines in the given inclusive range
crates/bazed-core/src/buffer.rs:117
↓ 1 callersFunctionmake_client_impl
( args: &PluginAttr, client_impl_name: &syn::Ident, functions: &[&syn::TraitItemMethod], )
crates/bazed-stew-macros/src/lib.rs:111
↓ 1 callersFunctionmake_client_impl_fn
(n: usize, mut function: TraitItemMethod)
crates/bazed-stew-macros/src/lib.rs:171
↓ 1 callersFunctionmake_metadata_struct_instance
(args: &PluginAttr)
crates/bazed-stew-macros/src/lib.rs:69
↓ 1 callersFunctionmake_register_fn
(function: &TraitItemMethod)
crates/bazed-stew-macros/src/lib.rs:222
↓ 1 callersFunctionmake_server_module
( args: &PluginAttr, trait_name: &syn::Ident, functions: &[&TraitItemMethod], )
crates/bazed-stew-macros/src/lib.rs:84
↓ 1 callersFunctionmovement_key_keymap
()
crates/bazed-core/src/vim_interface.rs:278
↓ 1 callersFunctionmul
(a: Vector2, b: number)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:10
↓ 1 callersMethodnext_match
(&mut self)
crates/bazed-core/src/buffer/regex_cursor.rs:19
↓ 1 callersMethodnode_at_input
Get the [KeymapNode] corresponding to the given input, if there is one
crates/bazed-input-mapper/src/keymap.rs:108
↓ 1 callersMethodnode_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 callersFunctionnormal_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:123
↓ 1 callersFunctionnormal_mode_movement_key_keymap
()
crates/bazed-core/src/vim_interface.rs:272
↓ 1 callersMethodonMessageReceived
* 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 callersMethodonOpenView
expected behavior is for the frontend to update the viewed document
node_packages/bazed-svelte/src/lib/rpc.ts:90
↓ 1 callersMethodonUpdateView
expected behavior is for the frontend to update the view
node_packages/bazed-svelte/src/lib/rpc.ts:103
↓ 1 callersMethodon_input
(&mut self, view: &View, buffer: &mut Buffer, input: KeyInput)
crates/bazed-core/src/vim_interface.rs:91
↓ 1 callersMethodopen_file
(&mut self, path: std::path::PathBuf)
crates/bazed-core/src/app.rs:69
↓ 1 callersMethodparse_into_result
( self, )
crates/bazed-stew-interface/src/rpc_proto.rs:213
↓ 1 callersMethodprev_match
(&mut self)
crates/bazed-core/src/buffer/regex_cursor.rs:28
↓ 1 callersMethodprimary_caret
(&self)
crates/bazed-core/src/buffer.rs:103
↓ 1 callersMethodprimary_caret_position
(&self)
crates/bazed-core/src/buffer.rs:107
↓ 1 callersMethodrecv_from_stew
(&mut self)
crates/bazed-stew-interface/src/ipc_connection.rs:72
↓ 1 callersFunctionreplace_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:108
↓ 1 callersFunctionreturns_nothing
(sig: &syn::Signature)
crates/bazed-stew-macros/src/utils.rs:17
↓ 1 callersFunctionrun_frontend
Start the tauri instance
crates/bazed-tauri/src/lib.rs:7
↓ 1 callersFunctionrun_stew
(load_path: Vec<PathBuf>)
crates/bazed-stew/src/lib.rs:24
↓ 1 callersFunctionsearch_plugins_in
(path: &Path)
crates/bazed-stew/src/executable.rs:65
↓ 1 callersMethodsend_function_called
(&mut self, msg: FunctionCalled)
crates/bazed-stew/src/lib.rs:308
↓ 1 callersMethodsnap_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 callersMethodto_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 callersMethodupdate_regions
(&mut self, mut f: F)
crates/bazed-core/src/buffer/buffer_regions.rs:76
↓ 1 callersMethodversion_matches
(&self, version_requirement: &VersionReq)
crates/bazed-stew/src/executable.rs:60
↓ 1 callersFunctionvisual_mode_keymap
()
crates/bazed-core/src/vim_interface.rs:238
↓ 1 callersFunctionwait_for_client
( addr: &str, )
crates/bazed-rpc/src/server.rs:20
↓ 1 callersFunctionwithLocation
(log: (location?: string, ...params: any[]) => void)
node_packages/bazed-svelte/src/lib/log.ts:53
↓ 1 callersMethodwith_col
(self, col: usize)
crates/bazed-core/src/buffer/position.rs:98
↓ 1 callersMethodwith_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 callersMethodwith_line
(self, line: usize)
crates/bazed-core/src/buffer/position.rs:94
↓ 1 callersMethodwith_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 callersFunctionwrap_return_type
( mut sig: syn::Signature, wrap: impl FnOnce(Box<syn::Type>) -> syn::Type, )
crates/bazed-stew-macros/src/utils.rs:3
↓ 1 callersFunctionwrite_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
Functionadd
(a: Vector2, b: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:8
Methodall_caret_positions
Return the position (head) of all carets
crates/bazed-core/src/buffer.rs:83
Methodalpha
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:158
Methodapply_transformer
( &mut self, transformer: &mut xi_rope::Transformer<N>, )
crates/bazed-core/src/region.rs:71
FunctionarrayUpdate
(arr: T[], n: number, f: (x: T) => T)
node_packages/bazed-svelte/src/lib/common.ts:8
Methodas_key_string
(&self)
crates/bazed-input-mapper/src/input_event.rs:143
Methodas_named_key_attribute_value
(&self)
crates/bazed-input-mapper/src/input_event.rs:147
Methodas_str
(&self)
crates/bazed-input-mapper/src/input_event.rs:110
Methodawait_invocation_result
( &self, invocation_id: InvocationId, )
crates/bazed-stew-interface/src/stew_rpc.rs:267
Methodbetween
(a: char, b: char)
crates/bazed-core/src/word_boundary.rs:66
Methodbetween_types
(a: CharCategory, b: CharCategory)
crates/bazed-core/src/word_boundary.rs:49
Methodcall_fn_and_await_response
( &mut self, fn_id: FunctionId, args: impl Serialize, )
crates/bazed-stew-interface/src/stew_rpc.rs:251
Methodcall_fn_ignore_response
( &mut self, fn_id: FunctionId, args: T, )
crates/bazed-stew-interface/src/stew_rpc.rs:241
Functioncargo_clippy_check
()
crates/bazed/tests/it/external.rs:73
Functioncargo_deny_check
()
crates/bazed/tests/it/external.rs:37
Functioncargo_doc_check
()
crates/bazed/tests/it/external.rs:55
Functioncargo_fmt_check
()
crates/bazed/tests/it/external.rs:19
Methodclone
(&self)
crates/bazed-stew-interface/src/ipc_connection.rs:16
Methodcollapse_selections
(&mut self)
crates/bazed-core/src/buffer/buffer_regions.rs:152
Methodconstructor
(websocket: WebSocket)
node_packages/bazed-svelte/src/lib/rpc.ts:21
Methodcontent_to_string
(&self)
crates/bazed-core/src/buffer.rs:56
Functioncramer
(a: Vector2, b: Vector2, r: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:15
Functiondebug
(...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:70
Methoddefault
()
crates/bazed-core/src/buffer/buffer_regions.rs:32
Methoddefault
()
crates/bazed-core/src/buffer/undo_history.rs:42
Methoddescriptions
(&self)
crates/bazed-input-mapper/src/keymap.rs:93
Functionerror
(...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:72
Methodfilename
(&self)
crates/bazed-stew/src/executable.rs:52
Functionfirebug
(level: Level, location?: string, message?: any[], ...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:20
Functionfloor
(a: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:12
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-input-mapper/src/key_combo.rs:18
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-input-mapper/src/input_event.rs:19
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/bazed-stew/src/executable.rs:23
FunctionfontToString
(font: Font)
node_packages/bazed-svelte/src/lib/font.ts:3
Methodfrom
(spec: KeySpec)
crates/bazed-input-mapper/src/key_combo.rs:38
Methodfrom
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:170
Methodfrom
(result: Result<T, E>)
crates/bazed-stew-interface/src/rpc_proto.rs:204
Methodfrom_base_keymap
(keymap_id: KeymapId, keymap: Keymap<V>)
crates/bazed-input-mapper/src/lib.rs:48
Methodfrom_char
Parse a char into a single modifier
crates/bazed-input-mapper/src/input_event.rs:42
Methodfrom_iter
(reversing: bool, iter: It)
crates/bazed-core/src/word_boundary.rs:131
Methodfrom_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
← previousnext →101–200 of 319, ranked by callers