textPane.requestFocus();
origHeight = textPane.getBounds().height;
sectionWidget.designer.setIgnoreKeys(true);
textPane.removeMouseListener(this);
textPane.removeMouseMotionListener(this);
changingEditState = false;
typingCommand = new TypingCommand(this, origHeight);