IDEA-99724 Wrong text selection on doubleclick

This commit is contained in:
Denis.Zhdanov
2013-01-31 19:32:11 +04:00
parent cfb15f3f38
commit 98949ba96c
@@ -31,7 +31,9 @@ import java.util.List;
import java.util.Set;
public class NaturalLanguageTextSelectioner extends ExtendWordSelectionHandlerBase {
private static final Set<Character> NATURAL = ContainerUtil.newTroveSet('(', ')', '.', ',', ':', ';', '!', '?', '$', '@', '%', '\"', '\'', '<', '>', '[', ']');
private static final Set<Character> NATURAL = ContainerUtil.newTroveSet(
'(', ')', '.', ',', ':', ';', '!', '?', '$', '@', '%', '\"', '\'', '<', '>', '[', ']', '_'
);
private static final Set<Character> SENTENCE_END = ContainerUtil.newTroveSet('.', '!', '?');
@Override