Hi, On 1 Feb 2012, at 21:17, Camillo Bruni wrote:
> > On 2012-02-01, at 21:14, Tudor Girba wrote: > >> Hi, >> >> Sounds cool. This is since a long time on the wish-list of Glamour :): >> http://www.moosetechnology.org/tools/glamour/Ideas >> >> Just a question. Does the implementation hardcode opening the browser? It >> would be cool to have it customizable such that it can be used in other >> contexts as well. > > right now I use TextAction which then dispatch over the current editor, so > fairly flexible I'd say. Excellent. This is what I thought as well when I looked at it. This means that you fixed the missing method from the Editor, I guess :). >> Also, I would be interested in getting specific behavior on cmd+click, too. > > my goal would be to get some of the refactoring menus as context menus in > there. Cool. Let me know if you get it done. I would like to integrate this widget in Glamour. Cheers, Doru >> Cheers, >> Doru >> >> >> On 1 Feb 2012, at 20:54, Camillo Bruni wrote: >> >>> hi everyone, >>> >>> Today I hacked the ST80 Styler to support clickable source code links: >>> >>> - clicking on a Class name opens a Browser >>> - clicking on a instVar shows al users of it >>> ... >>> >>> The current limitation is the mouse-handling. Right now I run the actions >>> on normal >>> clicks, not really nice. I wish to only run an action on cmd-click (like in >>> eclipse). >>> >>> However left / middle / right clicks are already handled high up in the >>> morphic tree >>> to generate these mostly useless menues... >>> >>> So I wonder is there a way to only get register for ctrl-click / alt-click >>> / cmd-click? >>> >>> best >>> cami >> >> -- >> www.tudorgirba.com >> >> "What we can governs what we wish." >> >> >> >> > > -- www.tudorgirba.com "From an abstract enough point of view, any two things are similar."
