Update TextTag and TextView indent Documentation

Change the documentation for both to be in line with Pango documentation
specifically regarding hanging indentation.
This commit is contained in:
Jacob Mealey 2023-02-12 23:12:51 +00:00
parent f121f607ae
commit 272a40a01a
2 changed files with 11 additions and 1 deletions

View File

@ -485,7 +485,12 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
/**
* GtkTextTag:indent:
*
* Amount to indent the paragraph, in pixels.
* Amount to indent the paragraph, in pixels.
*
* A negative value of indent will produce a hanging indentation.
* That is, the first line will have the full width, and subsequent
* lines will be indented by the absolute value of indent.
*
*/
g_object_class_install_property (object_class,
PROP_INDENT,

View File

@ -998,6 +998,11 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
* GtkTextView:indent: (attributes org.gtk.Property.get=gtk_text_view_get_indent org.gtk.Property.set=gtk_text_view_set_indent)
*
* Amount to indent the paragraph, in pixels.
*
* A negative value of indent will produce a hanging indentation.
* That is, the first line will have the full width, and subsequent
* lines will be indented by the absolute value of indent.
*
*/
g_object_class_install_property (gobject_class,
PROP_INDENT,