Searched refs:cursor_offset (Results 1 – 3 of 3) sorted by relevance
55 ptrdiff_t cursor_offset = cursor_ - buffer_; in GetOffsetFrom() local56 VIXL_ASSERT((offset >= 0) && (offset <= cursor_offset)); in GetOffsetFrom()57 return cursor_offset - offset; in GetOffsetFrom()
175 ptrdiff_t cursor_offset = GetCursorOffset(); in Grow() local194 cursor_ = buffer_ + cursor_offset; in Grow()
3636 ImVec2 cursor_offset, select_start_offset; in InputTextEx() local3669 …cursor_offset.x = InputTextCalcTextSizeW(ImStrbolW(searches_input_ptr[0], text_begin), searches_in… in InputTextEx()3670 cursor_offset.y = searches_result_line_number[0] * g.FontSize; in InputTextEx()3689 if (cursor_offset.x < edit_state.ScrollX) in InputTextEx()3690 … edit_state.ScrollX = (float)(int)ImMax(0.0f, cursor_offset.x - scroll_increment_x); in InputTextEx()3691 else if (cursor_offset.x - size.x >= edit_state.ScrollX) in InputTextEx()3692 … edit_state.ScrollX = (float)(int)(cursor_offset.x - size.x + scroll_increment_x); in InputTextEx()3703 if (cursor_offset.y - g.FontSize < scroll_y) in InputTextEx()3704 scroll_y = ImMax(0.0f, cursor_offset.y - g.FontSize); in InputTextEx()3705 else if (cursor_offset.y - size.y >= scroll_y) in InputTextEx()[all …]