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 691689 - Line numbers for examples
Line numbers for examples
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.3-SVN
Other Linux
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2013-01-14 05:08 UTC by Karl Rupp
Modified: 2018-07-30 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Suggested patch for 1.8.3-SVN enabling/disabling line numbers in example listings. (2.62 KB, patch)
2013-01-14 20:35 UTC, Karl Rupp
none Details | Review

Description Karl Rupp 2013-01-14 05:08:21 UTC
Each of the @example files is listed in a dedicated HTML file without line numbers. There seems to be no switch for enabling line numbers. An option for adding line numbers to the example listings would be helpful (cf. \includelineno vs. \include).
Comment 1 Karl Rupp 2013-01-14 20:35:46 UTC
Created attachment 233467 [details] [review]
Suggested patch for 1.8.3-SVN enabling/disabling line numbers in example listings.
Comment 2 albert 2018-06-28 17:56:08 UTC
Instead of a new tag in the doxygen configuration file (Doxyfile) a more consistent and flexible command has been introduced: \examplelineno.
- consistent with \include / \includelineno, \snippet / \snippetlineno
- more flexible as per example it can be decided whether or not line numbers are required

I've just pushed a proposed patch to github (pull request 780, https://github.com/doxygen/doxygen/pull/780)
Comment 3 André Klapper 2018-07-30 10:02:17 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!