File: Open_Context_Menu.bsh

package info (click to toggle)
jedit 5.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,252 kB
  • ctags: 11,190
  • sloc: java: 98,480; xml: 94,070; makefile: 52; sh: 42; cpp: 6; python: 6
file content (28 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Open_Context_Menu.bsh - a BeanShell macro script for
* the jEdit text editor - Opens the editor context menu
* just below and to the right of the cursor.
*
* Copyright (C) 2003 Nitsan Vardi
*
* $Id: Open_Context_Menu.bsh 9820 2007-06-17 20:59:58Z vanza $
*/

openContextMenu(){
	textArea.showPopupMenu();
}

openContextMenu();

/*
	Macro index data (in DocBook format)

<listitem>
    <para><filename>Open_Context_Menu.bsh</filename></para>
    <abstract><para>
        Opens the text area context menu just below the caret.
    </para></abstract>
</listitem>

*/