I have this issue that's annoying, and I'm wondering what exactly is causing it.
Every now and then, the line numbers in the m-file editor just disappear. Under Preferences, Editor/Debugger, Display: Show Line Numbers is still selected. If it makes a difference, I have the file names going down the left side of the editor window (makes it easier to see more of the file name and you don't need to scroll).
My guess is there's some sort of limit for files longer than 1000 lines (line how the line number bar grows going from 9 to 10 lines). But once I loose the line numbers, there gone from all my files, not just the long ones. I can still see the line number from the status bar, but often I forget about it.
Any help is appreciated.
Thanks,
Alan
I'm currently working on an m-file that is about 6000 lines long and the line numbers work perfectly for me. I don't think the length of the file is the issue. Perhaps you should contact technical support.
For what its worth... I've also experienced this bug. Hopefully the Mathworks will list with a growing list of folks being affected by it. My code is only about 1500-1000 lines.
I have also experienced this issue and have used the same workaround as the others, namely, to close and reopen Matlab (R2009b)