Home
last modified time | relevance | path

Searched refs:previewTextValue (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_testfour_ng.cpp269 std::string previewTextValue; variable
272 richEditorPattern->ReplacePreviewText(previewTextValue, previewRange);
276 richEditorPattern->ReplacePreviewText(previewTextValue, previewRange);
280 richEditorPattern->ReplacePreviewText(previewTextValue, previewRange);
284 richEditorPattern->ReplacePreviewText(previewTextValue, previewRange);
288 richEditorPattern->ReplacePreviewText(previewTextValue, previewRange);
312 std::string previewTextValue; variable
321 previewTextValue = "abc";
369 std::string previewTextValue; variable
984 std::string previewTextValue; variable
[all …]
H A Drich_editor_pattern_test_ng.cpp311 std::string previewTextValue = INIT_VALUE_1; variable
319 EXPECT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), true);
323 EXPECT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), false);
327 EXPECT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), false);
331 EXPECT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), true);
335 EXPECT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), true);
416 std::string previewTextValue; variable
421 ASSERT_EQ(richEditorPattern->InitPreviewText(previewTextValue, range), false);
425 ASSERT_EQ(richEditorPattern->InitPreviewText(previewTextValue, range), false);
429 ASSERT_EQ(richEditorPattern->InitPreviewText(previewTextValue, range), true);
[all …]
H A Drich_editor_edit_testone_ng.cpp1248 std::string previewTextValue; variable
1253 ASSERT_EQ(richEditorPattern->UpdatePreviewText(previewTextValue, previewRange), false);
1267 std::string previewTextValue = INIT_VALUE_1; variable
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-arkui.md335 let previewTextValue = previewText.value
336 console.log("previewText value = " + previewTextValue)
338 let previewTextEnd = previewText.offset + previewTextValue.length
340 let isPreviewTextWorking = previewTextValue != "";
342 let wholeTextValue = value + previewTextValue
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.h234 int32_t SetPreviewText(const std::string& previewTextValue, const PreviewRange range) override;
236 bool InitPreviewText(const std::string& previewTextValue, const PreviewRange range);
238 bool ReplacePreviewText(const std::string& previewTextValue, const PreviewRange& range);
240 bool UpdatePreviewText(const std::string& previewTextValue, const PreviewRange range);
H A Drich_editor_pattern.cpp4825 previewTextValue.c_str(), range.start, range.end); in SetPreviewText()
4830 if (!InitPreviewText(previewTextValue, range)) { in SetPreviewText()
4835 if (!UpdatePreviewText(previewTextValue, range)) { in SetPreviewText()
4849 return ReplacePreviewText(previewTextValue, range); in InitPreviewText()
4855 record.newPreviewContent = previewTextValue; in InitPreviewText()
4856 ProcessInsertValue(previewTextValue, OperationType::IME, false); in InitPreviewText()
4874 ProcessInsertValue(previewTextValue, OperationType::IME, false); in ReplacePreviewText()
4895 record.newPreviewContent = previewTextValue; in UpdatePreviewText()
4896 ProcessInsertValue(previewTextValue, OperationType::IME, false); in UpdatePreviewText()
4906 if (previewTextValue.empty() && range.start == range.end) { in UpdatePreviewText()
[all …]