sentence_highlighter.hpp¶
file src/app/widgets/sentence_highlighter.hpp ยท Applications
The SentenceHighlighter that colours the console, and sentence_spans, the pure function that splits a console line into coloured runs.
Source src/app/widgets/sentence_highlighter.hpp
See also
- docs/reference/desktop-app.md, section "Console".
Namespaces¶
| Namespace | Description |
|---|---|
nmeasim::app |
The Qt Widgets desktop application: the main window, its dock panels, the map, the instruments and the settings dialog, built on nmeasim::io. |
Types¶
| Type | Description |
|---|---|
SentenceSpan |
A run of characters in one role. |
SentenceHighlighter |
Colours the console like a protocol analyser, using sentence_spans and the colours of the current theme; it re-colours everything when the theme changes. |
Namespace members¶
Declared or defined in this file and documented on the page of their namespace.
| Member | Description |
|---|---|
nmeasim::app::SentenceRole |
The parts of a console line that are coloured differently. |
nmeasim::app::sentence_spans |
Splits a console line into coloured runs. |