|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
#include <theme_code_view.h>
Signals | |
| void | countsChanged () |
Public Member Functions | |
| ThemeCodeView (QWidget *parent=nullptr) | |
| void | setTexts (const QString &compareText, const QString ¤tText) |
| void | setViewFont (const QFont &monospace) |
| int | changedLines () const |
| int | addedLines () const |
| int | removedLines () const |
| void | nextChange () |
| void | previousChange () |
| QString | currentText () const |
Read-only viewer for theme file text with a line diff against a comparison text: gutter with line numbers and change markers, tinted changed lines, removed lines shown struck through, and simple JSONC syntax coloring.
|
inline |
The current text without the removed (ghost) lines.
| void ThemeCodeView::nextChange | ( | ) |
Moves to the next/previous run of changed lines, wrapping around.