Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kethku/Pando
/ focus
Method
focus
aspen/src/context_stack/context.rs:120–123 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
118
}
119
120
pub fn focus(&self) {
121
let mut focused_element = self.focused_element.borrow_mut();
122
*focused_element = Some(self.token());
123
}
124
125
pub fn token(&self) -> Token {
126
self.element_token
Callers
9
draw
Method · 0.45
delete_bytes_before_selection
Method · 0.45
delete
Method · 0.45
delete_word
Method · 0.45
backdelete
Method · 0.45
backdelete_word
Method · 0.45
cursor_geometry
Method · 0.45
draw
Method · 0.45
editor_inserts_text_at_end
Function · 0.45
Calls
1
token
Method · 0.45
Tested by
1
editor_inserts_text_at_end
Function · 0.36