Lines Matching refs:cursor_offset
3636 ImVec2 cursor_offset, select_start_offset;
3669 cursor_offset.x = InputTextCalcTextSizeW(ImStrbolW(searches_input_ptr[0], text_begin), searches_input_ptr[0]).x;
3670 cursor_offset.y = searches_result_line_number[0] * g.FontSize;
3689 if (cursor_offset.x < edit_state.ScrollX)
3690 edit_state.ScrollX = (float)(int)ImMax(0.0f, cursor_offset.x - scroll_increment_x);
3691 else if (cursor_offset.x - size.x >= edit_state.ScrollX)
3692 edit_state.ScrollX = (float)(int)(cursor_offset.x - size.x + scroll_increment_x);
3703 if (cursor_offset.y - g.FontSize < scroll_y)
3704 scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize);
3705 else if (cursor_offset.y - size.y >= scroll_y)
3706 scroll_y = cursor_offset.y - size.y;
3757 ImVec2 cursor_screen_pos = render_pos + cursor_offset - render_scroll;