After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 144141 - gedit should include a Line Numbers toggle in View menu.
gedit should include a Line Numbers toggle in View menu.
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
3.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
: 365852 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-11 06:56 UTC by Rodd Clarkson
Modified: 2020-11-24 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch adds a line number menu item (5.48 KB, patch)
2004-08-16 16:20 UTC, Uphaar Agrawalla
needs-work Details | Review

Description Rodd Clarkson 2004-06-11 06:56:17 UTC
gedit should include a Line Numbers toggle in View menu.

This would make it much easier to toggle this state (which would be useful)
rather than having to enter the preferences all the time.

I'm pretty comfortable that this is a useful addition to the UI and not feature
bloat. 8-]
Comment 1 Paolo Maggi 2004-07-28 14:24:50 UTC
I agree with you but I have a doubt.
Should the state change be reflected by the active view, by all the views in the
active window or by the views in all the windows?
Comment 2 Rodd Clarkson 2004-07-28 23:50:10 UTC
For all the views would be a good start given that that's the affect changing
the preferences would have.

I'm not sure that being able to have line numbers on some open documents and not
on others is really that valuable, especially if turning on and off line numbers
is so accessible (ie, in the menus, or even a button on the toolbar (oh, that
would be nice))
Comment 3 Paolo Borelli 2004-08-01 10:38:57 UTC
An alternative could be leaving the toggle also in the prefernces and have the
preference toggle affect the default while the menu toggle only change the
current file view without storing in gconf...
Comment 4 Uphaar Agrawalla 2004-08-16 16:20:20 UTC
Created attachment 30601 [details] [review]
Patch adds a line number menu item

Created a patch that adds a menu item under the View Menu. also added the accel
key Shift+Ctrl+N for the option. The menu option toggles line numbers
visibility across all open documents.
Comment 5 Paolo Maggi 2004-09-22 18:34:36 UTC
Comment on attachment 30601 [details] [review]
Patch adds a line number menu item

I don't think the accellerator is needed.

IMO, as suggested by pbor too, the menu toggle should only affect the
current file view without changing the global preference in gconf.

I'm not sure, but I think would be cool if the preference for the file is
stored using gedit-metadata.
Comment 6 Paolo Maggi 2006-10-29 10:16:51 UTC
*** Bug 365852 has been marked as a duplicate of this bug. ***
Comment 7 Oliver C. 2007-06-15 09:02:09 UTC
I agree, this would be a very nice to have feature.

I also want to add, that it would be nice to be able to set a default setting by file type.

For example, it should be possibel to set togglie line numbers to on for C++/C code files and off for normal text (*.txt) files.

 
Comment 8 Sébastien Wilmet 2020-11-24 09:57:52 UTC
Mass-closing of all gedit bugzilla tickets.

Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing:

2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3

By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements.

We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.