summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkbufferview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkbufferview.c')
-rw-r--r--src/gtkext/gtkbufferview.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c
index 8b9b83b..f179845 100644
--- a/src/gtkext/gtkbufferview.c
+++ b/src/gtkext/gtkbufferview.c
@@ -746,6 +746,25 @@ static void gtk_buffer_view_relocate_caret(GtkBufferView *view, const GdkRectang
* *
* Paramètres : view = composant GTK à manipuler. *
* *
+* Description : Indique la position courante du curseur. *
+* *
+* Retour : Emplacement courant du curseur. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+const vmpa2t *gtk_buffer_view_get_caret_location(const GtkBufferView *view)
+{
+ return view->caret_addr;
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : view = composant GTK à manipuler. *
+* *
* Description : Redémarre l'affichage du curseur à l'emplacement courant. *
* *
* Retour : - *