mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-139337 Debugger: evaluated field is shifted to the left in editor when inspecting object values with Alt+Click
This commit is contained in:
+1
-1
@@ -605,7 +605,7 @@ public class InjectedLanguageUtil {
|
||||
PsiLanguageInjectionHost.Shred shred = places.get(0);
|
||||
PsiLanguageInjectionHost host = shred.getHost();
|
||||
assert host != null;
|
||||
return shred.getRangeInsideHost().getStartOffset() + host.getTextOffset();
|
||||
return shred.getRangeInsideHost().getStartOffset() + host.getTextRange().getStartOffset();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user