[gnome-builder/wip/gtk4-port: 457/1774] libide/editor: wire up current line highlight




commit ff84090d5402e863ceb29bd3a67a1f5775547952
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 6 20:53:13 2022 -0700

    libide/editor: wire up current line highlight

 src/libide/editor/ide-editor-page-settings.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/libide/editor/ide-editor-page-settings.c b/src/libide/editor/ide-editor-page-settings.c
index dccd230df..354c056d6 100644
--- a/src/libide/editor/ide-editor-page-settings.c
+++ b/src/libide/editor/ide-editor-page-settings.c
@@ -142,6 +142,9 @@ _ide_editor_page_settings_init (IdeEditorPage *self)
   g_settings_bind (editor_settings, "show-map",
                    self->map_revealer, "reveal-child",
                    G_SETTINGS_BIND_GET);
+  g_settings_bind (editor_settings, "highlight-current-line",
+                   self->view, "highlight-current-line",
+                   G_SETTINGS_BIND_GET);
   g_settings_bind_with_mapping (editor_settings, "show-map",
                                 self->scroller, "vscrollbar-policy",
                                 G_SETTINGS_BIND_GET,


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