I sometimes want to check the length of a piece of text, for example in this example:
str = 'Hello, world!' if len(str) == 13: print('Hello back to you!') I would like to know the length of the string Hello, world!.
What I do now, is have the column number in rulerformat with %c, I put my cursor on the first character, then go to the last, and manually substract.
This is rather awkward, though. What I want is, for example, the length of my selection in virtual mode in the ruler, but there is no option for this as far as I can see.
Can this be done? Or in some other easier way?