Created attachment 5103
Should fix: line numbers are always printed
Second approach was too simple and left gtk_source_print_compositor_set_print_line_numbers in some cases in undefined/wrong state. The attached patch hopefully handles this more robust.
Created attachment 5103
Should fix: line numbers are always printed
Second approach was too simple and left gtk_source_ print_composito r_set_print_ line_numbers in some cases in undefined/wrong state. The attached patch hopefully handles this more robust.