public SourceSupervisor(INHamlSource source) { _source = source; IVsHierarchy hierarchy; uint itemid; IVsTextLines buffer; _source.GetDocument(out hierarchy, out itemid, out buffer); _path = GetDocumentPath(hierarchy, itemid); }
public void OnSourceAssociated(INHamlSource pSource) { var sourceSupervisor = new SourceSupervisor(pSource); pSource.SetSupervisor(sourceSupervisor); }