mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-9516 Wrong current parameter info popup position with caret on indented line
This commit is contained in:
@@ -288,7 +288,8 @@ public class ParameterInfoController implements Disposable {
|
||||
short position = tooltip != null
|
||||
? toShort(tooltip.getPreferredPosition())
|
||||
: HintManager.UNDER;
|
||||
Pair<Point, Short> pos = myProvider.getBestPointPosition(myHint, (PsiElement)elementForUpdating, offset, true, position);
|
||||
Pair<Point, Short> pos = myProvider.getBestPointPosition(myHint, (PsiElement)elementForUpdating,
|
||||
myEditor.getCaretModel().getOffset(), true, position);
|
||||
HintManagerImpl.adjustEditorHintPosition(myHint, myEditor, pos.getFirst(), pos.getSecond());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user