Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused parameter #2124

merged 1 commit into from Aug 18, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -238,7 +238,7 @@ protected override async void OnKeyDown(KeyEventArgs e)
string text = await Application.Current.Clipboard.GetTextAsync();
if (!string.IsNullOrEmpty(text))
e.Handled = OnTextInput(text, true);
e.Handled = OnTextInput(text);
else if (Sb.Length > 0)
@@ -293,18 +293,15 @@ protected override async void OnKeyDown(KeyEventArgs e)

protected override void OnTextInput(TextInputEventArgs e)
var isPaste = e.Text != null && e.Text.Length > 1; // if the ExtendedTextBox right click/Paste is used, OnTextInput will be called directly

e.Handled = OnTextInput(e.Text, isPaste);
e.Handled = OnTextInput(e.Text);

/// <summary>
/// All text input operation (keydown/paste/delete) should call this.
/// </summary>
/// <param name="text"></param>
/// <param name="isPaste"></param>
/// <returns></returns>
private bool OnTextInput(string text, bool isPaste)
private bool OnTextInput(string text)
if (_supressChanges)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.