formatter: Make inline comments "transparent"

Adding an inline comment somewhere should not affect formatting below
it. So, for inline comments, don't make the line type a comment, but
instead reuse the current line type so that the comment becomes
"transparent".
This commit is contained in:
Matthijs Velsink 2025-06-12 20:40:08 +02:00
parent e16e723a81
commit edc17dc2df
2 changed files with 4 additions and 2 deletions

View file

@ -59,7 +59,7 @@ Adw.MessageDialog {
}
Adw.Breakpoint {
condition ("width < 100")
condition ("width < 100") // Another inline comment
setters {
label2.label: _("Hello, world!");