mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update cell selection rectangle on enter
This commit is contained in:
@@ -282,6 +282,7 @@ public class IpnbFilePanel extends JPanel implements Scrollable, DataProvider {
|
||||
if (mySelectedCell != null && e.getID() == KeyEvent.KEY_PRESSED) {
|
||||
if (e.getKeyCode() == KeyEvent.VK_ENTER) {
|
||||
mySelectedCell.switchToEditing();
|
||||
repaint();
|
||||
}
|
||||
int index = myIpnbPanels.indexOf(mySelectedCell);
|
||||
final Rectangle rect = getVisibleRect();
|
||||
|
||||
Reference in New Issue
Block a user