forTEXT / catma

Computer Assisted Text Markup and Analysis
https://www.catma.de
GNU General Public License v3.0
87 stars 8 forks source link

Annotate: No line breaking/word-wrap with Chinese text #331

Open pcdi opened 1 year ago

pcdi commented 1 year ago

Describe the bug In the annotate module, lines of Chinese text are not wrapped, so very long lines appear, making it very difficult to read. I presume this bug also applies to other CJK texts. In this current form, the annotation feature and therefore the whole CATMA suite is near-unusable for Chinese texts.

To Reproduce Steps to reproduce the behavior:

  1. Import Chinese text document (as plain text)
  2. Open the document in annotate
  3. Long lines will just extend to the right and a scroll bar appears at the bottom of the text pane.

Expected behavior Long lines should (optionally) be broken (soft-wrapped).

Information about your environment

Additional context Possibly related to #260