Home
last modified time | relevance | path

Searched refs:typingTextStyle_ (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_layout_algorithm.cpp31 : pManager_(paragraphs), typingTextStyle_(typingTextStyle) in RichEditorLayoutAlgorithm()
81 if (typingTextStyle_.has_value()) { in CopySpanStyle()
82 auto typingTextStyle = typingTextStyle_.value(); in CopySpanStyle()
H A Drich_editor_layout_algorithm.h79 std::optional<TextStyle> typingTextStyle_; variable
H A Drich_editor_pattern.cpp289 if (typingStyle_.has_value() && typingTextStyle_.has_value()) { in InsertValueInStyledString()
1890 typingTextStyle_ = textStyle; in SetTypingStyle()
2015 if (spanTextstyle.has_value() && typingTextStyle_.has_value()) { in HasSameTypingStyle()
2016 return spanTextstyle.value() == typingTextStyle_.value(); in HasSameTypingStyle()
4717 IF_PRESENT(typingTextStyle_, UpdateColorByResourceId()); in OnColorConfigurationUpdate()
5163 if (typingStyle_.has_value() && typingTextStyle_.has_value()) { in InsertDiffStyleValueInSpan()
5252 if (typingStyle_.has_value() && typingTextStyle_.has_value()) { in CreateTextSpanNode()
5257 spanItem->SetTextStyle(typingTextStyle_); in CreateTextSpanNode()
9951 style = typingTextStyle_.value(); in OnBackPressed()
10623 CHECK_NULL_VOID(typingTextStyle_.has_value()); in OnBackPressed()
[all …]
H A Drich_editor_pattern.h284 return MakeRefPtr<RichEditorLayoutAlgorithm>(spans_, &paragraphs_, typingTextStyle_); in CreateLayoutAlgorithm()
1384 std::optional<TextStyle> typingTextStyle_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_testone_ng.cpp147 richEditorPattern->typingTextStyle_ = style;
556 richEditorPattern->typingTextStyle_ = std::nullopt;
560 richEditorPattern->typingTextStyle_ = style;
564 richEditorPattern->typingTextStyle_ = std::nullopt;
568 richEditorPattern->typingTextStyle_ = style;
571 ASSERT_EQ(richEditorPattern->typingTextStyle_.has_value(), true);
661 richEditorPattern->typingTextStyle_ = std::nullopt;
H A Drich_editor_styled_string_test_ng.cpp1000 richEditorPattern->typingTextStyle_ = std::nullopt;
1004 richEditorPattern->typingTextStyle_ = style;
1008 richEditorPattern->typingTextStyle_ = std::nullopt;
1012 richEditorPattern->typingTextStyle_ = style;
1015 ASSERT_EQ(richEditorPattern->typingTextStyle_.has_value(), true);
H A Drich_editor_edit_testone_ng.cpp872 options1.style = richEditorPattern->typingTextStyle_;
901 richEditorPattern->typingTextStyle_ = std::nullopt;
906 richEditorPattern->typingTextStyle_ = std::nullopt;
911 richEditorPattern->typingTextStyle_ = TextStyle();
916 richEditorPattern->typingTextStyle_ = TextStyle();
951 options1.style = richEditorPattern->typingTextStyle_;
H A Drich_editor_pattern_test_ng.cpp381 auto typingTextStyle = richEditorPattern->typingTextStyle_;
384 richEditorPattern->typingTextStyle_ = std::nullopt;
393 richEditorPattern->typingTextStyle_ = textStyle;
402 richEditorPattern->typingTextStyle_ = typingTextStyle;
H A Drich_editor_test_ng.cpp2953 richEditorPattern->typingTextStyle_ = std::nullopt;
2958 richEditorPattern->typingTextStyle_ = std::nullopt;
2963 richEditorPattern->typingTextStyle_ = TextStyle();
2968 richEditorPattern->typingTextStyle_ = TextStyle();
4840 options1.style = richEditorPattern->typingTextStyle_;
4879 options1.style = richEditorPattern->typingTextStyle_;
H A Drich_editor_keyboard_shortcut_test_ng.cpp592 richEditorPattern->typingTextStyle_ = style;
H A Drich_editor_base_testone_ng.cpp939 options1.style = richEditorPattern->typingTextStyle_;