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 68216 - indentation of inline examples
indentation of inline examples
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-01-08 00:12 UTC by Matthias Clasen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to keep indentation intact (1.83 KB, patch)
2002-01-11 13:21 UTC, Matthias Clasen
none Details | Review
a fixed patch, first one got mangled (1.78 KB, patch)
2002-01-12 22:42 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2002-01-08 00:12:25 UTC
gtkdoc-mkdb strips '^\s*\*\s*' from doc comment lines. This causes
badly formatted examples (since all indentation gets lost). See
gtk_dialog_new_with_buttons() for an example. A possible fix
would be to strip only '^\s*\*\s?'. As a workaround, I inserted
empty declarations (<!>) at the beginning of every line in the inline
examples. Ugly.
Comment 1 Matthias Clasen 2002-01-11 13:21:24 UTC
Created attachment 6381 [details] [review]
patch to keep indentation intact
Comment 2 Matthias Clasen 2002-01-12 22:42:18 UTC
Created attachment 6395 [details] [review]
a fixed patch, first one got mangled
Comment 3 Damon Chaplin 2002-01-18 17:25:06 UTC
patch applied.