[gnome-text-editor] printoperation: always wrap text



commit b861bcdc8a4515f956902fb471c4e34082a2a586
Author: Christian Hergert <chergert redhat com>
Date:   Sun Dec 19 16:42:10 2021 -0800

    printoperation: always wrap text
    
    Fixes #257

 src/editor-print-operation.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/editor-print-operation.c b/src/editor-print-operation.c
index 2aab705..a3be8f3 100644
--- a/src/editor-print-operation.c
+++ b/src/editor-print-operation.c
@@ -119,6 +119,7 @@ editor_print_operation_begin_print (GtkPrintOperation *operation,
                                    "buffer", buffer,
                                    "tab-width", tab_width,
                                    "highlight-syntax", syntax_hl,
+                                   "wrap-mode", GTK_WRAP_WORD_CHAR,
                                    NULL);
 
   if (!use_system_font)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]