edbee - Qt Editor Library
v0.11.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
c
e
f
i
k
l
m
o
p
q
r
s
t
u
v
Functions
Variables
Typedefs
Enumerations
Enumerator
c
e
f
i
k
l
m
o
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
i
k
l
n
o
p
q
s
t
Enumerations
Enumerator
a
b
d
e
f
h
i
l
m
n
p
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
d
e
g
o
p
q
s
t
v
Macros
_
a
d
e
g
o
p
q
s
t
v
▼
edbee - Qt Editor Library
edbee documentation
►
Coding Style
►
Line data
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
►
CMakeFiles
doc
▼
edbee
▼
commands
►
commentcommand.cpp
►
commentcommand.h
copycommand.cpp
►
copycommand.h
cutcommand.cpp
►
cutcommand.h
debugcommand.cpp
►
debugcommand.h
duplicatecommand.cpp
►
duplicatecommand.h
findcommand.cpp
►
findcommand.h
►
movelinecommand.cpp
►
movelinecommand.h
newlinecommand.cpp
►
newlinecommand.h
pastecommand.cpp
►
pastecommand.h
redocommand.cpp
►
redocommand.h
removecommand.cpp
►
removecommand.h
replaceselectioncommand.cpp
►
replaceselectioncommand.h
selectioncommand.cpp
►
selectioncommand.h
tabcommand.cpp
►
tabcommand.h
togglereadonlycommand.cpp
►
togglereadonlycommand.h
undocommand.cpp
►
undocommand.h
►
data
►
io
►
lexers
►
models
►
util
►
views
►
debug.h
edbee.cpp
►
edbee.h
►
edbeeversion.h
►
exports.h
texteditorcommand.cpp
►
texteditorcommand.h
texteditorcontroller.cpp
►
texteditorcontroller.h
texteditorwidget.cpp
►
texteditorwidget.h
►
edbee-lib_autogen
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
findcommand.h
Go to the documentation of this file.
1
// edbee - Copyright (c) 2012-2025 by Rick Blommers and contributors
2
// SPDX-License-Identifier: MIT
3
4
#pragma once
5
6
#include "
edbee/exports.h
"
7
8
#include "
edbee/texteditorcommand.h
"
9
10
namespace
edbee
{
11
12
class
EDBEE_EXPORT
FindCommand
:
public
TextEditorCommand
13
{
14
public
:
15
16
enum
FindType
{
17
UseSelectionForFind
,
//< uses the current selection for find
18
FindNextMatch
,
//< finds the next match
19
FindPreviousMatch
,
//< finds the previous match
20
SelectNextMatch
,
//< adds the next match to the selection
21
SelectPreviousMatch
,
//< adds the previous match to the selection
22
SelectAllMatches
,
//< select all matches
23
24
SelectUnderExpand
,
25
SelectAllUnder
26
27
};
16
enum
FindType
{
…
};
28
29
30
FindCommand
( FindType findType );
31
32
virtual
void
execute(
TextEditorController
* controller )
override
;
33
virtual
QString toString()
override
;
34
virtual
bool
readonly()
override
;
35
36
private
:
37
38
39
40
FindType findType_;
41
42
};
12
class
EDBEE_EXPORT
FindCommand
:
public
TextEditorCommand
{
…
};
43
44
}
// edbee
edbee::FindCommand
Definition
findcommand.h:13
edbee::FindCommand::FindCommand
FindCommand(FindType findType)
Constructs the find operation.
Definition
findcommand.cpp:19
edbee::FindCommand::FindType
FindType
Definition
findcommand.h:16
edbee::FindCommand::SelectNextMatch
@ SelectNextMatch
Definition
findcommand.h:20
edbee::FindCommand::UseSelectionForFind
@ UseSelectionForFind
Definition
findcommand.h:17
edbee::FindCommand::SelectAllMatches
@ SelectAllMatches
Definition
findcommand.h:22
edbee::FindCommand::FindNextMatch
@ FindNextMatch
Definition
findcommand.h:18
edbee::FindCommand::FindPreviousMatch
@ FindPreviousMatch
Definition
findcommand.h:19
edbee::FindCommand::SelectUnderExpand
@ SelectUnderExpand
A smart selection: when there's no selection the current word is used and selected,...
Definition
findcommand.h:24
edbee::FindCommand::SelectPreviousMatch
@ SelectPreviousMatch
Definition
findcommand.h:21
edbee::FindCommand::SelectAllUnder
@ SelectAllUnder
A smart selection: when there's no selection the current word is used, and all occurences in the docu...
Definition
findcommand.h:25
edbee::TextEditorCommand::TextEditorCommand
TextEditorCommand()
The default constructor.
Definition
texteditorcommand.cpp:12
edbee::TextEditorController
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition
texteditorcontroller.h:39
exports.h
EDBEE_EXPORT
#define EDBEE_EXPORT
Definition
exports.h:15
edbee
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition
commentcommand.cpp:20
texteditorcommand.h
edbee
commands
findcommand.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2