mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-14310 IPython Notebook: active cell green selection is not updated on selecting code inside the cell
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ public class IpnbCodeSourcePanel extends IpnbPanel<JComponent, IpnbCodeCell> imp
|
||||
|
||||
contentComponent.addMouseListener(new MouseAdapter() {
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
public void mousePressed(MouseEvent e) {
|
||||
if (InputEvent.CTRL_DOWN_MASK == e.getModifiersEx()) return;
|
||||
final Container ipnbFilePanel = myParent.getParent();
|
||||
if (ipnbFilePanel instanceof IpnbFilePanel) {
|
||||
|
||||
Reference in New Issue
Block a user