OpenTTD Source 20250512-master-g2516c435b7
TextfileWindow::Hyperlink Struct Reference

Data Fields

size_t line = 0
 Which line the link is on.
 
size_t begin = 0
 Character position on line the link begins.
 
size_t end = 0
 Character position on line the link end.
 
std::string destination {}
 Destination for the link.
 

Detailed Description

Definition at line 57 of file textfile_gui.h.

Field Documentation

◆ begin

size_t TextfileWindow::Hyperlink::begin = 0

Character position on line the link begins.

Definition at line 59 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().

◆ destination

std::string TextfileWindow::Hyperlink::destination {}

◆ end

size_t TextfileWindow::Hyperlink::end = 0

Character position on line the link end.

Definition at line 60 of file textfile_gui.h.

Referenced by TextfileWindow::FindHyperlinksInMarkdown().

◆ line

size_t TextfileWindow::Hyperlink::line = 0

Which line the link is on.

Definition at line 58 of file textfile_gui.h.


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