@@ -26,7 +26,7 @@ public static class IVsTextViewExtensions
2626 /// Converts an <see cref="IVsTextView"/> to a <see cref="DocumentView"/>.
2727 /// </summary>
2828 /// <returns><see langword="null"/> if the textView is null or the conversion failed.</returns>
29- internal static DocumentView ToDocumentView ( this IVsTextView textView )
29+ public static DocumentView ToDocumentView ( this IVsTextView textView )
3030 {
3131 if ( textView == null || textView is not IVsTextViewEx nativeView )
3232 {
@@ -62,7 +62,7 @@ internal static DocumentView ToDocumentView(this IVsTextView textView)
6262 /// Converts an <see cref="IWpfTextView"/> to a <see cref="DocumentView"/>.
6363 /// </summary>
6464 /// <returns><see langword="null"/> if the textView is null or the conversion failed.</returns>
65- internal static DocumentView ToDocumentView ( this IWpfTextView textView )
65+ public static DocumentView ToDocumentView ( this IWpfTextView textView )
6666 {
6767 ThreadHelper . ThrowIfNotOnUIThread ( ) ;
6868 IVsTextView ? nativeView = textView . ToIVsTextView ( ) ;
@@ -89,7 +89,7 @@ internal static DocumentView ToDocumentView(this IWpfTextView textView)
8989 /// Converts the <see cref="IVsTextView"/> to an <see cref="IWpfTextView"/>/
9090 /// </summary>
9191 /// <returns></returns>
92- internal static IWpfTextView ? ToIWpfTextView ( this IVsTextView nativeView )
92+ public static IWpfTextView ? ToIWpfTextView ( this IVsTextView nativeView )
9393 {
9494 ThreadHelper . ThrowIfNotOnUIThread ( ) ;
9595 IVsEditorAdaptersFactoryService ? editorAdapter = VS . GetMefService < IVsEditorAdaptersFactoryService > ( ) ;
@@ -110,7 +110,7 @@ internal static DocumentView ToDocumentView(this IWpfTextView textView)
110110 /// Converts the <see cref="IVsTextView"/> to an <see cref="IWpfTextView"/>/
111111 /// </summary>
112112 /// <returns></returns>
113- internal static IVsTextView ? ToIVsTextView ( this IWpfTextView view )
113+ public static IVsTextView ? ToIVsTextView ( this IWpfTextView view )
114114 {
115115 ThreadHelper . ThrowIfNotOnUIThread ( ) ;
116116 IVsEditorAdaptersFactoryService ? editorAdapter = VS . GetMefService < IVsEditorAdaptersFactoryService > ( ) ;
0 commit comments