Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 871078d

Browse files
fix #528: Code completion doesn't scroll to pre-selection
1 parent 09e8eac commit 871078d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit/CodeCompletion/CompletionList.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ public ICompletionData SelectedItem {
200200
if (listBox == null && value != null)
201201
ApplyTemplate();
202202
listBox.SelectedItem = value;
203+
listBox.ScrollIntoView(value);
203204
}
204205
}
205206

0 commit comments

Comments
 (0)