java.lang.Object
org.gjt.sp.jedit.search.CurrentBufferSet
- All Implemented Interfaces:
SearchFileSet
A file set for searching the current buffer.
- Version:
- $Id: CurrentBufferSet.java 25108 2020-03-31 22:41:49Z kpouer $
- Author:
- Slava Pestov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the BeanShell code that will recreate this file set.int
getFileCount
(View view) Returns the number of files in this file set.String[]
Returns all path names in this file set.getFirstFile
(View view) Returns the first file to search.getLastFile
(View view) Returns the last file to search.getNextFile
(View view, String file) Returns the next file to search.getPrevFile
(View view, String file) Returns the previous file in the set.
-
Constructor Details
-
CurrentBufferSet
public CurrentBufferSet()
-
-
Method Details
-
getFirstFile
Description copied from interface:SearchFileSet
Returns the first file to search.- Specified by:
getFirstFile
in interfaceSearchFileSet
- Parameters:
view
- The view performing the search
-
getLastFile
Description copied from interface:SearchFileSet
Returns the last file to search.- Specified by:
getLastFile
in interfaceSearchFileSet
- Parameters:
view
- The view performing the search
-
getNextFile
Description copied from interface:SearchFileSet
Returns the next file to search.- Specified by:
getNextFile
in interfaceSearchFileSet
- Parameters:
view
- The view performing the searchfile
- The last file searched
-
getPrevFile
Description copied from interface:SearchFileSet
Returns the previous file in the set.- Specified by:
getPrevFile
in interfaceSearchFileSet
- Parameters:
view
- The view performing the searchfile
- The last file searched
-
getFiles
Description copied from interface:SearchFileSet
Returns all path names in this file set.- Specified by:
getFiles
in interfaceSearchFileSet
- Parameters:
view
- The view performing the search
-
getFileCount
Description copied from interface:SearchFileSet
Returns the number of files in this file set.- Specified by:
getFileCount
in interfaceSearchFileSet
-
getCode
Description copied from interface:SearchFileSet
Returns the BeanShell code that will recreate this file set.- Specified by:
getCode
in interfaceSearchFileSet
-