You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(markdown): re-render preview on font change, fix hard breaks
- Font settings were read once at startup; connecting to
fontNameChanged/fontSizeChanged signals ensures the preview
re-renders whenever the user changes the editor font.
- Storing m_lastSourceText avoids re-parsing from the editor
when only style needs to change.
- Single bare \n was treated as a soft break by CommonMark,
collapsing agent output lines into one paragraph; injecting
two trailing spaces converts them to hard breaks without
touching fences or existing hard breaks.
- dockForTab now reads the QDockWidget pointer from tabData
instead of matching by title, which was ambiguous when
multiple docks shared the same windowTitle.
- AiAgentDock gets a 500px minimum width so it is usable
when first docked.
0 commit comments