File: Open_Line_Above.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 (9 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
/** Open_Line_Above.bsh: 
    mimics the Ctrl-Shift-Enter combination in Eclipse,
    opening a new blank line above the current cursor position.
    Author: Scott LeBaron
    License: GPL v 2.0
*/
textArea.goToStartOfWhiteSpace(false);
textArea.insertEnterAndIndent();
textArea.goToPrevLine(false);