summaryrefslogtreecommitdiff
path: root/src/dged/buffer_view.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-03-07 20:19:26 +0100
committerAlbert Cervin <albert@acervin.com>2024-03-07 20:19:26 +0100
commita13750209b3836a4a6a16a7ba881625f397f160f (patch)
tree86c6ee6af1b44b613c6abc913957dda000c069a7 /src/dged/buffer_view.h
parentf266c624ad197ea6add738df70702dcbf93cb198 (diff)
downloaddged-a13750209b3836a4a6a16a7ba881625f397f160f.tar.gz
dged-a13750209b3836a4a6a16a7ba881625f397f160f.tar.xz
dged-a13750209b3836a4a6a16a7ba881625f397f160f.zip
Implement timers properly
The timers shown with `M-x timers` are now actual timings.
Diffstat (limited to 'src/dged/buffer_view.h')
-rw-r--r--src/dged/buffer_view.h5
1 files changed, 4 insertions, 1 deletions
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;