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



commit 5bcbaeb0d5b3cffb81b617a4684935a99490353d
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 331627fa0..4c4e8c22e 100644
--- a/src/libide/sourceview/ide-source-view.c
+++ b/src/libide/sourceview/ide-source-view.c
@@ -2269,6 +2269,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]