[gtksourceview] view: document the support of drawing the final newline
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] view: document the support of drawing the final newline
- Date: Sat, 23 Jul 2016 15:04:24 +0000 (UTC)
commit e8b41fb3a1b372a56a468680f9bee4a842393f05
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jul 23 17:00:18 2016 +0200
view: document the support of drawing the final newline
gtksourceview/gtksourceview.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.h b/gtksourceview/gtksourceview.h
index 8e05db6..55265ec 100644
--- a/gtksourceview/gtksourceview.h
+++ b/gtksourceview/gtksourceview.h
@@ -84,7 +84,9 @@ typedef enum _GtkSourceSmartHomeEndType
* GtkSourceDrawSpacesFlags:
* @GTK_SOURCE_DRAW_SPACES_SPACE: whether the space character should be drawn.
* @GTK_SOURCE_DRAW_SPACES_TAB: whether the tab character should be drawn.
- * @GTK_SOURCE_DRAW_SPACES_NEWLINE: whether the line breaks should be drawn.
+ * @GTK_SOURCE_DRAW_SPACES_NEWLINE: whether the line breaks should be drawn. If
+ * the #GtkSourceBuffer:implicit-trailing-newline property is %TRUE, a line
+ * break is also drawn at the end of the buffer.
* @GTK_SOURCE_DRAW_SPACES_NBSP: whether the non-breaking whitespaces should be drawn.
* @GTK_SOURCE_DRAW_SPACES_LEADING: whether leading whitespaces should be drawn.
* @GTK_SOURCE_DRAW_SPACES_TEXT: whether whitespaces inside text should be drawn.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]