mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
console: do not activate link on mouse release (IDEA-90767)
This commit is contained in:
@@ -70,7 +70,8 @@ public class EditorHyperlinkSupport {
|
||||
myHighlighters = new SmartList<RangeHighlighter>();
|
||||
|
||||
editor.addEditorMouseListener(new EditorMouseAdapter() {
|
||||
public void mouseReleased(final EditorMouseEvent e) {
|
||||
@Override
|
||||
public void mouseClicked(EditorMouseEvent e) {
|
||||
final MouseEvent mouseEvent = e.getMouseEvent();
|
||||
if (mouseEvent.getButton() == MouseEvent.BUTTON1 && !mouseEvent.isPopupTrigger()) {
|
||||
LogicalPosition logical = myEditor.xyToLogicalPosition(e.getMouseEvent().getPoint());
|
||||
|
||||
Reference in New Issue
Block a user