1

The line number at the top of each code line disappeared after I re-opened a program file. I'm not sure how and when it happened. I must have changed some system setting without knowing it. I cannot make the numbers re-appear myself. I tried several opening methods: using gedit from the command area, or selecting file > open > selection window on top of the terminal window and even reset the system, and restart. Nothing worked.

PDF output versions of these files, on the other hand, do carry the numbers. Line & col numbers in lower right corner of the screen are working. Tried to open another C program in another directory, it showed the same symptom. The efficiency of my debugging has been degraded a great deal because of this. How can I get back the line numbers in gedit?

3

In gedit:

Edit>Preferences>View Tab

Ensure "Display line numbers" is checked.

4
  • Bobbitworm; Thank you very much. With your suggestion, I can get back to my original efficiency, which which is very low yet.
    – Yoshi Watt
    Nov 20 '14 at 23:06
  • Glad to be of help. Efficiency increases with practice, keep at it!
    – bobbitworm
    Nov 21 '14 at 9:06
  • 1
    I have the same problem, but when I go to gedit preferences and check the "display line numbers" box, I see the line numbers flash briefly on screen, disappear and the checkmark clears itself. Is there some other appliance or VMware setting that's causing this?
    – pokerbeing
    Jan 28 '15 at 22:16
  • Pokerbeing, after I updated the appliance using update50 to 2014-28, the problem got resolved.
    – user4869
    Jan 29 '15 at 2:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .