mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 10:12:34 -05:00
Merge from vscode 61d5f2b82f17bf9f99f56405204caab88a7e8747
This commit is contained in:
@@ -384,6 +384,11 @@ export class TextModel extends Disposable implements model.ITextModel {
|
||||
return this._buffer.equals(other);
|
||||
}
|
||||
|
||||
public getTextBuffer(): model.ITextBuffer {
|
||||
this._assertNotDisposed();
|
||||
return this._buffer;
|
||||
}
|
||||
|
||||
private _emitContentChangedEvent(rawChange: ModelRawContentChangedEvent, change: IModelContentChangedEvent): void {
|
||||
if (this._isDisposing) {
|
||||
// Do not confuse listeners by emitting any event after disposing
|
||||
|
||||
Reference in New Issue
Block a user