Changes between Version 3 and Version 4 of Features/RightClick


Ignore:
Timestamp:
08/29/11 19:13:41 (3 years ago)
Author:
dolmen
Comment:

Add info about standard ways of triggering the context menu using the keyboard

Legend:

Unmodified
Added
Removed
Modified
  • Features/RightClick

    v3 v4  
    1 = Context Sensitive Right Click on the mouse = 
     1= Context Sensitive Menu = 
    22 
    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. 
     3A 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 
     8The pop-up presents a list of actions that can be executed. 
     9The 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. 
    510 
    611As Padre also tries to be keyboard friendly the same pop-up can be triggerd by pressing '''Alt-/''' 
     
    2328you can see another two menu options to '''Fold All''' and '''Unfold All'''. 
    2429 
    25 In addition each document type can add its own menu items by implementing the ''event_on_right_down'' method. 
     30In addition each document type can add its own menu items by implementing the ''event_on_context_menu'' method. 
    2631For example the Perl document class [http://padre.perlide.org/trac/browser/trunk/Padre/lib/Padre/Document/Perl.pm Padre::Document::Perl] adds 
    2732'''Find Variable''', '''Rename Variable''' and the whole '''Change Variable stye''' submenu if the mouse is over a variable name. 
     
    4146* Describe in detail 
    4247* Allow plug-ins to add items 
    43 * Allow the user to configure what's in the right-click menu 
     48* Allow the user to configure what's in the context menu 
    4449* 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.