> When I release the mouse, portions of the Scintilla text become
> selected, even though I've not issued any commands to select that text
> range. I tried forcing no selection, but the selection still occurs.
If you are intercepting the mouse down then you probably need to
intercept the mouse up.
Neil
> My processing is in the SCN_HOTSPOTCLICK event. I noticed that the
> code in that event is executed after I press the mouse, then when I
> release the mouse the unexpected selection takes place.
Seems like I ran into something similar to this with FXiTe's help system,
but the problem was that jumping to a different part of the document when
a hotspot was clicked caused an (unwanted) selection to be created.
The solution for me was to move the "problem" code into a separate mouse-up
function that would run conditionally, depending on the status of a flag that
was set by the SCN_HOTSPOTCLICK event.
- Jeff
Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To post to this group, send email to scintilla...@googlegroups.com.
To unsubscribe from this group, send email to scintilla-inter...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en.
For what its worth, I have several times seen a possibly similar bug
affect the output pane of the current version of SciTE. I will try to
pay more attention next time it occurs to see if I can define the
steps to reproduce it.