Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
CyrusNajmabadi committed May 25, 2022
1 parent 5c7386f commit 55d3c68
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -291,7 +291,7 @@ internal void ApplyReplacementText(bool updateSelection = true)
}
}

internal void Disconnect(bool documentIsClosed)
internal void DisconnectAndRollbackEdits(bool documentIsClosed)
{
_session._threadingContext.ThrowIfNotOnUIThread();

Original file line number Diff line number Diff line change
@@ -382,7 +382,7 @@ private void DismissUIAndRollbackEdits()
var isClosed = document == null;

var openBuffer = _openTextBuffers[textBuffer];
openBuffer.Disconnect(isClosed);
openBuffer.DisconnectAndRollbackEdits(isClosed);
}

this.UndoManager.Disconnect();

0 comments on commit 55d3c68

Please sign in to comment.