15 lines
639 B
C
15 lines
639 B
C
#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
|