I use markText() function to underline some characters in a line and indicate errors to end user.
I would like to underline the very last part of the line :
Eg:
some example
^ underline this (which is usually line return)
this would give:
some example_
The main issue is that the part I want to underline/mark does not exist as a character of the line. The only possibility would be for the line to end up with an extra space which is not the case.