File: Open_Context_Menu.bsh

package info (click to toggle)
jedit 4.5.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,252 kB
  • sloc: java: 90,581; xml: 88,372; makefile: 55; sh: 25
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>

*/