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 ();
		}
Пример #2
0
        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());
        }