CaretPositionChangedEventArgs(ITextView, CaretPosition, CaretPosition) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CaretPositionChangedEventArgs.
public:
CaretPositionChangedEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::Editor::CaretPosition oldPosition, Microsoft::VisualStudio::Text::Editor::CaretPosition newPosition);
CaretPositionChangedEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Text::Editor::CaretPosition oldPosition, Microsoft::VisualStudio::Text::Editor::CaretPosition newPosition);
public CaretPositionChangedEventArgs (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.Editor.CaretPosition oldPosition, Microsoft.VisualStudio.Text.Editor.CaretPosition newPosition);
new Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.Editor.CaretPosition * Microsoft.VisualStudio.Text.Editor.CaretPosition -> Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs
Public Sub New (textView As ITextView, oldPosition As CaretPosition, newPosition As CaretPosition)
Parameters
- oldPosition
- CaretPosition
The old CaretPosition.
- newPosition
- CaretPosition
The new CaretPosition.