LibreraReader icon indicating copy to clipboard operation
LibreraReader copied to clipboard

[BUG] Text selection and searching behaviors for asian languages

Open z99h opened this issue 2 years ago • 0 comments

version: 8.4.44-fdroid

Problem 1: selection

If "Select text letter by letter (Asian languages)" is enabled, then "select English text" would lose all the spaces in between and become "selectEnglishtext".

If it's not enabled, then "选中中文" would insert a space for each new line and become "选中 中文" if it happens to be on two lines.

Whether it's enabled or not, selecting text for Asian languages only work on line level not on character/word level, I guess because it treats the whole line as one word as there's no spaces in between?

Problem 2: searching

If the text is:

...选中
中文...

Then searching "选中中文" would not work, while searching "选中 中文" (added a space for \n) would work.

z99h avatar Feb 05 '22 11:02 z99h