1
0
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:
rmaddy 2003-05-04 17:40:22 +00:00
parent 3e6b0da031
commit 160da9637b

View File

@ -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);
}