public WordRangeDamager(HtmlEditorControl editorControl, MshtmlEditor mshtmlControl) { _editorControl = editorControl; _mshtmlEditor = mshtmlControl; damageQueue = new DamageRegionQueue(); Reset(); }
public HtmlEditorControlDamageServices(HtmlEditorControl editorControl, MshtmlEditor mshtmlControl, DamageCommitStrategy commitStrategy) { _editorControl = editorControl; _mshtmlControl = mshtmlControl; wordRangeDamager = new WordRangeDamager(editorControl, mshtmlControl); _commitStrategy = commitStrategy; _commitStrategy.CommitDamage += new EventHandler(damageCommitStrategy_CommitDamage); }
public HtmlEditorSelection(MshtmlEditor editor, IHTMLDocument2 document) { _document = document; _editor = editor; MarkupServices = _editor.MshtmlControl.MarkupServices; }