Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Functions
lua_debugger_code_editor.h File Reference
#include <QColor>
#include <QFont>
#include <QObject>
#include <QPlainTextEdit>
#include <QRegularExpression>
#include <QString>
#include <QSyntaxHighlighter>
#include <QTextCharFormat>
#include <QTextCursor>
#include <QVector>
#include <QtGlobal>

Go to the source code of this file.

Classes

struct  LuaDebuggerEditorPalette
 Single source of truth for the script editor's theme-aware colours. More...
 
class  LuaSyntaxHighlighter
 Syntax highlighter tuned for Lua keywords, strings, numbers, comments and Lua's long-bracket strings/comments. More...
 
class  LuaDebuggerCodeView
 Editable code editor supporting gutter breakpoints and highlighting. More...
 
class  LineNumberArea
 
class  LuaDebuggerFontPolicy
 Owns the dialog's font story end-to-end. More...
 
class  LuaDebuggerCodeTabsController
 Owns the script tab strip and the documents inside it. More...
 

Functions

bool luaDebuggerThemeIsDark ()
 Resolve the effective theme based on the debugger preference and Wireshark's current colour scheme when set to AUTO.
 
LuaDebuggerEditorPalette luaDebuggerEditorPaletteFor (bool isDark)
 Return the editor palette for the requested theme.
 

Detailed Description

Code editor stack: editor view, gutter, syntax highlighter, theme palette, font policy and the script-tabs controller.