MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / reset_blink

Method reset_blink

src/text_input.rs:356–358  ·  view source on GitHub ↗

Reset blink timer so cursor is immediately visible.

(&mut self)

Source from the content-addressed store, hash-verified

354
355 /// Reset blink timer so cursor is immediately visible.
356 pub fn reset_blink(&mut self) {
357 self.cursor_blink_timer = 0.0;
358 }
359
360 /// Returns whether the cursor should be visible based on blink timer.
361 pub fn cursor_visible(&self) -> bool {

Callers 15

set_text_valueMethod · 0.80
set_cursor_posMethod · 0.80
set_selectionMethod · 0.80
insert_textMethod · 0.80
move_leftMethod · 0.80
move_rightMethod · 0.80
move_word_leftMethod · 0.80
move_word_rightMethod · 0.80
move_homeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected