Home
last modified time | relevance | path

Searched refs:wContent (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp148 auto wContent = StringUtils::ToWstring((*it)->content); in HandleSpanOperation() local
160 (*it)->content = StringUtils::ToString(wOther + GetWideStringSubstr(wContent, length)); in HandleSpanOperation()
174 (*it)->content = StringUtils::ToString(wContent.substr(0, start - spanItemStart)); in HandleSpanOperation()
184 (*it)->content = StringUtils::ToString(wContent.substr(0, start - spanItemStart)); in HandleSpanOperation()
188 … GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation()
192 (*it)->content = StringUtils::ToString(GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation()
364 auto wContent = StringUtils::ToWstring(span->content); in InsertString() local
367 … GetWideStringSubstr(wContent, start - spanItemStart)); in InsertString()
372 … GetWideStringSubstr(wContent, start - spanItemStart)); in InsertString()
523 auto wContent = GetWideString(); in InsertSpanString() local
[all …]
H A Dspan_string.cpp173 auto wContent = StringUtils::ToWstring((*it)->content); in ApplyToSpans() local
177 … (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->first - oldStart)); in ApplyToSpans()
181wContent.substr(intersection->first - oldStart, intersection->second - intersection->first)); in ApplyToSpans()
186 … newSpan2->content = StringUtils::ToString(wContent.substr(intersection->second - oldStart)); in ApplyToSpans()
193 … (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->second - oldStart)); in ApplyToSpans()
197 … newSpan->content = StringUtils::ToString(wContent.substr(intersection->second - oldStart)); in ApplyToSpans()
203 … (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->first - oldStart)); in ApplyToSpans()
206 … newSpan->content = StringUtils::ToString(wContent.substr(intersection->first - oldStart)); in ApplyToSpans()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp83 auto wContent = StringUtils::ToWstring(spanItem->content); in ConstructParagraphSpanGroup() local
84 if (wContent.back() == L'\n') { in ConstructParagraphSpanGroup()
642 auto wContent = StringUtils::ToWstring(content); in UpdateSensitiveContent() local
644 wContent.begin(), wContent.end(), in UpdateSensitiveContent()
648 content = StringUtils::ToString(wContent); in UpdateSensitiveContent()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dspan_to_html.cpp557 auto wContent = StringUtils::ToWstring(content); in ToHtml() local
558 if (wContent.back() == L'\n') { in ToHtml()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1324 for (size_t i = 0; i < wContent.length(); i++) { in SpanNodeFission()
1325 if (wContent[i] == '\n') { in SpanNodeFission()
5173 std::wstring wContent = StringUtils::ToWstring(content); in IsLineSeparatorInLast() local
5174 return !wContent.empty() && wContent.back() == L'\n'; in IsLineSeparatorInLast()
9567 auto wContent = StringUtils::ToWstring(content); in OnBackPressed() local
9569 auto index = wContent.find(lineSeparator); in OnBackPressed()
9571 auto textAfter = wContent.substr(index + 1); in OnBackPressed()
9575 auto textBefore = wContent.substr(0, index + 1); in OnBackPressed()
9581 wContent = textAfter; in OnBackPressed()
9582 index = wContent.find(lineSeparator); in OnBackPressed()
[all …]