Workbench icon indicating copy to clipboard operation
Workbench copied to clipboard

Better report CSS parsing errors

Open sonnyp opened this issue 4 years ago • 1 comments

CSS is parsed and injected on change.

The parsing errors are displayed in the console which is fine but not ideal

Gtk.CssProvider has a parsing-error signal that could be used to display the error directly in the source view

https://docs.gtk.org/gtk4/signal.CssProvider.parsing-error.html

sonnyp avatar Jan 30 '22 17:01 sonnyp

Fixed by https://github.com/sonnyp/Workbench/commit/bb37e2e76f17899d654c9f489855be56ccd1b33b

sonnyp avatar Sep 15 '22 18:09 sonnyp