@RequiresEdt
  protected void restoreChangeState(@NotNull S state) {
    setLineStart(state.myIndex, state.myStartLine);
    setLineEnd(state.myIndex, state.myEndLine);
  }
@RequiresEdt
  protected void restoreChangeState(@NotNull S state)