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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
replaceselectioncommand.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
13
class
EDBEE_EXPORT
ReplaceSelectionCommand
:
public
TextEditorCommand
14
{
15
public
:
16
ReplaceSelectionCommand
(
const
QString& text,
int
caolesceId );
17
18
virtual
int
commandId
() {
return
coalesceId_; }
19
20
virtual
void
execute(
TextEditorController
* controller )
override
;
21
virtual
QString toString()
override
;
22
23
private
:
24
QString text_;
25
int
coalesceId_;
26
27
};
13
class
EDBEE_EXPORT
ReplaceSelectionCommand
:
public
TextEditorCommand
{
…
};
28
29
}
// edbee
edbee::ReplaceSelectionCommand::commandId
virtual int commandId()
Definition
replaceselectioncommand.h:18
edbee::ReplaceSelectionCommand::ReplaceSelectionCommand
ReplaceSelectionCommand(const QString &text, int caolesceId)
The constructor of the replaceSelection command.
Definition
replaceselectioncommand.cpp:16
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
replaceselectioncommand.h
Generated on Wed Mar 5 2025 21:11:15 for edbee - Qt Editor Library by
1.13.2