Skip to content

Commit

Permalink
fix: revert visibility change
Browse files Browse the repository at this point in the history
  • Loading branch information
Kneemund committed Oct 29, 2024
1 parent 23085bd commit 65ebf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/strokes/textstroke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ impl TextStroke {
selection_cursor.set_cursor(0);
}

pub fn get_prev_word_start_index(&self, current_char_index: usize) -> usize {
fn get_prev_word_start_index(&self, current_char_index: usize) -> usize {
for (start_index, _) in self.text.unicode_word_indices().rev() {
if start_index < current_char_index {
return start_index;
Expand Down

0 comments on commit 65ebf89

Please sign in to comment.