public static IVsTextLines GetTextLines(this IAsyncServiceProvider serviceProvider) { IVsTextView textView = serviceProvider.GetTextView(); if (textView == null) { return(null); } textView.GetBuffer(out IVsTextLines buffer); return(buffer); }
public static IVsTextLines GetTextLines(this IAsyncServiceProvider serviceProvider) { IVsTextView textView = serviceProvider.GetTextView(); if (textView == null) { return(null); } textView.GetBuffer(out IVsTextLines buffer); return(buffer); }