GNOME Bugzilla – Bug 747206
gtktextview: note on how to get line spacing between two paragraphs
Last modified: 2016-05-24 03:03:02 UTC
Created attachment 300778 [details] [review] gtktextview: document how to get line space this patch adds two paragraphs for gtk_text_view_get_pixels_below_lines() and gtk_text_view_get_pixels_above_lines(). A small convenience for anyone who might be looking around in developer.gnome.org, searching how to get the line spacing value in a GtkTextView.
Review of attachment 300778 [details] [review]: I think the wording is a bit awkward. Maybe something like "The space between two paragraphs is the sum of the value return by this function with the value return by <other function>."
Created attachment 300810 [details] [review] gtktextview: document how to get line space I took your proposal and modified it slightly. If possible I'd like the docs to explicitly state "line space" (unless that's not true of course). btw, does gtk_text_view_get_pixels_below_lines() return the default number of blank pixels below "paragraphs" or below "lines"?
Attachment 300810 [details] pushed as 5759e2a - gtktextview: document how to get line space