Bug 380597

Summary: Context menus on the help pages
Product: [Applications] rkward Reporter: RKWard Team <rkward-devel>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description RKWard Team 2010-04-23 15:38:41 UTC
-- Originally posted by (AT sourceforge.net): kapatp --

-- This ticket was imported from http://sourceforge.net/p/rkward/feature-requests/63 on 2017-05-31 14:48:57 +0100 --
If a text is selected \(by mouse, of course\) on any \(R's dynamically generated / Rkward's static\) help page, the following options \(not in any particular order\) in context menu will be helpful:

\[1\] Copy
\[2\] Evaluate
\[3\] Search
\[4\] Open in new Tab
\[5\] Open in new Window

Details:
\[1\] Just copy to the clipboard
\[2\] Evaluate the selected text inside a local \(\{\}\) environment. This will be really useful for the examples on the help pages. Either send it directly to the R Console or bypass the console. So, this could be two options - 'Evaluate in console', 'Evaluate bypassing the console'. Although if a local\(\) env is used, I am not sure, if the option of bypassing the console be any useful. Of course, the selected text need not be a valid R code/expression: let R take care of it, we don't have to bother with this kind of error check. As long as it is inside a local\(\) it should be safe.
\[3\] Do a fuzzy search of the selected text.  The selected text could be sent to the search window \(Alt+6\) which pop up gets the focus.
\[4\] A link on a help page could be opened in a new tab.
\[5\] Same as \[4\] but open in a new tab and then detach it.

If I can think of more, I'll add it here. Others can chime in with their options as well.-- Labels: Interface Improvements (example) --