FormatCommenter Methods |
The FormatCommenter type exposes the following members.
Name | Description | |
---|---|---|
CommentBlock |
Comment out a span of text using the specified block comment format. If the span is
empty, the entire line containing the span's start point is commented.
| |
CommentLines |
Comment out a span using a particular line comment format. If the span is empty, the
entire line containing the span's start point is commented.
| |
CommentSpan |
Comment out the code in a single VirtualSnapshotSpan.
| |
CommentSpans |
Comments out spans of code.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ScanToNonWhitespaceChar |
Gets the index of the first non-whitespace character on a line, or the length of the line if the line is
empty or only contains whitespace.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrimSpan |
Update the specified span to not include any leading or trailing whitespace characters.
| |
TryUncommentBlock(VirtualSnapshotSpan, ITextEdit, ReadOnlyCollectionBlockCommentFormat, VirtualSnapshotSpan) |
Attempt to uncomment a span of text using any of a collection of block comment formats.
| |
TryUncommentBlock(VirtualSnapshotSpan, ITextEdit, BlockCommentFormat, VirtualSnapshotSpan) |
Attempt to uncomment a span of text using a particular block comment format.
| |
TryUncommentLines |
Attempt to uncomment a span of text using any of a collection of line comment formats.
| |
UncommentSpan |
Uncomment the span of text.
| |
UncommentSpans |
Uncomments spans of code.
|