Example #1
0
        public SourceSupervisor(INHamlSource source)
        {
            _source = source;

            IVsHierarchy hierarchy;
            uint itemid;
            IVsTextLines buffer;
            _source.GetDocument(out hierarchy, out itemid, out buffer);
            _path = GetDocumentPath(hierarchy, itemid);
        }
Example #2
0
        public SourceSupervisor(INHamlSource source)
        {
            _source = source;

            IVsHierarchy hierarchy;
            uint         itemid;
            IVsTextLines buffer;

            _source.GetDocument(out hierarchy, out itemid, out buffer);
            _path = GetDocumentPath(hierarchy, itemid);
        }
Example #3
0
 public void OnSourceAssociated(INHamlSource pSource)
 {
     var sourceSupervisor = new SourceSupervisor(pSource);
     pSource.SetSupervisor(sourceSupervisor);
 }
Example #4
0
        public void OnSourceAssociated(INHamlSource pSource)
        {
            var sourceSupervisor = new SourceSupervisor(pSource);

            pSource.SetSupervisor(sourceSupervisor);
        }