diff options
author | pommicket <pommicket@gmail.com> | 2023-08-13 12:05:54 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-13 12:05:54 -0300 |
commit | 598d72c0674bb059c0f38f03c4851bcc61e5852d (patch) | |
tree | ae01311a6bdf872120b9787d44746ab9cd95db14 /ted-internal.h | |
parent | dbf441cdc74245c5a5f567ae0165146cd74c3b92 (diff) |
various little changes, remove calls to change_directory
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h index 6de2cfd..64b3b6e 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -513,6 +513,8 @@ bool buffer_handle_click(Ted *ted, TextBuffer *buffer, vec2 click, u8 times); /// currently needed to avoid bad positioning when a buffer is created /// and buffer_center_cursor is called immediately after void buffer_center_cursor_next_frame(TextBuffer *buffer); +/// perform a series of checks to make sure the buffer doesn't have any invalid values +void buffer_check_valid(TextBuffer *buffer); // === build.c === void build_frame(Ted *ted, float x1, float y1, float x2, float y2); |