fixed PY-14310 IPython Notebook: active cell green selection is not updated on selecting code inside the cell

This commit is contained in:
Ekaterina Tuzova
2014-11-13 13:28:22 +03:00
parent aee94cd3b8
commit 40de4225b0
@@ -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) {