CEditorComponent
for CEditorMap
and all CLayer
types. This commit is already base on #7017. Unfortunately it was not possible to keep this commit much smaller because of how these types depend on each other.
data/languages/
you can then send the updated versions to deen or make a pull request on githubOnWindowResize
listener in the engine client instead of the game client and properly dispatch the event also to the editor, so text containers in the editor are cleared when the window is resized.
Closes #7018.
str_utf8_offset_bytes_to_chars
and str_utf8_offset_chars_to_bytes
functions to base system to convert between byte and UTF-8 character offsets in UTF-8 strings.
Previously, this was separately implemented in the textrender and in the lineinput helper.
These textrender functions are entirely replaced by the new functions:
ITextRender::SelectionToUTF8OffSets
(by str_utf8_offset_chars_to_bytes
)
ITextRender::UTF8OffToDecodedOff
(by str_utf8_offset_bytes_to_chars
)
downloader
crate, which also decodes snaps