CnCNet / WorldAlteringEditor

Map editor for C&C: Red Alert 2, C&C: Tiberian Sun and Dawn of the Tiberium Age.
Other
76 stars 25 forks source link

Improve the line break logic of text boxes. #131

Open ZYJYGE opened 7 months ago

ZYJYGE commented 7 months ago

At present, in text boxes(like Action Description), the newline logic of text is based on the recognition of spaces between words. However, for some other languages (such as Chinese), spaces may not be used in their language systems, which leads to the program believing that the entire paragraph is a single word, resulting in some multilingual processing problems. image

Rampastring commented 5 months ago

This commit should fix it for trigger events and actions https://github.com/Rampastring/WorldAlteringEditor/commit/e77286d90a44504a860e514159a6b6159192e40e