Module jEdit

Class EmacsUtil

java.lang.Object
org.jedit.keymap.EmacsUtil

public class EmacsUtil extends Object
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 Details

    • EmacsUtil

      public EmacsUtil()
  • Method Details

    • emacsKillLine

      public void emacsKillLine()
    • repeatingSameMacro

      public boolean repeatingSameMacro(String macroName)
    • lineAt

      public String lineAt(int i)
    • 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

      public int getCardinalProperty(String name, int defaultValue)
    • makeBufferPropertyName

      public String makeBufferPropertyName(String prefix)
    • makeBufferPropertyName

      public String makeBufferPropertyName(Buffer theBuffer, String prefix)
    • getDefaultWrap

      public int getDefaultWrap()
    • getMark

      public int getMark(Buffer buffer)
    • setMark

      public void setMark(Buffer buffer, int pos)
    • beep

      public void beep()
    • getKillRegion

      public Selection getKillRegion()
    • getClipboard

      public String getClipboard()
    • setClipboard

      public void setClipboard(String string)
    • setClipboard

      public void setClipboard(Selection selection)
    • addToClipboardAndHistory

      public void addToClipboardAndHistory(String string)
    • addToClipboardAndHistory

      public void addToClipboardAndHistory(Selection selection)
    • findEndOfSentence

      public int findEndOfSentence()
    • findBeginningOfSentence

      public int findBeginningOfSentence()