mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
Revert "Unicode: s/codepoint/code_point/g"
This reverts commit ea9ac3155d
.
It replaced "codepoint" with "code_points", not "code_point".
This commit is contained in:
parent
9664bac281
commit
19ac1f6368
45 changed files with 449 additions and 449 deletions
|
@ -113,7 +113,7 @@ public:
|
|||
TextPosition next_position_after(const TextPosition&, SearchShouldWrap = SearchShouldWrap::Yes) const;
|
||||
TextPosition previous_position_before(const TextPosition&, SearchShouldWrap = SearchShouldWrap::Yes) const;
|
||||
|
||||
u32 code_points_at(const TextPosition&) const;
|
||||
u32 codepoint_at(const TextPosition&) const;
|
||||
|
||||
TextRange range_for_entire_line(size_t line_index) const;
|
||||
|
||||
|
@ -159,8 +159,8 @@ public:
|
|||
|
||||
String to_utf8() const;
|
||||
|
||||
Utf32View view() const { return { code_pointss(), length() }; }
|
||||
const u32* code_pointss() const { return m_text.data(); }
|
||||
Utf32View view() const { return { codepoints(), length() }; }
|
||||
const u32* codepoints() const { return m_text.data(); }
|
||||
size_t length() const { return m_text.size(); }
|
||||
void set_text(TextDocument&, const StringView&);
|
||||
void set_text(TextDocument&, Vector<u32>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue