New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect word-wrap of MadEdit/wxMEdit that does not meet the Unicode Standard #129

Closed
hltj opened this Issue Nov 26, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@hltj
Contributor

hltj commented Nov 26, 2015

This is a historical bug of MadEdit/wxMEdit that word-wrap does not meet the Unicode® Standard Annex #⁠14: Unicode Line Breaking Algorithm.

e.g. the followed table is excerpted from the standard:

CL Close Punctuation “}”, “❳”, “⟫” etc. Prohibit line breaks before
CP Close Parenthesis “)”, “]” Prohibit line breaks before
EX Exclamation/Interrogation “!”, “?”, etc. Prohibit line breaks before

but all these characters can be breaked before in MadEdit/wxMEdit, and result them at beginning of line. This make Parlez-vous français? may be wraped as incorrect lines Parlez-vous français and ?:
madedit_wrap_bug_en wxmedit_wrap_bug_en

There were more and more incorrect case, check the standard Unicode Line Breaking Algorithm.

@hltj hltj added the bug label Nov 26, 2015

@hltj hltj self-assigned this Nov 26, 2015

@hltj hltj added this to the 3.1 milestone Nov 26, 2015

@hltj

This comment has been minimized.

Contributor

hltj commented Nov 26, 2015

It was already fixed at 3bd48b3 at same time as fixing #96 .
wxMEdit compiled with the newest code does meet the Unicode® Standard Annex #⁠14: Unicode Line Breaking Algorithm.

wxmedit_wrap_bug_en ⇦ before 3bd48b3
wxmedit_wrap_correct_en ⇦ newest

@hltj hltj closed this Nov 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment