bug fix #573
This commit is contained in:
parent
9bb01015cc
commit
b410ffc0e7
|
|
@ -231,6 +231,11 @@ namespace ICSharpCode.TextEditor.Gui.CompletionWindow
|
|||
return base.ProcessKeyEvent(ch);
|
||||
case CompletionDataProviderKeyResult.NormalKey:
|
||||
// just process normally
|
||||
if (ch == '_')
|
||||
{
|
||||
Close();
|
||||
return true;
|
||||
}
|
||||
return base.ProcessKeyEvent(ch);
|
||||
case CompletionDataProviderKeyResult.InsertionKey:
|
||||
return InsertSelectedItem(ch);
|
||||
|
|
@ -252,12 +257,6 @@ namespace ICSharpCode.TextEditor.Gui.CompletionWindow
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* int xpos = textArea.TextView.GetDrawingXPos(this.line, this.column);
|
||||
return new Point(textArea.TextView.DrawingPosition.X + xpos,
|
||||
textArea.TextView.DrawingPosition.Y
|
||||
+ (textArea.Document.GetVisibleLine(this.line)) * textArea.TextView.FontHeight
|
||||
- textArea.TextView.TextArea.VirtualTop.Y);*/
|
||||
|
||||
void fiexerrorTextAreaInvalidate()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue