summaryrefslogtreecommitdiff
path: root/src/navigator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/navigator.h')
-rw-r--r--src/navigator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/navigator.h b/src/navigator.h
index db781ab..3946a21 100644
--- a/src/navigator.h
+++ b/src/navigator.h
@@ -78,6 +78,11 @@ void navigator_clear_marks(Navigator *p_nav);
guint navigator_get_mark_count(Navigator *p_nav);
GList *navigator_get_marks(Navigator *p_nav); /* (transfer full) GFile* refs */
+/* Borrowed pointer to the last file marked via a `v` toggle-on - the anchor
+ * for `V` range-mark (NULL if none / cleared). Survives re-sort (path-based).
+ */
+GFile *navigator_get_last_mark(Navigator *p_nav); /* (transfer none) */
+
/* --- mutations ---------------------------------------------------------- */
/* Re-read the directory; if the current file is gone, fall back to nearest;
* emit "changed". */