Codechange: separate TextColour enumeration and flags

This commit is contained in:
Rubidium
2026-05-18 08:37:42 +02:00
committed by rubidium42
parent 31424f700e
commit c59d64c132
86 changed files with 574 additions and 510 deletions
+1 -1
View File
@@ -495,7 +495,7 @@ void TextfileWindow::AfterLoadMarkdown()
/* All lines beginning with # are headings. */
if (!line.text.empty() && line.text[0] == '#') {
this->jumplist.push_back(line_index);
this->lines[line_index].colour = TC_GOLD;
this->lines[line_index].colour = TextColour::Gold;
this->link_anchors.emplace_back(line_index, 0, 0, MakeAnchorSlug(line.text));
}
}