Source Methods

 

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

NameDescription
System_CAPS_pubmethodBeginParse()

Begins a full parsing operation either in the foreground or the background.

System_CAPS_pubmethodBeginParse(Int32, Int32, TokenInfo^, ParseReason, IVsTextView^, ParseResultHandler^)

Begins a parsing operation with the given token, text view, and parse request handler.

System_CAPS_pubmethodClose()

Determines whether the source file can be closed.

System_CAPS_pubmethodColumnToVisiblePosition(Int32, Int32)

Gets the screen column position corresponding to the specified character offset, taking into account tab size.

System_CAPS_pubmethodCommentBlock(TextSpan, String^, String^)

Comments out a span of source using block comments.

System_CAPS_pubmethodCommentLines(TextSpan, String^)

Comments out a span of source using line comments.

System_CAPS_pubmethodCommentSpan(TextSpan)

Comments out the specified span of source.

System_CAPS_pubmethodCompletion(IVsTextView^, TokenInfo^, ParseReason)

Starts an IntelliSense member completion operation.

System_CAPS_pubmethodCreateAuthoringSink(ParseReason, Int32, Int32)

Creates an instance of an AuthoringSink object for use in parsing operations.

System_CAPS_pubmethodCreateCompletionSet()

Creates a new instance of a CompletionSet class.

System_CAPS_pubmethodCreateErrorTaskItem(TextSpan, MARKERTYPE, String^)

Creates a new error task item for the Error List, for the supplied text, marker type, and file name.

