Source Methods
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | BeginParse() | Begins a full parsing operation either in the foreground or the background. |
![]() | BeginParse(Int32, Int32, TokenInfo^, ParseReason, IVsTextView^, ParseResultHandler^) | Begins a parsing operation with the given token, text view, and parse request handler. |
![]() | Close() | Determines whether the source file can be closed. |
![]() | ColumnToVisiblePosition(Int32, Int32) | Gets the screen column position corresponding to the specified character offset, taking into account tab size. |
![]() | CommentBlock(TextSpan, String^, String^) | Comments out a span of source using block comments. |
![]() | CommentLines(TextSpan, String^) | Comments out a span of source using line comments. |
![]() | CommentSpan(TextSpan) | Comments out the specified span of source. |
![]() | Completion(IVsTextView^, TokenInfo^, ParseReason) | Starts an IntelliSense member completion operation. |
![]() | CreateAuthoringSink(ParseReason, Int32, Int32) | Creates an instance of an AuthoringSink object for use in parsing operations. |
![]() | CreateCompletionSet() | Creates a new instance of a CompletionSet class. |
![]() | CreateErrorTaskItem(TextSpan, MARKERTYPE, String^) | Creates a new error task item for the Error List, for the supplied text, marker type, and file name. |
![]() | CreateErrorTaskItem(TextSpan, String^, String^, TaskPriority, TaskCategory, MARKERTYPE, TaskErrorCategory) | Creates a new error task item for the Error List, for the supplied text, file name, message, priority, category, marker type, and error type. |
![]() | CreateMethodData() | Creates a new instance of a MethodData object that handles the IntelliSense method tip mode. |
![]() | DismissCompletor() | Removes the IntelliSense method tip or completion list from view, whichever was active. |
![]() | Dispose() | Called in preparation of destroying this Source object. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecMarkerCommand(IVsHiddenRegion^, Int32) | Executes the specified command on the specified region. |
![]() | Finalize() | The class destructor, called just before the object is destroyed.(Overrides Object::Finalize().) |
![]() | GetColorizer() | Gets the colorizer associated with this Source object. |
![]() | GetCommentFormat() | Gets information on what defines a comment in the language. |
![]() | GetDocumentSpan() | Gets the span occupied by the entire source file. |
![]() | GetExpansionProvider() | Gets an expansion provider in support of code snippets. |
![]() | GetFilePath() | Gets the file name of the source file. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetHiddenTextSession() | Gets the hidden region manager if available. |
![]() | GetLine(Int32) | Gets the text on the specified line. |
![]() | GetLineCount() | Gets the number of lines in the source file. |
![]() | GetLineIndexOfPosition(Int32, Int32, Int32) | Gets the line and column for the specified position. |
![]() | GetLineLength(Int32) | Gets the length of the specified line. |
![]() | GetMarkerCommandInfo(IVsHiddenRegion^, Int32, array<String^>^, array<UInt32>^) | Determines which marker commands can be shown on a context menu for the specified hidden region. |
![]() | GetNewLine(Int32) | Gets the newline character used at the end of the specified line. |
![]() | GetPairExtents(IVsTextView^, Int32, Int32, TextSpan) | Gets the span between a matching pair of language elements. |
![]() | GetPairExtents(IVsTextView^, Int32, Int32, TextSpan, TextSpan) | Gets the text spans for a matching pair (or triplet) of language elements. |
![]() | GetPositionOfLineIndex(Int32, Int32) | Gets the position corresponding to the given line and character offset location. |
![]() | GetTaskProvider() | Gets the task provider that manages the error tasks. |
![]() | GetText() | Gets all of the text of the source file. |
![]() | GetText(Int32, Int32, Int32, Int32) | Gets the text between the specified locations. |
![]() | GetText(TextSpan) | Gets the text included in the text span. |
![]() | GetTextLines() | Gets the IVsTextLines object associated with this Source object. |
![]() | GetTextUpToLine(Int32) | Gets the text from the source up to and including the given line number. |
![]() | GetTipText(IVsHiddenRegion^, array<String^>^) | Gets the text in the given hidden region to be used in a tool tip. |
![]() | GetTokenInfo(Int32, Int32) | Gets information about the token at the specified position. |
![]() | GetTokenInfoAt(array<TokenInfo^>^, Int32, TokenInfo^) | Gets the index of the TokenInfo object that includes the supplied column number. |
![]() | GetType() | (Inherited from Object.) |
![]() | GetUserData(Guid) | Gets the user data associated with the specified GUID. |
![]() | GetWordExtent(Int32, Int32, WORDEXTFLAGS, Int32, Int32) | Gets the span occupied by the word at the specified location. |
![]() | MakeBaseSpanVisible(IVsHiddenRegion^, array<TextSpan>^) | Ensures that the given span in the given hidden region is visible. |
![]() | MatchBraces(IVsTextView^, Int32, Int32, TokenInfo^) | Highlights the spans of a pair of language elements, given the position of one of the elements. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MethodTip(IVsTextView^, Int32, Int32, TokenInfo^) | Displays an IntelliSense method tip showing a method's signature as it is entered. |
![]() | NormalizeNewlines(String^, String^) | Converts the newlines in the specified text to the specified newline. |
![]() | OnBeforeSessionEnd() | Called just before a hidden region session is closed. |
![]() | OnChangeLineAttributes(Int32, Int32) | Called when one or more lines' attributes (font, color) have changed. |
![]() | OnChangeLineText(array<TextLineChange>^, Int32) | Called when a line's text has changed. |
![]() | OnCommand(IVsTextView^, VSConstants::VSStd2KCmdID, Char) | Handles IntelliSense-oriented commands. |
![]() | OnHiddenRegionChange(IVsHiddenRegion^, HIDDEN_REGION_EVENT, Int32) | Called when a hidden region has changed. |
![]() | OnIdle(Boolean) | Called when no other events are being handled. |
![]() | OnUserDataChange(Guid, Object^) | Called when user data has been changed in a text buffer. |
![]() | Open() | Marks the Source object as being open. |
![]() | ProcessHiddenRegions(ArrayList^) | Updates all hidden regions based on the given list of hidden regions. |
![]() | Recolorize(Int32, Int32) | Updates the syntax highlighting on the specified range of lines. |
![]() | ReformatSpan(EditArray^, TextSpan) | Format the specified span of source. |
![]() | RegisterTextBufferEventHandlers(IVsTextLines^) | Registers event handlers for the given text. |
![]() | RemoveHiddenRegions() | Removes all hidden regions from the current view. |
![]() | RemoveTask(DocumentTask^) | Removes the specified error task from the error Task window. |
![]() | ScanToNonWhitespaceChar(Int32) | Returns the offset of the first non-whitespace character on the given line. |
![]() | SetText(Int32, Int32, Int32, Int32, String^) | Replaces the specified section of source with the given text. |
![]() | SetText(String^) | Replaces the source contents with the given text. |
![]() | SetText(TextSpan, String^) | Replaces the specified span of source with the given text. |
![]() | SetUserData(Guid, Object^) | Sets the given user data property to the given value. |
![]() | ToString() | (Inherited from Object.) |
![]() | TrimSpan(TextSpan) | Adjusts the given span to skip leading and trailing whitespace. |
![]() | UncommentBlock(TextSpan, String^, String^) | Removes comment characters from around the specified span. |
![]() | UncommentLines(TextSpan, String^) | Removes line comment characters from the beginning of each line in the given span. |
![]() | UncommentSpan(TextSpan) | Removes any comment characters from the beginning and end of the given span. |
![]() | VisiblePositionToColumn(Int32, Int32) | Gets the character offset on the given line corresponding to the specified screen column position. |

