[gtksourceview] SpaceDrawer: add docs about the implicit trailing newline
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] SpaceDrawer: add docs about the implicit trailing newline
- Date: Thu, 20 Oct 2016 15:49:05 +0000 (UTC)
commit e8bf7b8dd898e03df1cd599d73368d341747c062
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Oct 20 17:45:14 2016 +0200
SpaceDrawer: add docs about the implicit trailing newline
It was only documented in the deprecated API.
gtksourceview/gtksourcespacedrawer.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcespacedrawer.h b/gtksourceview/gtksourcespacedrawer.h
index c97e5db..7517a41 100644
--- a/gtksourceview/gtksourcespacedrawer.h
+++ b/gtksourceview/gtksourcespacedrawer.h
@@ -64,7 +64,9 @@ struct _GtkSourceSpaceDrawerClass
* @GTK_SOURCE_SPACE_TYPE_NONE: No flags.
* @GTK_SOURCE_SPACE_TYPE_SPACE: Space character.
* @GTK_SOURCE_SPACE_TYPE_TAB: Tab character.
- * @GTK_SOURCE_SPACE_TYPE_NEWLINE: Line break character.
+ * @GTK_SOURCE_SPACE_TYPE_NEWLINE: Line break character. If the
+ * #GtkSourceBuffer:implicit-trailing-newline property is %TRUE,
+ * #GtkSourceSpaceDrawer also draws a line break at the end of the buffer.
* @GTK_SOURCE_SPACE_TYPE_NBSP: Non-breaking space character.
* @GTK_SOURCE_SPACE_TYPE_ALL: All white spaces.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]