From a13750209b3836a4a6a16a7ba881625f397f160f Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 7 Mar 2024 20:19:26 +0100 Subject: Implement timers properly The timers shown with `M-x timers` are now actual timings. --- src/dged/buffer_view.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/dged/buffer_view.h') diff --git a/src/dged/buffer_view.h b/src/dged/buffer_view.h index 620c261..4e23b5d 100644 --- a/src/dged/buffer_view.h +++ b/src/dged/buffer_view.h @@ -68,6 +68,7 @@ void buffer_view_kill_line(struct buffer_view *view); void buffer_view_newline(struct buffer_view *view); void buffer_view_indent(struct buffer_view *view); +void buffer_view_indent_alt(struct buffer_view *view); void buffer_view_copy(struct buffer_view *view); void buffer_view_cut(struct buffer_view *view); @@ -83,11 +84,13 @@ struct location buffer_view_dot_to_visual(struct buffer_view *view); void buffer_view_undo(struct buffer_view *view); +void buffer_view_sort_lines(struct buffer_view *view); + struct buffer_view_update_params { struct command_list *commands; void *(*frame_alloc)(size_t); uint32_t window_id; - int64_t frame_time; + float frame_time; uint32_t width; uint32_t height; uint32_t window_x; -- cgit v1.2.3