I found that the FIF in the context menu on Win7 did not seem work in the same way as FIF with Shift-Click.
Shift-Click seems to invoke FIF for the entire word under the mouse cursor, regardless of what is selected. The context Menu FIF options seem to invoke FIF only if you have preselected text that could be a name. If you select part of a name, the context menu FIF is invoked only for the selected substring. If you have selected nothing or a non-name, the FIF menu options seem to do nothing. So, there seems to be several different functional ways that FIF can be invoked in GTK that can be supported via different menu or mouse actions. Looking on the web, it seems that the Mac has just about as many mouse and keyboard options as Windows. The Mac Magic Mouse that, according to the Apple Website, is the default mouse distributed with IMACS, can be easily configured to generate left and right clicks. It looks like it can also generate scrolling and paging events via gestures. Also, it looks like just about any Mac user can choose to use a multi button non-Apple mouse on a Mac and use it with similar functionality as a Windows user. The MAC HID Guidelines page ( http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGUserInput/XHIGUserInput.html#//apple_ref/doc/uid/TP30000361-TPXREF61 ) has some interesting suggestions. The Mac does support shift+click for extended selection. Ctl+Click (or right-click, if configured) seems to be used for context menus. It seems that Opt+click can be used per-application to modify the click action and this might be one place to hook in the current shift-click FIF for the MAC, if this is not already used in J GTK. On 1/24/2011 21:43, bill lam wrote: > FIF is already inside the popup menu for right click. > Whatever the choice would be, it will be nice to be compatible with Mac. > > Пнд, 24 Янв 2011, David Mitchell писал(а): >> I agree that the right mouse button for (Windows) context is not a bad >> option. >> Perhaps FIF could be added as an additional context menu entry. >> >> Another option could be to use the middle mouse button for FIF. Most wheel >> mice >> support clicking the wheel as a middle mouse button. >> >> I must admit my use of shift-click is so ingrained I would find it difficult >> to >> retrain to something else for extended selection. I tend to use it in every >> GUI >> I have access to. >> >> I noticed that both Shift-Click and Ctrl-Click both invoke FIF. I am used to >> Shift-Click for Extended Selection and Alt-Click for discontinuous >> selection. I >> do use Ctrl-Click for rectangular selection in Jedit, but I can't think of >> another use I have for Ctrl-Click. Ctrl-Click for FIF would be fine with me. >> >> On 1/24/2011 20:14, bill lam wrote: >>> I seldom use mouse now and cannot comment based on ergonomic, but the right >>> button can be used if Mac also gets a two button mouse. >>> >>> Втр, 25 Янв 2011, Chris Burke писал(а): >>>> No problem in changing this. What is the best alternative? Do we need >>>> an alternative? >>>> >>>> On Mon, Jan 24, 2011 at 11:52 PM, David Mitchell<davidmitch...@att.net> >>>> wrote: >>>>> Interesting. The use of shift+click for extended selection is one of the >>>>> oldest >>>>> mouse uses that I am aware of. Virtually every editor and most file >>>>> managers I >>>>> am aware of on Windows or Mac support it (including J6 editor). >>>>> >>>>> On 1/24/2011 10:01, bill lam wrote: >>>>>> This metaphor is new to me. The current behavior is hardcoded. You can >>>>>> edit the >>>>>> ide/gtk/gtk.ijs to disable link to fif. A better way is perhaps to >>>>>> assign >>>>>> an alternative way to link fif and leave extended selection usable. >>>>>> >>>>>> diff --git a/ide/gtk/source/main/event.ijs >>>>>> b/ide/gtk/source/main/event.ijs >>>>>> index 008b542..61ea2aa 100644 >>>>>> --- a/ide/gtk/source/main/event.ijs >>>>>> +++ b/ide/gtk/source/main/event.ijs >>>>>> @@ -6,6 +6,7 @@ NB. click in term/edit windows >>>>>> NB. ========================================================= >>>>>> NB. y is ctrl,shift >>>>>> sv_click=: 3 : 0 >>>>>> +0 return. >>>>>> s=. 2 #. y >>>>>> if. s e. 1 2 do. >>>>>> if. 0=buf=. getcurrentbuf'' do. 0 return. end. >>>>>> >>>>>> >>>>>> Пнд, 24 Янв 2011, David Mitchell писал(а): >>>>>>> I was trying to do an extended selection in a GTK Edit window when, >>>>>>> rather than >>>>>>> performing an extended selection, my shift-left-mouse click started >>>>>>> Find in Files. >>>>>>> >>>>>>> Is there another way to do extended selection in GTK Edit? If not, is >>>>>>> there any >>>>>>> way to turn off FIF starting on a shift-click? >>>>>>> ---------------------------------------------------------------------- >>>>>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>>>> >>>>> ---------------------------------------------------------------------- >>>>> For information about J forums see http://www.jsoftware.com/forums.htm >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm