edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
debugcommand.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
12
15{
16public:
17
24
25 DebugCommand( DebugCommandType command );
26
27 virtual void execute(TextEditorController* controller) override;
28 virtual QString toString() override;
29 virtual bool readonly() override;
30
31protected:
32
33 void dumpScopes( TextEditorController* controller );
34 void rebuildScopes( TextEditorController* controller );
35
36 void dumpUndoStack( TextEditorController* controller );
37 void dumpCharacterCodes( TextEditorController* controller );
38private:
39
40 DebugCommandType command_;
41
42};
43
44} // edbee
A debug command, for simply suppling/dumping some editor state information to the console.
Definition debugcommand.h:15
DebugCommand(DebugCommandType command)
Definition debugcommand.cpp:19
DebugCommandType
Definition debugcommand.h:18
@ DumpScopes
Definition debugcommand.h:19
@ RebuildScopes
Definition debugcommand.h:20
@ DumpCharacterCodes
Definition debugcommand.h:22
@ DumpUndoStack
Definition debugcommand.h:21
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