[ 
https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joern Kottmann updated UIMA-2271:
---------------------------------

    Description: 
The CAS Editor adds additional line breaks depending on the line length hint. 
This is a rather strange way to break long lines.

The text wrap can be adjusted automatically when setWordWrap of the StyledText 
widget is set to true (depending on the editor size). Therefore I suggest that 
we remove the "line length hint" logic and instead replace it with the styled 
texts word wrap logic. This should be configurable in the settings.

  was:
The CAS Editor adds sometimes additional line breaks, maybe after X characters 
in one line? Is this behavior intended? I haven't looked at the source  for 
this.

I'll attach three example files:
- the text file
- screenshot of the cas editor
- screenshot of the cev plugin

       Assignee: Joern Kottmann
    
> CAS Editor adds additional line breaks?
> ---------------------------------------
>
>                 Key: UIMA-2271
>                 URL: https://issues.apache.org/jira/browse/UIMA-2271
>             Project: UIMA
>          Issue Type: Question
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> The CAS Editor adds additional line breaks depending on the line length hint. 
> This is a rather strange way to break long lines.
> The text wrap can be adjusted automatically when setWordWrap of the 
> StyledText widget is set to true (depending on the editor size). Therefore I 
> suggest that we remove the "line length hint" logic and instead replace it 
> with the styled texts word wrap logic. This should be configurable in the 
> settings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to