EditPoint Members

Include Protected Members
Include Inherited Members

Allows you to manipulate text as data in text buffers.

The EditPoint type exposes the following members.

Methods

 

Name

Description

Public method

ChangeCase

Changes the case of the selected text.

Public method

CharLeft

Moves the edit point the specified number of characters to the left.

Public method

CharRight

Moves the edit point the specified number of characters to the right.

Public method

ClearBookmark

Clears any unnamed bookmarks in the current text buffer line.

Public method

Copy

Copies the specified range of text to the clipboard.

Public method

CreateEditPoint

Overloaded.

Public method

Cut

Copies the specified range of text to the clipboard and deletes it from the document.

Public method

Delete

Deletes the specified range of text.

Public method

DeleteWhitespace

Deletes the empty characters (white space) horizontally or vertically around the current location in the text buffer.

Public method

EndOfDocument

Moves the edit point to the end of the document.

Public method

EndOfLine

Moves the edit point to the end of the current line in the buffer.

Public method

EqualTo

Overloaded.

Public method

FindPattern

Finds a given matching pattern in the selected text.

Public method

GetLines

Gets a string representing the text between two given lines.

Public method

GetText

Gets the text between the current location and the specified location in the buffer.

Public method

GreaterThan

Overloaded.

Public method

Indent

Indents the selected lines by the given number of indentation levels.

Public method

Insert

Inserts the given string at the edit point's current position in the buffer.

Public method

InsertFromFile

Inserts the contents of the specified file at the current location in the buffer.

Public method

LessThan

Overloaded.

Public method

LineDown

Moves the edit point down the specified number of lines.

Public method

LineUp

Moves the edit point up the specified number of lines.

Public method

MoveToAbsoluteOffset

Moves the active point to the given 1-based absolute character offset.

Public method

MoveToLineAndOffset

Moves the document to the specified line and character offset position in that line.

Public method

MoveToPoint

Moves the active point to the given position.

Public method

NextBookmark

Moves to the location of the next bookmark in the document.

Public method

OutlineSection

Creates an outlining section based on an edit point and the given text point or value.

Public method

PadToColumn

Fills the current line in the buffer with empty characters (white space) to the given column.

Public method

Paste

Inserts the clipboard contents at the current location.

Public method

PreviousBookmark

Moves the edit point to the location of the previous bookmark in the document.

Public method

ReadOnly

Returns a value indicating whether any of the specified range contains read-only text.

Public method

ReplacePattern

Finds a pattern in the specified range of text and replaces it with the specified text.

Public method

ReplaceText

Replaces the selected text with the given text.

Public method

SetBookmark

Sets an unnamed bookmark on the current line in the buffer.

Public method

SmartFormat

Formats the specified range of text based on the current language.

Public method

StartOfDocument

Moves the object to the beginning of the document.

Public method

StartOfLine

Moves the edit point to the beginning of the current line in the buffer.

Public method

TryToShow

Overloaded.

Public method

Unindent

Removes the indent characters from the selected lines by the given number of indentation levels.

Public method

WordLeft

Moves the object the specified number of words to the left.

Public method

WordRight

Moves the object the specified number of words to the right.

Top

Properties

 

Name

Description

Public property

AbsoluteCharOffset

Overloaded.

Public property

AtEndOfDocument

Overloaded.

Public property

AtEndOfLine

Overloaded.

Public property

AtStartOfDocument

Overloaded.

Public property

AtStartOfLine

Overloaded.

Public property

CodeElement

Overloaded.

Public property

DisplayColumn

Overloaded.

Public property

DTE

Overloaded.

Public property

Line

Overloaded.

Public property

LineCharOffset

Overloaded.

Public property

LineLength

Overloaded.

Public property

Parent

Overloaded.

Top

See Also

Reference

EditPoint Interface

EnvDTE Namespace