code: @Override
      public void doExecute() {
          if (!getEditor().isReadOnly()) {
              deleted = getEditor().delete().charAt(0);
              getEditor().put(replace);
              getEditor().moveLeft(replace.length());
          }
      }
docs: Executes the {@link org.jledit.command.Command}.