angr / angr-management

The official angr GUI.
BSD 2-Clause "Simplified" License
859 stars 108 forks source link

CodeView: Init QCCodeEdit {fore,back}ground #1222

Closed mborgerson closed 3 months ago

mborgerson commented 3 months ago

Fixes #847

After testing something else on Windows I was motivated to finally fix this broken pseudocode colors issue...

fix

On other platforms the widget apparently fails to respect color scheme foreground and background color, so it happily used the theme defaults. On Windows the widget actually does use color scheme fg/bg, but we were not changing from the default of black/white. Use theme colors (background=palette base, foreground=palette text) for now for consistency. Eventually support changing them after fixing pyqodeng.