System_CAPS_pubmethodCreateErrorTaskItem(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.

System_CAPS_pubmethodCreateMethodData()

Creates a new instance of a MethodData object that handles the IntelliSense method tip mode.

System_CAPS_pubmethodDismissCompletor()

Removes the IntelliSense method tip or completion list from view, whichever was active.

System_CAPS_pubmethodDispose()

Called in preparation of destroying this Source object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecMarkerCommand(IVsHiddenRegion^, Int32)

Executes the specified command on the specified region.

System_CAPS_protmethodFinalize()

The class destructor, called just before the object is destroyed.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetColorizer()

Gets the colorizer associated with this Source object.

System_CAPS_pubmethodGetCommentFormat()

Gets information on what defines a comment in the language.

System_CAPS_pubmethodGetDocumentSpan()

Gets the span occupied by the entire source file.

System_CAPS_pubmethodGetExpansionProvider()

Gets an expansion provider in support of code snippets.

System_CAPS_pubmethodGetFilePath()

Gets the file name of the source file.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetHiddenTextSession()

Gets the hidden region manager if available.

System_CAPS_pubmethodGetLine(Int32)

Gets the text on the specified line.

System_CAPS_pubmethodGetLineCount()

Gets the number of lines in the source file.

System_CAPS_pubmethodGetLineIndexOfPosition(Int32, Int32, Int32)

Gets the line and column for the specified position.

System_CAPS_pubmethodGetLineLength(Int32)

Gets the length of the specified line.

System_CAPS_pubmethodGetMarkerCommandInfo(IVsHiddenRegion^, Int32, array<String^>^, array<UInt32>^)

Determines which marker commands can be shown on a context menu for the specified hidden region.

System_CAPS_pubmethodGetNewLine(Int32)

Gets the newline character used at the end of the specified line.

System_CAPS_pubmethodGetPairExtents(IVsTextView^, Int32, Int32, TextSpan)

Gets the span between a matching pair of language elements.

System_CAPS_pubmethodGetPairExtents(IVsTextView^, Int32, Int32, TextSpan, TextSpan)

Gets the text spans for a matching pair (or triplet) of language elements.

System_CAPS_pubmethodGetPositionOfLineIndex(Int32, Int32)

Gets the position corresponding to the given line and character offset location.

System_CAPS_pubmethodGetTaskProvider()

Gets the task provider that manages the error tasks.

System_CAPS_pubmethodGetText()

Gets all of the text of the source file.

System_CAPS_pubmethodGetText(Int32, Int32, Int32, Int32)

Gets the text between the specified locations.

System_CAPS_pubmethodGetText(TextSpan)

Gets the text included in the text span.

System_CAPS_pubmethodGetTextLines()

Gets the IVsTextLines object associated with this Source object.

System_CAPS_pubmethodGetTextUpToLine(Int32)

Gets the text from the source up to and including the given line number.

System_CAPS_pubmethodGetTipText(IVsHiddenRegion^, array<String^>^)

Gets the text in the given hidden region to be used in a tool tip.

System_CAPS_pubmethodGetTokenInfo(Int32, Int32)

Gets information about the token at the specified position.

System_CAPS_pubmethodGetTokenInfoAt(array<TokenInfo^>^, Int32, TokenInfo^)

Gets the index of the TokenInfo object that includes the supplied column number.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUserData(Guid)

Gets the user data associated with the specified GUID.

System_CAPS_pubmethodGetWordExtent(Int32, Int32, WORDEXTFLAGS, Int32, Int32)

Gets the span occupied by the word at the specified location.

System_CAPS_pubmethodMakeBaseSpanVisible(IVsHiddenRegion^, array<TextSpan>^)

Ensures that the given span in the given hidden region is visible.

System_CAPS_pubmethodMatchBraces(IVsTextView^, Int32, Int32, TokenInfo^)

Highlights the spans of a pair of language elements, given the position of one of the elements.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMethodTip(IVsTextView^, Int32, Int32, TokenInfo^)

Displays an IntelliSense method tip showing a method's signature as it is entered.

System_CAPS_pubmethodNormalizeNewlines(String^, String^)

Converts the newlines in the specified text to the specified newline.

System_CAPS_pubmethodOnBeforeSessionEnd()

Called just before a hidden region session is closed.

System_CAPS_pubmethodOnChangeLineAttributes(Int32, Int32)

Called when one or more lines' attributes (font, color) have changed.

System_CAPS_pubmethodOnChangeLineText(array<TextLineChange>^, Int32)

Called when a line's text has changed.

System_CAPS_pubmethodOnCommand(IVsTextView^, VSConstants::VSStd2KCmdID, Char)

Handles IntelliSense-oriented commands.

System_CAPS_pubmethodOnHiddenRegionChange(IVsHiddenRegion^, HIDDEN_REGION_EVENT, Int32)

Called when a hidden region has changed.

System_CAPS_pubmethodOnIdle(Boolean)

Called when no other events are being handled.

System_CAPS_pubmethodOnUserDataChange(Guid, Object^)

Called when user data has been changed in a text buffer.

System_CAPS_pubmethodOpen()

Marks the Source object as being open.

System_CAPS_pubmethodProcessHiddenRegions(ArrayList^)

Updates all hidden regions based on the given list of hidden regions.

System_CAPS_pubmethodRecolorize(Int32, Int32)

Updates the syntax highlighting on the specified range of lines.

System_CAPS_pubmethodReformatSpan(EditArray^, TextSpan)

Format the specified span of source.

System_CAPS_pubmethodRegisterTextBufferEventHandlers(IVsTextLines^)

Registers event handlers for the given text.

System_CAPS_pubmethodRemoveHiddenRegions()

Removes all hidden regions from the current view.

System_CAPS_pubmethodRemoveTask(DocumentTask^)

Removes the specified error task from the error Task window.

System_CAPS_pubmethodScanToNonWhitespaceChar(Int32)

Returns the offset of the first non-whitespace character on the given line.

System_CAPS_pubmethodSetText(Int32, Int32, Int32, Int32, String^)

Replaces the specified section of source with the given text.

System_CAPS_pubmethodSetText(String^)

Replaces the source contents with the given text.

System_CAPS_pubmethodSetText(TextSpan, String^)

Replaces the specified span of source with the given text.

System_CAPS_pubmethodSetUserData(Guid, Object^)

Sets the given user data property to the given value.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTrimSpan(TextSpan)

Adjusts the given span to skip leading and trailing whitespace.

System_CAPS_pubmethodUncommentBlock(TextSpan, String^, String^)

Removes comment characters from around the specified span.

System_CAPS_pubmethodUncommentLines(TextSpan, String^)

Removes line comment characters from the beginning of each line in the given span.

System_CAPS_pubmethodUncommentSpan(TextSpan)

Removes any comment characters from the beginning and end of the given span.

System_CAPS_pubmethodVisiblePositionToColumn(Int32, Int32)

Gets the character offset on the given line corresponding to the specified screen column position.

Return to top
Show: