OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:caret_pos
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/gfx/
selection_model.h
73
size_t
caret_pos
() const { return selection_.end(); }
function in class:gfx::SelectionModel
render_text_pango.cc
67
// Since
caret_pos
is used internally, we could save utf8 index for
caret_pos
108
int
caret_pos
= 0, trailing = 0;
local
110
&
caret_pos
, &trailing);
114
caret_pos
= g_utf8_offset_to_pointer(layout_text_ +
caret_pos
,
116
DCHECK_LE(static_cast<size_t>(
caret_pos
), strlen(layout_text_));
119
return SelectionModel(LayoutIndexToTextIndex(
caret_pos
),
152
if (edge.
caret_pos
() == selection.
caret_pos
())
[
all
...]
render_text.cc
476
std::min(model.
caret_pos
(), text_length));
510
selection(), cursor.
caret_pos
(), cursor.caret_affinity());
747
size_t
caret_pos
= caret.
caret_pos
();
local
748
DCHECK(IsCursorablePosition(
caret_pos
));
755
if (
caret_pos
== (caret_affinity == CURSOR_BACKWARD ? 0 : text().length())) {
758
if ((GetTextDirection() == base::i18n::RIGHT_TO_LEFT) == (
caret_pos
== 0))
762
caret_pos
: IndexOfAdjacentGrapheme(
caret_pos
, CURSOR_BACKWARD);
[
all
...]
Completed in 59 milliseconds