protected override TextLineCollection GetLinesCore () { var textDoc = doc as IReadonlyTextDocument; if (textDoc != null) { if (wrapper == null) wrapper = new TextLineCollectionWrapper (this, textDoc); return wrapper; } return base.GetLinesCore (); }
protected override TextLineCollection GetLinesCore() { var textDoc = doc as IReadonlyTextDocument; if (textDoc != null) { if (wrapper == null) { wrapper = new TextLineCollectionWrapper(this, textDoc); } return(wrapper); } return(base.GetLinesCore()); }