edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
9
10namespace edbee {
11
14{
15public:
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
23private:
24 QString text_;
25 int coalesceId_;
26
27};
28
29} // edbee
virtual int commandId()
Definition replaceselectioncommand.h:18
ReplaceSelectionCommand(const QString &text, int caolesceId)
The constructor of the replaceSelection command.
Definition replaceselectioncommand.cpp:16
TextEditorCommand()
The default constructor.
Definition texteditorcommand.cpp:12
The texteditor works via the controller. The controller is the central point/mediator which maps/cont...
Definition texteditorcontroller.h:39
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20