This project is read-only.

MouseClick events after V2.52 not raised


When I upgraded the ScintillaNET assembly from 2.52 to 2.60 the method Scintilla1.MouseClick handler does receive the mouse click anymore.
To recreate the issue I created an new Windows Form project with a Scintilla control in the middle of the form.

Added 3 methods to Form1 Class
    Public Sub New()

        ' This call is required by the designer.

        ' Add any initialization after the InitializeComponent() call.
    End Sub

    Private Sub Form1_MouseClick(sender As Object, e As EventArgs) Handles MyBase.MouseClick
    End Sub

     Private Sub Scintilla1_MouseClick(sender As Object, e As MouseEventArgs) Handles Scintilla1.MouseClick
    End Sub
 End Class
When the reference was set the version - Runtime Version v2.0.50727 both event were recordered as shown in de Immediate window by clicking first next to Scintilla Text Control and thereafter on the control.
When the reference set to the Windows Forms Scintilla Text Editor Control version Version runtime time version v2.0.50727 the same procedure results only in
Did I overlook something (my bug) or is the event not raised in ScintillaNET v2.6.0.0?


BodoWitcha wrote Dec 19, 2014 at 12:08 PM

I found a solution for the issue of my project. The MouseDown event triggers correctly.