On Monday 06 February 2006 23:54, Neil Hodgson wrote:
> Tom Gersic:
> > However, when these
> > hotspots were clicked, the new text always had some amount of selected
> > text because of mouse-up action was occuring after the page changed. To
> > resolve this problem, I did this:
> >
> > In void Editor::ButtonDown(...) I removed this...
> >
> > if (PointIsHotspot(pt)) {
> > //NotifyHotSpotClicked(newPos, shift, ctrl, alt);
> > }
>
> From an earlier issue on a related subject:
>
> The reason for actioning on button down rather than button
> up is for definition pop-ups which show while the mouse is
> down. I wouldn't object to someone adding a second
> notification on mouse up.
Just a note, "generally" a click is defined as the entire mouse down and mouse
up opperation. Maybe there should actually be:
NotifyHostSpotPressed/NotifyHostSpotReleased and a NotifyHostSpotClicked (as
most gui's have).
> Neil
>
--
Thomas Fjellstrom
[EMAIL PROTECTED]
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest