Module jEdit

Class SearchDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class SearchDialog extends EnhancedDialog
Search and replace dialog.
Version:
$Id: SearchDialog.java 25081 2020-03-29 22:43:29Z kpouer $
Author:
Slava Pestov
See Also:
  • Field Details

  • Method Details

    • getSearchDialog

      @Nonnull public static SearchDialog getSearchDialog(View view)
    • showSearchDialog

      public static void showSearchDialog(View view, String searchString, int searchIn)
      Displays a search and replace dialog box, reusing an existing one if necessary.
      Parameters:
      view - The view
      searchString - The search string
      searchIn - One of CURRENT_BUFFER, ALL_BUFFERS, or DIRECTORY
      Since:
      jEdit 4.0pre6
    • setSearchString

      public void setSearchString(String searchString, int searchIn)
      Sets the search string.
      Parameters:
      searchString - The search string
      searchIn - One of CURRENT_BUFFER, ALL_BUFFERS, or DIRECTORY
      Since:
      jEdit 4.0pre5
    • ok

      public void ok()
      Specified by:
      ok in class EnhancedDialog
    • cancel

      public void cancel()
      Specified by:
      cancel in class EnhancedDialog
    • handleSearchSettingsChanged

      public void handleSearchSettingsChanged(EBMessage msg)
    • setVisible

      public void setVisible(boolean b)
      Overrides:
      setVisible in class Dialog
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window