Support unicode charaters in
This commit is contained in:
1 parent
c14ec06ff6
commit
dee10c2f21
1 file changed
+1
-1
@@ -52,7 +52,7 @@ pub struct SelectionRange {
|
||||
}
|
||||
|
||||
fn is_double_click_word(s: &str) -> bool {
|
||||
match s.len() {
|
||||
match s.chars().count() {
|
||||
1 => !config::configuration().selection_word_boundary.contains(s),
|
||||
0 => false,
|
||||
_ => true,
|
||||
|
||||
Reference in new issue
Block a user