summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-03-05 19:41:00 -0500
committerpommicket <pommicket@gmail.com>2025-03-05 20:48:56 -0500
commit4d7533828738401b76bab5be2e22f0d4a69e30b1 (patch)
treeab35eebf13ee0442bfc4252c2d400992e80582d2 /ted.h
parent79422182e2a244127b62dc45ed8928772dedd1b7 (diff)
Fix IDE hover
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