summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index f35b27d..da4144e 100644
--- a/ted.h
+++ b/ted.h
@@ -1063,6 +1063,8 @@ void node_split(Ted *ted, Node *node, bool vertical);
void node_split_switch(Ted *ted);
/// swap the two sides of the current split.
void node_split_swap(Ted *ted);
+/// convert pixel position to buffer position, only considering visible buffers.
+bool node_pixels_to_buffer_pos(Node *node, vec2 wpos, TextBuffer **pbuffer, BufferPos *ppos);
// === session.c ===
/// store ted session