Actually if we implement it manually we could measure the width of the largest digit, compare that to the width of the space character, and use Maths to know how many of the latter we need for padding.

How will that work? If we measure the widest digit then when the thinnest digit is present it will be off again ;-)

A number of ways of minimising the issue have been outlined above (including by the OP) so I don't think its worth the effort.

@relatable975 if you re-arrange the template its probably best to keep scope last because its a function/class name and its length can vary quite a lot.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3409/1436556432@github.com>