private void cmbFunctions_SelectedIndexChanged(object sender, EventArgs e)
{
if (_allowZoomToFunction)
{
ScriptFunction func = FindFunctionInAutocompleteData(cmbFunctions.SelectedItem.ToString());
if (func != null)
{
scintilla.GoToPosition(func.StartsAtCharacterIndex);
scintilla.SelectCurrentLine();
}
else
{
scintilla.GoToPosition(0);
}
scintilla.Focus();
}
}