The border and rules have options to outdent or indent, but the underline style does not. Sometimes you need a character style to highlight a word, and the only way to do that is with the underline style. It doesn't look great when there is no space on either side of the highlight, so you need to add extra spaces before and after the word. Can this be added to the underline style options?
Maybe it should be a new feature called ”highlight.” It would work like Microsoft Word but with options.
Another scenario I've encountered is if you want to have a background color for text. You can solve this with paragraph rules and offset the rule a bit to the left and right for a nice bit of colored padding. But if your paragraph or heading is more than one row you'll run into problems, and you'd have to make each line a single paragraph with manual hard returns for it to work on every line of text. If you on the other hand use the underline option to create background color for your text it works perfect with no need for hard returns, but then you can't have the left and right offset/padding. Having the option to outdent/indent the underline feature wold solve this problem. I have tried to illustrate what I'm talking about with an attached pdf file.
Roland Dreger commented
Great idea! Helpful would be also the consideration at line breaks, as it is done with the CSS property `box-decoration-break = clone` https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break?retiredLocale=de