Repository navigation
05.25.2025
Improvements:
Fixed an issue where syntax highlighting did not update when typing content like #chip 16f88 into an empty .gcb file, despite correct highlighting after saving and reopening.
Enhanced SyntaxHighlighter.on_contents_change to correctly register modified blocks and log changes for debugging. Updated SyntaxHighlighter._apply_highlighting to clear highlighted_blocks for modified blocks and highlight all visible blocks when no pending changes are detected, ensuring real-time syntax updates for typed content.
Fixed an edge condition where a partially shown bottom line in the Editor was not highlighted. Modified SyntaxHighlighter._apply_highlighting to extend the visible range to include partially visible lines by using the viewport’s bottom-right position and checking the next block’s position, ensuring all visible content, including partially shown lines, is updated with syntax highlighting.
Updated language file to improve color management