| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
TextLine Struct Reference

Represents a single line of text with associated formatting, highlight, and key-value span metadata. More...

`#include <json_data_source_view.h>`

## Public Attributes
QString | line
QList< QTextLayout::FormatRange > | fmt_list
int | highlight_start
int | highlight_length
int | kv_start
int | kv_length

## Detailed Description

Represents a single line of text with associated formatting, highlight, and key-value span metadata.

## Member Data Documentation

## ◆ fmt_list

QList<QTextLayout::FormatRange> TextLine::fmt_list

List of format ranges applied to this line for syntax or style highlighting.

## ◆ highlight_length

int TextLine::highlight_length

Length in characters of the active search or selection highlight; 0 if no highlight.

## ◆ highlight_start

int TextLine::highlight_start

Start position (in characters) of the active search or selection highlight within this line.

## ◆ kv_length

int TextLine::kv_length

Length in characters of the key-value pair span; 0 if no key-value span.

## ◆ kv_start

int TextLine::kv_start

Start position (in characters) of the key-value pair span within this line.

## ◆ line

QString TextLine::line

The raw text content of this line.

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/ui/qt/widgets/json_data_source_view.h