#include <findcommand.h>
Public Types | |
enum | FindType { UseSelectionForFind , FindNextMatch , FindPreviousMatch , SelectNextMatch , SelectPreviousMatch , SelectAllMatches , SelectUnderExpand , SelectAllUnder } |
Public Member Functions | |
FindCommand (FindType findType) | |
Constructs the find operation. | |
virtual void | execute (TextEditorController *controller) override |
executes this command. What happens depends mainly on the FindType | |
virtual QString | toString () override |
Converts this find command to a string This string describes the command (useful only for debugging purposes) | |
virtual bool | readonly () override |
Tis method should return true if it's executable in readonly mode. | |
![]() | |
TextEditorCommand () | |
The default constructor. | |
virtual | ~TextEditorCommand () |
A blank virtual destructor. | |
edbee::FindCommand::FindCommand | ( | FindType | findType | ) |
Constructs the find operation.
findType | the findtype to use |
|
overridevirtual |
executes this command. What happens depends mainly on the FindType
controller | the controller used for executing |
Implements edbee::TextEditorCommand.
|
overridevirtual |
Tis method should return true if it's executable in readonly mode.
Reimplemented from edbee::TextEditorCommand.
|
overridevirtual |
Converts this find command to a string This string describes the command (useful only for debugging purposes)
Implements edbee::TextEditorCommand.