Browse Source

ContextActionsRenderer: increase delay to 500ms to improve performance when typing in large files.

pull/14/head
Daniel Grunwald 15 years ago
parent
commit
7f0d78b734
  1. 2
      src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/ContextActionsRenderer.cs

2
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/ContextActionsRenderer.cs

@ -31,7 +31,7 @@ namespace ICSharpCode.AvalonEdit.AddIn
/// Delays the available actions resolution so that it does not get called too often when user holds an arrow. /// Delays the available actions resolution so that it does not get called too often when user holds an arrow.
/// </summary> /// </summary>
DispatcherTimer delayMoveTimer; DispatcherTimer delayMoveTimer;
const int delayMoveMilliseconds = 100; const int delayMoveMilliseconds = 500;
public bool IsEnabled public bool IsEnabled
{ {

Loading…
Cancel
Save