Initial commit: X11 C code editor
This commit is contained in:
commit
8eae6763f6
21 files changed
+36389
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#ifndef RENDER_H
|
||||
#define RENDER_H
|
||||
|
||||
#include "../editor.h"
|
||||
|
||||
int render_calc_comment_state(const Editor *ed, int target_line);
|
||||
void render_syntax_line(Editor *ed, const char *line, int scroll_x, int x, int y, int max_chars, int *in_comment);
|
||||
void render_search_highlights(Editor *ed, int line_idx, int top_y, int visible_cols);
|
||||
void render_selection_bg(Editor *ed, int line_idx, int top_y, int visible_cols);
|
||||
void render_scrollbars(Editor *ed, int visible_lines, int visible_cols);
|
||||
void render_status_bar(Editor *ed, int cur_col);
|
||||
void render_hover_symbol_link(Editor *ed, int line_idx, int top_y, int baseline_y, int visible_cols);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user