Module jEdit

Class HistoryText

java.lang.Object
org.gjt.sp.jedit.gui.HistoryText

public class HistoryText extends Object
Controller (manager of models) for HistoryTextArea.
Version:
$Id: HistoryText.java 24411 2016-06-19 11:02:53Z kerik-sf $
Author:
Slava Pestov
  • Constructor Details

  • Method Details

    • fireActionPerformed

      public void fireActionPerformed()
    • getIndex

      public int getIndex()
    • setIndex

      public void setIndex(int index)
    • getModel

      public HistoryModel getModel()
      Returns the underlying history controller.
      Since:
      jEdit 4.3pre1
    • setModel

      public void setModel(String name)
      Sets the history list controller.
      Parameters:
      name - The model name
      Since:
      jEdit 4.3pre1
    • setInstantPopups

      public void setInstantPopups(boolean instantPopups)
      Sets if selecting a value from the popup should immediately fire an ActionEvent.
    • getInstantPopups

      public boolean getInstantPopups()
      Returns if selecting a value from the popup should immediately fire an ActionEvent.
    • addCurrentToHistory

      public void addCurrentToHistory()
      Adds the currently entered item to the history.
    • doBackwardSearch

      public void doBackwardSearch()
    • doForwardSearch

      public void doForwardSearch()
    • historyPrevious

      public void historyPrevious()
    • historyNext

      public void historyNext()
    • getDocument

      public Document getDocument()
    • getText

      public String getText()
      Subclasses can override this to provide funky history behavior, for JTextPanes and such.
    • setText

      public void setText(String text)
      Subclasses can override this to provide funky history behavior, for JTextPanes and such.
    • getInputStart

      public int getInputStart()
      Subclasses can override this to provide funky history behavior, for JTextPanes and such.
    • showPopupMenu

      public void showPopupMenu(String t, int x, int y)
    • showPopupMenu

      public void showPopupMenu(boolean search)