async parsing + tex caching

This commit is contained in:
2026-08-26 02:06:10 +02:00
parent e18875a752
commit 3946541f87
32 changed files with 2730 additions and 489 deletions
+4 -1
View File
@@ -92,7 +92,9 @@ class LlmSegment : public QObject {
private:
void scheduleMarkdown();
void parseMarkdown();
// Kicks off an off-thread parse; returns false when one is already
// in flight (the pending change is picked up when it completes).
bool parseMarkdown();
Type m_type;
qint64 m_timestamp;
@@ -108,6 +110,7 @@ class LlmSegment : public QObject {
QVariantList m_markdown;
QTimer m_markdownTimer;
bool m_markdownDirty = false;
bool m_parseInFlight = false;
};
} // namespace ZShell::llm