[gnome-builder/gnome-builder-3-32] sourceview: reset definition on button press



commit b4b1391407fc451d8725a263acc7c58d9edba3d4
Author: Christian Hergert <chergert redhat com>
Date:   Sun Aug 4 12:03:49 2019 -0700

    sourceview: reset definition on button press
    
    If we failed to click within the visible area, we still want to reset
    the highlight.
    
    Related #999

 src/libide/sourceview/ide-source-view.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/sourceview/ide-source-view.c b/src/libide/sourceview/ide-source-view.c
index f71990781..5f05b9e1c 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -2236,6 +2236,8 @@ ide_source_view_process_press_on_definition (IdeSourceView  *self,
           g_signal_emit (self, signals [FOCUS_LOCATION], 0, src_location);
         }
 
+      ide_source_view_reset_definition_highlight (self);
+
       return TRUE;
     }
 


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