jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
967 stars 245 forks source link

Question: What event to use to detect mouse move? #505

Closed egkareem closed 3 years ago

egkareem commented 3 years ago

In the demo project, I am trying to capture mouse move to display current line number and column number. What event can I use? None of the events below fire:

private void TextPanel_MouseMove(object sender, MouseEventArgs e)
        {

        }

        private void MainForm_MouseMove(object sender, MouseEventArgs e)
        {

        }

        private void TextPanel_MouseDown(object sender, MouseEventArgs e)
        {

        }

Thanks.

Deepchand-Calmove commented 3 years ago

private void Scintilla1_MouseMove(object sender, MouseEventArgs e) { }

Where Scintilla1 is textbox kind of control from ScintillaNET. Hope it helps you.

egkareem commented 3 years ago

Thank you. Many events are not firing in the demo...I will study it more. For now consider this answered. Thanks much.