Tabstops are shifted with Unicode chars
Posted: 30.05.2018 14:04
Cudatext version 1.55.0.0:
I have a text document that is mostly in ASCII, with a few UTF-8 characters. I have tabs set to 4 and no spaces. That should mean that tab stops should always be set to multiples of 4, i.e. -- 4,8,12,16,20,...etc.
Problem in Cudatext (and not SynEdit) is that for tabs following characters above 7Fh, it will offset the tab stops so that they no longer line up, e.g. -- the text "> int/fix/flt/dbl" will display properly, but the text "≥ int/fix/flt/dbl" will not because the "≥" will cause the tab stops to appear at 5,9,13,17,21,...etc, instead of stopping at 4,8,12,16,20,...etc so that nothing will align with the tabs anymore.
I have a text document that is mostly in ASCII, with a few UTF-8 characters. I have tabs set to 4 and no spaces. That should mean that tab stops should always be set to multiples of 4, i.e. -- 4,8,12,16,20,...etc.
Problem in Cudatext (and not SynEdit) is that for tabs following characters above 7Fh, it will offset the tab stops so that they no longer line up, e.g. -- the text "> int/fix/flt/dbl" will display properly, but the text "≥ int/fix/flt/dbl" will not because the "≥" will cause the tab stops to appear at 5,9,13,17,21,...etc, instead of stopping at 4,8,12,16,20,...etc so that nothing will align with the tabs anymore.