No option to print line numbers in gedit

I want to print line numbers from gedit, I know how to view them, of course. A previous answer to a question some years ago claimed that the option existed. But on my machine that option seems to have vanished: there is no top bar, no file tab etc. And why is it called 'text editor' rather than 'gedit'? I'm using 20.04.

If there were options then presumably I could also get it to show syntax colouring? There appears to be no proper option to set the language, though I did once find something, but can't find it again.

It is a really simple editor, which is what I want, but these are really simple requirements, and I am stumped.

To summarise: how do I show an option to print line numbers?


Solution 1:

The option to print line numbers continues to be there where one would expect it, i.e., in the Print dialog. The option is on the Text Editor tab.

enter image description here