On Tuesday, May 18, 2010 01:00 AM, Dan Bron wrote: > Chris Burke wrote: >> Right double-click won't work, but I instead made it >> so that you need to hold down Ctrl (or Shift) for the >> double-click to load Find in Files, otherwise the word >> is selected as usual. > > I suggest that left-doubleclick with no metakey modifier means "highlight the > word", as you've describe here, and left-SINGLEclick > modified with CTRL means "find in files", but left-SINGLEclick modified with > SHIFT means "edit 'selectedword'". > > That is, the metakey modifiers apply to single-clicking, not double-clicking, > and that ctrl- and shift- have different meanings. > This is more consonant with current Windows conventions. Also, "edit" is a > nice productivity tool, and SHIFT-leftclick to edit a > definition will be familiar with Dyalog users.
Good idea, thanks. The Ctrl key is defined as suggested. For Shift, it is defined as search word assigned - the problem is that we don't know exactly where a definition is sourced, since there could be several such. It could be improved so that if there is only one hit, go to it. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
