Reworked ChatBlockModel to fix syntax highlighting issues: - Replace regex-based renderMarkdown() with line-by-line fence parsing - Code fences detected by ```lang (open) and ``` alone (close) - Prose wrapped in <div> with explicit palette text color - Code blocks syntax highlighted with KSyntaxHighlighting HtmlHighlighter improvements: - Add defaultColor for unhighlighted text spans - Track offset to emit gaps between highlighted tokens - Add endLine() to flush trailing unhighlighted content Remove TextEdit color property that was overriding inline styles in Qt5. |
||
|---|---|---|
| .. | ||
| chatblockmodel.cpp | ||
| chatblockmodel.h | ||
| main.cpp | ||
| main.qml | ||
| ninepconnection.cpp | ||
| ninepconnection.h | ||
| ollie.svg | ||
| ollie9pclient.cpp | ||
| ollie9pclient.h | ||
| org.ollie.gui.desktop | ||
| qml.qrc | ||
| streamfsm.cpp | ||
| streamfsm.h | ||
| thememanager.cpp | ||
| thememanager.h | ||