Lines Matching refs:endOffset
84 gint endOffset;
85 char* text = fn(textObject, offset, boundary, &startOffset, &endOffset);
88 g_assert_cmpint(endOffset, ==, endOffsetResult);
980 gint endOffset;
981 AtkAttributeSet* set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset);
983 g_assert_cmpint(endOffset, ==, 12);
986 AtkAttributeSet* set2 = atk_text_get_run_attributes(childText, 15, &startOffset, &endOffset);
988 g_assert_cmpint(endOffset, ==, 17);
991 AtkAttributeSet* set3 = atk_text_get_run_attributes(childText, 17, &startOffset, &endOffset);
993 g_assert_cmpint(endOffset, ==, 40);
1016 set2 = atk_text_get_run_attributes(childText, 43, &startOffset, &endOffset);
1018 g_assert_cmpint(endOffset, ==, 80);
1030 set1 = atk_text_get_run_attributes(childText, 0, &startOffset, &endOffset);
1031 set2 = atk_text_get_run_attributes(childText, 3, &startOffset, &endOffset);
1035 set2 = atk_text_get_run_attributes(childText, 1, &startOffset, &endOffset);
1036 set3 = atk_text_get_run_attributes(childText, 5, &startOffset, &endOffset);
1041 set3 = atk_text_get_run_attributes(childText, 2, &startOffset, &endOffset);
1042 set4 = atk_text_get_run_attributes(childText, 6, &startOffset, &endOffset);
1054 set1 = atk_text_get_run_attributes(childText, 24, &startOffset, &endOffset);
1056 g_assert_cmpint(endOffset, ==, 25);
1059 set2 = atk_text_get_run_attributes(childText, 25, &startOffset, &endOffset);
1061 g_assert_cmpint(endOffset, ==, 30);
1106 gint endOffset;
1107 gchar* selectedText = atk_text_get_selection(paragraph1, 0, &startOffset, &endOffset);
1109 g_assert_cmpint(endOffset, ==, 0);
1125 selectedText = atk_text_get_selection(paragraph1, 0, &startOffset, &endOffset);
1127 g_assert_cmpint(endOffset, ==, 25);
1138 endOffset);
1140 g_assert_cmpint(startOffset, ==, endOffset);
1142 g_assert_cmpint(endOffset, ==, 25);
1154 selectedText = atk_text_get_selection(paragraph2, 0, &startOffset, &endOffset);
1156 g_assert_cmpint(endOffset, ==, 21);
1162 selectedText = atk_text_get_selection(link, 0, &startOffset, &endOffset);
1164 g_assert_cmpint(endOffset, ==, 4);
1172 selectedText = atk_text_get_selection(paragraph2, 0, &startOffset, &endOffset);
1174 g_assert_cmpint(endOffset, ==, 37);
1182 selectedText = atk_text_get_selection(paragraph2, 0, &startOffset, &endOffset);
1184 g_assert_cmpint(startOffset, ==, endOffset);
1189 selectedText = atk_text_get_selection(link, 0, &startOffset, &endOffset);
1191 g_assert_cmpint(startOffset, ==, endOffset);
1215 selectedText = atk_text_get_selection(listItem, 0, &startOffset, &endOffset);
1217 g_assert_cmpint(endOffset, ==, 9);
1325 gint endOffset;
1326 gchar* text = atk_text_get_text_at_offset(multilineText, 0, ATK_TEXT_BOUNDARY_LINE_START, &startOffset, &endOffset);
1331 atk_text_get_range_extents(multilineText, startOffset, endOffset, ATK_XY_WINDOW, &fline_window);
1332 atk_text_get_range_extents(multilineText, startOffset, endOffset - 1, ATK_XY_WINDOW, &afline_window);
1400 gint endOffset;
1401 gchar* text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &startOffset, &endOffset);
1405 g_assert_cmpint(endOffset, ==, 11);
1412 text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &startOffset, &endOffset);
1416 g_assert_cmpint(endOffset, ==, 11);
1423 text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &startOffset, &endOffset);
1427 g_assert_cmpint(endOffset, ==, 11);