private EventHandler<AnchorClickedEventArgs> textEditorAnchorClickedEventHandler;
private AnchorClickedCallbackDelegate textEditorAnchorClickedCallbackDelegate;
- private EventHandler<SelectionChangedEventArgs> textEditorSelectionChangedEventHandler;
+ private EventHandler<TextSelectionChangedEventArgs> textEditorSelectionChangedEventHandler;
private SelectionChangedCallbackDelegate textEditorSelectionChangedCallbackDelegate;
private EventHandler<InputFilteredEventArgs> textEditorInputFilteredEventHandler;
/// </summary>
/// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public event EventHandler<SelectionChangedEventArgs> SelectionChanged
+ public event EventHandler<TextSelectionChangedEventArgs> SelectionChanged
{
add
{
{
if (textEditorSelectionChangedEventHandler != null)
{
- SelectionChangedEventArgs e = new SelectionChangedEventArgs();
+ TextSelectionChangedEventArgs e = new TextSelectionChangedEventArgs();
- // Populate all members of "e" (SelectionChangedEventArgs) with real data
+ // Populate all members of "e" (TextSelectionChangedEventArgs) with real data
e.OldSelectionStart = oldStart;
e.OldSelectionEnd = oldEnd;
/// </summary>
/// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public class SelectionChangedEventArgs : EventArgs
+ public class TextSelectionChangedEventArgs : EventArgs
{
/// <summary>
/// selection start before the change.
private EventHandler<AnchorClickedEventArgs> textFieldAnchorClickedEventHandler;
private AnchorClickedCallbackDelegate textFieldAnchorClickedCallbackDelegate;
- private EventHandler<SelectionChangedEventArgs> textFieldSelectionChangedEventHandler;
+ private EventHandler<TextSelectionChangedEventArgs> textFieldSelectionChangedEventHandler;
private SelectionChangedCallbackDelegate textFieldSelectionChangedCallbackDelegate;
private EventHandler<InputFilteredEventArgs> textFieldInputFilteredEventHandler;
/// </summary>
/// This will be public opened after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public event EventHandler<SelectionChangedEventArgs> SelectionChanged
+ public event EventHandler<TextSelectionChangedEventArgs> SelectionChanged
{
add
{
{
if (textFieldSelectionChangedEventHandler != null)
{
- SelectionChangedEventArgs e = new SelectionChangedEventArgs();
+ TextSelectionChangedEventArgs e = new TextSelectionChangedEventArgs();
- // Populate all members of "e" (SelectionChangedEventArgs) with real data
+ // Populate all members of "e" (TextSelectionChangedEventArgs) with real data
e.OldSelectionStart = oldStart;
e.OldSelectionEnd = oldEnd;