Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
lua_debugger_code_editor.cpp File Reference
#include <lua_debugger_code_editor.h>
#include <ui_lua_debugger_dialog.h>
#include <QAction>
#include <QApplication>
#include <QColor>
#include <QContextMenuEvent>
#include <QDir>
#include <QEvent>
#include <QFile>
#include <QFileInfo>
#include <QFont>
#include <QFontDatabase>
#include <QGuiApplication>
#include <QHeaderView>
#include <QKeyEvent>
#include <QList>
#include <QMessageBox>
#include <QMetaObject>
#include <QModelIndex>
#include <QMouseEvent>
#include <QPainter>
#include <QPalette>
#include <QPlainTextEdit>
#include <QStandardItem>
#include <QStandardItemModel>
#include <QStandardPaths>
#include <QStringList>
#include <QTabWidget>
#include <QTextBlock>
#include <QTextDocument>
#include <QTextStream>
#include <QTreeView>
#include <QWidget>
#include <QtGlobal>
#include <algorithm>
#include <climits>
#include "epan/wslua/wslua_debugger.h"
#include "lua_debugger_breakpoints.h"
#include "lua_debugger_dialog.h"
#include "lua_debugger_files.h"
#include "main_application.h"
#include "utils/color_utils.h"
#include <ui/qt/utils/theme_manager.h>

Functions

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.

Function Documentation

◆ luaDebuggerEditorPaletteFor()

LuaDebuggerEditorPalette luaDebuggerEditorPaletteFor ( bool  isDark)

Return the editor palette for the requested theme.

Parameters
isDarkIndicates whether the dark theme should be used.
Returns
LuaDebuggerEditorPalette The editor palette for the specified theme.