[gedit-plugins/alatiera/detepl: 2/2] Revert "Use the TeplBuffer::tepl-cursor-moved signal"




commit 401f44f0634ef3d06515ae8624acde533a8b4c7f
Author: Jordan Petridis <jordan centricular com>
Date:   Sat Apr 10 03:58:29 2021 +0300

    Revert "Use the TeplBuffer::tepl-cursor-moved signal"
    
    This reverts commit 9fe4fbf445b0004ee2b7cd0e76c2944a33c6ae70.

 plugins/synctex/synctex/synctex.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/synctex/synctex/synctex.py b/plugins/synctex/synctex/synctex.py
index 9186c3c..1badf51 100644
--- a/plugins/synctex/synctex/synctex.py
+++ b/plugins/synctex/synctex/synctex.py
@@ -201,7 +201,7 @@ class SynctexViewHelper:
 
         if self.active and self.window_proxy is None:
             self._doc_active_handlers = [
-                        self._doc.connect('tepl-cursor-moved', self.on_cursor_moved),
+                        self._doc.connect('cursor-moved', self.on_cursor_moved),
                         self._doc.connect('notify::style-scheme', self.on_notify_style_scheme)]
             self._view_active_handlers = [
                         self._view.connect('key-press-event', self.on_key_press),


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