Removed RenameRefactor custom mouseClicked logic (redundant)

This commit is contained in:
bigguy345 committed 2025-12-21 12:28:45 +02:00
1 parent 9de9e799d5
commit 6b40cbb367
1 file changed
+1 -12
@@ -859,18 +859,7 @@ public class RenameRefactorHandler {
public boolean handleClick(int clickPosInText) {
if (!active || callback == null)
return false;
// Check if click is within the primary occurrence bounds
if (clickPosInText >= primaryOccurrenceStart &&
clickPosInText <= primaryOccurrenceEnd) {
// Set cursor position in the text and clear selection
callback.setCursorPosition(clickPosInText);
callback.getSelectionState().setSelection(-1, -1); // Clear selection
callback.getSelectionState().markActivity();
return true;
}
return false;
}