private void enterEditMode(final int register) {
    requestFocusInWindow();

    caret.setVisible(true);
    editedRegister = register;
    caretPosition = 0;
    editValue = registerModel.getRegisterInformation(register).getValue();
    repaint();
  }
Enters the register edit mode.

@param register The register that is edited.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/JRegisterView/JRegisterView.java