Show ComboBox List on KeyPress at text location using ICSharpCode.TextEditor
<p>I'm using C# for starters. Now, I need some help showing the ComboBox List on KeyPress. I have it NOW to show the ComboBox at the Cursor Position, but it doesn't work properly. I would like to get it at a specific character position. For example:</p>

<pre><code>this.   -- This will show the ComboBox list.
</code></pre>

<p>Here is my current code:</p>

<pre><code>    private void m_editor_KeyPress(object sender, KeyPressEventArgs e)
    {
        int x, y;
        x = Cursor.Position.X;
        y = Cursor.Position.Y;
        if (e.KeyChar == (char)58)
        {
            _methodBox.Show();
            _methodBox.Location = new Point(x, y);
        }
    }
</code></pre>

<p>If TextEditorControl had</p>

<pre><code>GetPositionFromCharIndex
</code></pre>

<p>It would make everything easier. </p>

<p>Anyway, Help would be appreciated.</p>
