mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-04-16 02:15:43 +02:00
findWordUnderCursor didn't include last char of word
This commit is contained in:
parent
3e6b0da031
commit
160da9637b
@ -241,7 +241,7 @@ public class SearchHelper
|
||||
return null;
|
||||
}
|
||||
|
||||
int end = findNextWordEnd(chars, start, stop, 1, false);
|
||||
int end = findNextWordEnd(chars, start, stop, 1, false) + 1;
|
||||
|
||||
return new TextRange(start, end);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user