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
Method
from_keyinput_str
Turn a [KeyInput] into a corresponding [Combo] by looking at the key attribute value
crates/bazed-input-mapper/src/key_combo.rs:64
Method
from_offset
Get the position of a given offset in a text. Will return `None` if the offset is outside the bounds of the text If `offset == text.len()`, will retur
crates/bazed-core/src/buffer/position.rs:18
Method
from_str
TODO related to normalization: Do we wanna parse `A` as `<S-A>`, `A` or `<S-a>`?
crates/bazed-input-mapper/src/key_combo.rs:109
Method
from_uuid
(uuid: Uuid)
crates/bazed-core/src/document.rs:22
Method
from_value
(version: &syn::Lit)
crates/bazed-stew-macros/src/lib.rs:271
Method
gen
()
crates/bazed-core/src/document.rs:25
Method
gen
()
crates/bazed-core/src/view.rs:9
Method
gen
()
crates/bazed-core/src/region.rs:10
Method
gen
()
crates/bazed-stew-interface/src/rpc_proto.rs:40
Method
get_active_undo_id
Get the id of the point in history that is currently undone to. I.e. if history is [0, 1, 2], we have undone once, then this will yield 1.
crates/bazed-core/src/buffer/undo_history.rs:89
Method
get_fn
( &mut self, plugin_id: PluginId, fn_name: String, )
crates/bazed-stew-interface/src/stew_rpc.rs:222
Method
handleKeyPressed
* handle mouse clicks * @param {KeyInput} input - key input with active modifiers
node_packages/bazed-svelte/src/lib/rpc.ts:41
Method
handleMouseClicked
* handle mouse clicks * @param {CoordinateRegion} position - location - as line:column - of click
node_packages/bazed-svelte/src/lib/rpc.ts:49
Method
handleMouseWheel
* handle mouse wheel * @param {number} mouseWheel - count of lines to scroll, positive to scroll down
node_packages/bazed-svelte/src/lib/rpc.ts:57
Method
handleUpdateView
* handle resizing and view-movements * @param {{ * height: number // line count * width: number // column count * }} args - object ho
node_packages/bazed-svelte/src/lib/rpc.ts:68
Function
info
(...params: any[])
node_packages/bazed-svelte/src/lib/log.ts:69
Function
initSession
()
node_packages/bazed-svelte/src/lib/rpc.ts:5
Method
is_combining_character
(c: char)
crates/bazed-input-mapper/src/input_event.rs:123
Method
is_non_control_character
(c: char)
crates/bazed-input-mapper/src/input_event.rs:120
Method
is_strictly_before
Check if this region is before another one without any overlap.
crates/bazed-core/src/region.rs:96
Method
key
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:164
Function
keyboardToKeyInput
(event: KeyboardEvent)
node_packages/bazed-svelte/src/lib/event.ts:20
Method
load_plugin
( &mut self, name: String, version_requirement: VersionReq, )
crates/bazed-stew-interface/src/stew_rpc.rs:202
Function
main
()
crates/bazed-tauri/build.rs:1
Function
main
()
crates/bazed/src/main.rs:8
Function
main
()
crates/example-plugin-impl/src/main.rs:30
Method
matches
Check if a Combo matches a given key-input
crates/bazed-input-mapper/src/key_combo.rs:48
Function
measure
(font: string)
node_packages/bazed-svelte/src/lib/font.ts:18
Function
measureOnChild
(element: HTMLElement, font: string)
node_packages/bazed-svelte/src/lib/font.ts:49
Function
merge
(a: Vector2, b: [number | null, number | null])
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:3
Method
merge
Merge two keymap-nodes together recursively. If one of them is a leaf, `other` takes precedence.
crates/bazed-input-mapper/src/keymap.rs:50
Method
new
()
crates/bazed-core/src/vim_interface.rs:56
Method
new
(document_id: DocumentId, viewport: Viewport)
crates/bazed-core/src/view.rs:25
Method
new
(event_send: ClientSendHandle)
crates/bazed-core/src/app.rs:38
Method
new
(text: &'a Rope, pos: usize, re: &'b Regex)
crates/bazed-core/src/buffer/regex_cursor.rs:15
Method
new
(line: usize, col: usize)
crates/bazed-core/src/buffer/position.rs:11
Method
new
( map: HashMap<Combo, KeymapNode<V>>, on_any_printable: Option<KeymapNode<V>>, )
crates/bazed-input-mapper/src/keymap.rs:62
Method
new
( id: PluginId, metadata: PluginMetadata, write: interprocess::unnamed_pipe::UnnamedPi
crates/bazed-stew/src/lib.rs:294
Method
new
(path: PathBuf)
crates/bazed-stew/src/executable.rs:35
Method
new
(writer: UnnamedPipeWriter)
crates/bazed-stew-interface/src/ipc_connection.rs:25
Method
new_empty
()
crates/bazed-core/src/buffer.rs:52
Method
new_from_map
(map: HashMap<Combo, KeymapNode<V>>)
crates/bazed-input-mapper/src/keymap.rs:72
Method
new_from_string
(s: String)
crates/bazed-core/src/buffer.rs:41
Method
new_ginormeous
()
crates/bazed-core/src/view.rs:50
Method
notify_ready
(&mut self)
crates/bazed-stew-interface/src/stew_rpc.rs:278
Method
num
(s: &str)
crates/bazed-input-mapper/src/input_event.rs:161
Method
of_char
(c: char)
crates/bazed-core/src/word_boundary.rs:94
Method
on_input
Handle a single key input. Buffers inputs when the input leads us to a submap. When we hit a leaf or no match at all, the buffered inputs are cleared
crates/bazed-input-mapper/src/lib.rs:92
Method
open_ephemeral
()
crates/bazed-core/src/document.rs:37
Method
open_file
(path: PathBuf)
crates/bazed-core/src/document.rs:44
Function
plugin
(attrs: TokenStream, input: TokenStream)
crates/bazed-stew-macros/src/lib.rs:15
Method
primary_caret
(&self)
crates/bazed-core/src/buffer/buffer_regions.rs:96
Method
redo
(&mut self)
crates/bazed-core/src/buffer/undo_history.rs:102
Method
register_fn
(&mut self, name: &str, function: F)
crates/bazed-stew-interface/src/stew_rpc.rs:135
Method
start_building_delta
(&self)
crates/bazed-core/src/buffer.rs:112
Method
sticky
(head: usize, tail: usize)
crates/bazed-core/src/region.rs:47
Method
sticky_cursor
(offset: usize)
crates/bazed-core/src/region.rs:43
Function
stringSplice
( str: string, offset: number, text: string, deleteCount: number = 0, )
node_packages/bazed-svelte/src/lib/common.ts:19
Function
sub
(a: Vector2, b: Vector2)
node_packages/bazed-svelte/src/lib/linearAlgebra.ts:9
Function
test_delete_backwards
()
crates/bazed-core/src/buffer.rs:388
Function
test_delete_empty
()
crates/bazed-core/src/buffer.rs:406
Function
test_delete_forwards
()
crates/bazed-core/src/buffer.rs:380
Function
test_delete_selection
()
crates/bazed-core/src/buffer.rs:397
Function
test_empty_redo
()
crates/bazed-core/src/buffer/undo_history.rs:191
Function
test_eol
()
crates/bazed-core/src/buffer/movement.rs:124
Function
test_find_next
()
crates/bazed-core/src/buffer/movement.rs:147
Function
test_find_prev
()
crates/bazed-core/src/buffer/movement.rs:188
Function
test_from_offset_invalid
()
crates/bazed-core/src/buffer/position.rs:189
Function
test_from_offset_valid
()
crates/bazed-core/src/buffer/position.rs:155
Function
test_highlevel_movement_line_ends
()
crates/bazed-core/src/buffer.rs:521
Function
test_highlevel_movement_viewport
()
crates/bazed-core/src/buffer.rs:536
Function
test_insert
()
crates/bazed-core/src/buffer.rs:336
Function
test_insert_at_selection
()
crates/bazed-core/src/buffer.rs:370
Function
test_key_string
()
crates/bazed-input-mapper/src/input_event.rs:191
Function
test_keypress
()
crates/bazed-core/src/app.rs:296
Function
test_merge
()
crates/bazed-core/src/region.rs:142
Function
test_move_caret_down_into_shorter_line
()
crates/bazed-core/src/buffer.rs:499
Function
test_move_caret_edges
()
crates/bazed-core/src/buffer.rs:476
Function
test_move_caret_empty
()
crates/bazed-core/src/buffer.rs:459
Function
test_move_caret_forgets_column_after_horiz_movement
()
crates/bazed-core/src/buffer.rs:435
Function
test_move_caret_remembers_column
()
crates/bazed-core/src/buffer.rs:424
Function
test_move_caret_selecting
()
crates/bazed-core/src/buffer.rs:414
Function
test_move_caret_up_into_shorter_line
()
crates/bazed-core/src/buffer.rs:510
Function
test_move_collapses_selection
()
crates/bazed-core/src/buffer.rs:447
Function
test_move_next_word_boundary
()
crates/bazed-core/src/buffer/movement.rs:229
Function
test_move_previous_word_boundary
()
crates/bazed-core/src/buffer/movement.rs:256
Function
test_named_key_attribute_values
()
crates/bazed-input-mapper/src/input_event.rs:213
Function
test_next_match
()
crates/bazed-core/src/buffer/regex_cursor.rs:46
Function
test_overlaps
()
crates/bazed-core/src/region.rs:127
Function
test_parse_combo
()
crates/bazed-input-mapper/src/key_combo.rs:153
Function
test_prev_match
()
crates/bazed-core/src/buffer/regex_cursor.rs:56
Function
test_prev_match_edge
()
crates/bazed-core/src/buffer/regex_cursor.rs:66
Function
test_replace_at_caret
()
crates/bazed-core/src/buffer.rs:345
Function
test_replace_at_caret_end_of_buffer
()
crates/bazed-core/src/buffer.rs:356
Function
test_reverse_chunks_iter
()
crates/bazed-core/src/word_boundary.rs:256
Function
test_scroll_line_into_view
()
crates/bazed-core/src/view.rs:84
Function
test_setup_view
()
crates/bazed-core/src/app.rs:270
Function
test_to_offset_invalid
()
crates/bazed-core/src/buffer/position.rs:172
Function
test_to_offset_snapping
()
crates/bazed-core/src/buffer/position.rs:137
Function
test_to_offset_valid
()
crates/bazed-core/src/buffer/position.rs:111
← previous
next →
201–300 of 319, ranked by callers