Searched refs:MLE_MAX (Results 1 – 4 of 4) sorted by relevance
/dports/editors/mle/mle-1.4.3/ |
H A D | bview.c | 90 aw = MLE_MAX(1, (int)((float)aw * self->split_factor)); in bview_resize() 92 ah = MLE_MAX(1, (int)((float)ah * self->split_factor)); in bview_resize() 114 self->rect_buffer.w = MLE_MAX(1, aw - (self->linenum_width + 1 + 1)); in bview_resize() 419 dim_scope = MLE_MAX(dim_scope, ((dim_size / 2) * -1)); in _bview_rectify_viewport_dim() 536 self->abs_linenum_width = MLE_MAX(1, (int)(floor(log10((double)self->buffer->line_count))) + 1); in _bview_set_linenum_width() 538 self->rel_linenum_width = MLE_MAX( in _bview_set_linenum_width() 987 buffer_get_bline(self->buffer, MLE_MAX(0, self->viewport_y), &self->viewport_bline); in _bview_draw_edit()
|
H A D | cmd.c | 61 insert_size = MLE_MAX(6, ctx->bview->buffer->tab_width) * (ctx->pastebuf_len + 1); in cmd_insert_data() 588 nlines = MLE_MAX(MLE_MIN(nlines, 9999), 3); in cmd_fsearch_fzy() 840 ctx->bview->tab_width = MLE_MAX(vali, 1); in cmd_set_opt() 935 mark_move_by(mark, MLE_MAX(0, nchars - 2)); in cmd_jump()
|
H A D | mle.h | 621 #define MLE_MAX(a,b) (((a)>(b)) ? (a) : (b)) macro
|
H A D | editor.c | 870 mark_move_by(mark, MLE_MAX(1, nchars)); in _editor_prompt_isearch_drop_cursors()
|