[lang] SelectWordHandler: prefer element on the left if we are at the end of existing selection

Fixes IDEA-339055 `Extend selection` doesn't select qualifier of string templates properly

GitOrigin-RevId: 5008dfa9a1f448feda4c588362bde4e16fe6a810
This commit is contained in:
Tagir Valeev
2023-12-12 13:24:44 +01:00
committed by intellij-monorepo-bot
parent e663f8c86f
commit c419f8d3cc
4 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class Test {
void test() {
int i = 1;
String sql = STR.<selection>"""
select * from customer \{i}
"""<caret></selection>;
}
}