public override void VisitIMetaBlock(IMetaDeclarationBlock block) { if (PushSelectionRange(block)) { base.VisitIMetaBlock(block); } }
public override void VisitIMetaBlock(IMetaDeclarationBlock mdb) { _resultRanges.Add(new FoldingRange { StartLine = mdb.BlockStartLocation.Line - 1, StartCharacter = mdb.BlockStartLocation.Column - 1, EndLine = mdb.EndLocation.Line - 1, EndCharacter = mdb.EndLocation.Column - 1, Kind = FoldingRangeKind.Region }); }
public virtual void VisitMetaBlock(IMetaDeclarationBlock block) { }
public virtual void VisitIMetaBlock(IMetaDeclarationBlock block) { }
public override void VisitIMetaBlock(IMetaDeclarationBlock mdb) { l.Add(new FoldingRegion( new DomRegion(mdb.BlockStartLocation.Line, mdb.BlockStartLocation.Column, mdb.EndLocation.Line, mdb.EndLocation.Column), FoldType.ConditionalDefine)); }
public override void VisitIMetaBlock(IMetaDeclarationBlock mdb) { l.Add(new FoldingRegion( new DomRegion(mdb.BlockStartLocation.Line, mdb.BlockStartLocation.Column, mdb.EndLocation.Line, mdb.EndLocation.Column), FoldType.ConditionalDefine)); }