Changes between Version 3 and Version 4 of Features/RightClick
- 08/29/11 19:13:41 (22 months ago)
v3 v4 1 = Context Sensitive Right Click on the mouse= 1 = Context Sensitive = 2 2 3 Clicking on the right button of the mouse trigger a pop-up in Padre with a list of actions that can be executed. 4 The exact list depends on the file type and the specific location of the mouse. 3 A context menu can be triggered from the editor main window using the common way of platform (one or multiple ways): 4 * Clicking on the right button of the mouse (All) 5 * Using the Menu key of the keyboard (at least Windows, Gnome) 6 * Using Shift+F10 on the keyboard (at least Windows, Gnome) 7 8 The pop-up presents a list of actions that can be executed. 9 The exact list depends on the file type and the specific location of the mouse cursor, or if triggered by the keyboard the position of the caret. 5 10 6 11 As Padre also tries to be keyboard friendly the same pop-up can be triggerd by pressing '''Alt-/''' … … 23 28 you can see another two menu options to '''Fold All''' and '''Unfold All'''. 24 29 25 In addition each document type can add its own menu items by implementing the ''event_on_ right_down'' method. 30 In addition each document type can add its own menu items by implementing the ''event_on_'' method. 26 31 For example the Perl document class [http://padre.perlide.org/trac/browser/trunk/Padre/lib/Padre/Document/Perl.pm Padre::Document::Perl] adds 27 32 '''Find Variable''', '''Rename Variable''' and the whole '''Change Variable stye''' submenu if the mouse is over a variable name. … … 41 46 * Describe in detail 42 47 * Allow plug-ins to add items 43 * Allow the user to configure what's in the right-clickmenu 48 * Allow the user to configure what's in the menu 44 49 * The Perl document should be able to recognize when the mouse is in a regex and show the '''Edit with Regex Editor''' only if it is and be able to paste the new regex back to the same location.