C# Class Nitra.VisualStudio.NitraVsUtils

Mostra file Open project: rsdn/nitra

Public Properties

Property Type Description
GuidIVxTextBuffer System.Guid
GuidIWpfTextViewHost System.Guid

Public Methods

Method Description
GetBuffer ( this textViewAdapter ) : IVsTextLines
GetFilePath ( this textViewAdapter ) : string
ToITextBuffer ( this vsTextBuffer ) : ITextBuffer
ToITextView ( this vsTextView ) : ITextView
ToIVsTextBuffer ( this textBuffer ) : IVsTextBuffer
ToIWpfTextView ( this vsTextView ) : IWpfTextView
ToVsTextView ( this view ) : IVsTextView

Private Methods

Method Description
GetFilePath ( IPersistFileFormat persistFileFormat ) : string

Method Details

GetBuffer() public static method

public static GetBuffer ( this textViewAdapter ) : IVsTextLines
textViewAdapter this
return IVsTextLines

GetFilePath() public static method

public static GetFilePath ( this textViewAdapter ) : string
textViewAdapter this
return string

ToITextBuffer() public static method

public static ToITextBuffer ( this vsTextBuffer ) : ITextBuffer
vsTextBuffer this
return ITextBuffer

ToITextView() public static method

public static ToITextView ( this vsTextView ) : ITextView
vsTextView this
return ITextView

ToIVsTextBuffer() public static method

public static ToIVsTextBuffer ( this textBuffer ) : IVsTextBuffer
textBuffer this
return IVsTextBuffer

ToIWpfTextView() public static method

public static ToIWpfTextView ( this vsTextView ) : IWpfTextView
vsTextView this
return IWpfTextView

ToVsTextView() public static method

public static ToVsTextView ( this view ) : IVsTextView
view this
return IVsTextView

Property Details

GuidIVxTextBuffer public_oe static_oe property

public static Guid,System GuidIVxTextBuffer
return System.Guid

GuidIWpfTextViewHost public_oe static_oe property

public static Guid,System GuidIWpfTextViewHost
return System.Guid