java.lang.Object
org.jedit.keymap.EmacsUtil
Emacs Macro utility functions.
These functions are based on EmacsUtil.bsh from the Emacs macros
by Brian M. Clapper.
Rewritten in Java by Alan Ezust in 2013.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToClipboardAndHistory
(String string) void
addToClipboardAndHistory
(Selection selection) boolean
boolean
atEndOfBuffer
(int caret) void
beep()
char
charAt
(int i) char
int
int
void
int
int
int
getCardinalProperty
(String name, int defaultValue) int
int
lineAt
(int i) makeBufferPropertyName
(String prefix) makeBufferPropertyName
(Buffer theBuffer, String prefix) boolean
repeatingSameMacro
(String macroName) void
setClipboard
(String string) void
setClipboard
(Selection selection) void
-
Constructor Details
-
EmacsUtil
public EmacsUtil()
-
-
Method Details
-
emacsKillLine
public void emacsKillLine() -
repeatingSameMacro
-
lineAt
-
charAt
public char charAt(int i) -
charAtCaret
public char charAtCaret() -
atEndOfBuffer
public boolean atEndOfBuffer() -
atEndOfBuffer
public boolean atEndOfBuffer(int caret) -
eatNonAlphanums
public int eatNonAlphanums() -
eatWhitespace
public int eatWhitespace() -
getCardinalProperty
-
makeBufferPropertyName
-
makeBufferPropertyName
-
getDefaultWrap
public int getDefaultWrap() -
getMark
-
setMark
-
beep
public void beep() -
getKillRegion
-
getClipboard
-
setClipboard
-
setClipboard
-
addToClipboardAndHistory
-
addToClipboardAndHistory
-
findEndOfSentence
public int findEndOfSentence() -
findBeginningOfSentence
public int findBeginningOfSentence()
-