[MonoDevelop] ButtonPress event problem
Lluis Sanchez
lluis at ximian.com
Thu May 3 15:02:26 EDT 2007
El dj 26 de 04 del 2007 a les 22:56 +0100, en/na James Fitzsimons va
escriure:
> Hi Lluis,
>
> On Thu, 2007-04-26 at 13:33 +0200, Lluis Sanchez wrote:
> > El dc 25 de 04 del 2007 a les 23:14 +0100, en/na James Fitzsimons va
> > escriure:
> > > The problem is, the first time you click the OnButtonPressEvent is fired
> > > as seen in the console output, but the line position retrieved via
> > > this.GetLineColumnFromPosition (this.CursorPosition, out line, out
> > > column); in the UpdateMethodBrowser method doesn't change.
> >
> > Maybe that's because the cursor is updated after firing this event. What
> > about overriding OnButtonRelease event instead?
>
> Doh, combination of stupidity and working late at night I guess. Luckily
> there are people like you to point out the obvious to me!
>
> I've attached a small patch that adds updates the method combo on mouse
> click
Patch applied, thanks!
> (it also adds my original change log entry back in which seems to
> have gone AWOL).
There is a ChangeLog file for every assembly. You were updating the
wrong ChangeLog file. I added your entries to the
MonoDevelop.SourceEditor ChangeLog file.
Lluis.
More information about the Monodevelop-list
mailing list