public UnregisterSourceFile ( TextEditor editor, ISourceFile file ) : void | ||
editor | TextEditor | |
file | ISourceFile | |
return | void |
public void UnregisterSourceFile(TextEditor editor, ISourceFile file)
{
var association = GetAssociatedData(file);
editor.RemoveHandler(InputElement.KeyUpEvent, association.KeyUpHandler);
association.Solution = null;
dataAssociations.Remove(file);
}