You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (Created JIRA)" <de...@uima.apache.org> on 2011/10/20 17:55:11 UTC

[jira] [Created] (UIMA-2271) CAS Editor adds additional line breaks?

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
            Priority: Minor


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

--
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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132536#comment-13132536 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

Ok, I will work on it now.
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Updated] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Peter Klügl (Updated JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl updated UIMA-2271:
------------------------------

    Attachment: text.txt
                cev.jpg
                caseditor.jpg
    
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Updated] (UIMA-2271) Annotation Editor should not emulate word wrapping with line breaks

Posted by "Joern Kottmann (Updated) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Summary: Annotation Editor should not emulate word wrapping with line breaks  (was: CAS Editor adds additional line breaks?)
    
> Annotation Editor should not emulate word wrapping with line breaks
> -------------------------------------------------------------------
>
>                 Key: UIMA-2271
>                 URL: https://issues.apache.org/jira/browse/UIMA-2271
>             Project: UIMA
>          Issue Type: Improvement
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>         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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132535#comment-13132535 ] 

Peter Klügl commented on UIMA-2271:
-----------------------------------

That sounds great.
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132528#comment-13132528 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

You need to re-open the editor.
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131783#comment-13131783 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

Do you need to disable it?
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Commented] (UIMA-2271) Annotation Editor should not emulate word wrapping with line breaks

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142977#comment-13142977 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

We need to enhance the annotation drawing code to work properly with word wrapping by the StyledText.

I suggest to move this directly after the 2.4.0 release because it is likely to introduce regressions, which might not be found in the short time until the release is done.
                
> Annotation Editor should not emulate word wrapping with line breaks
> -------------------------------------------------------------------
>
>                 Key: UIMA-2271
>                 URL: https://issues.apache.org/jira/browse/UIMA-2271
>             Project: UIMA
>          Issue Type: Improvement
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>         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

       

[jira] [Updated] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Updated) (JIRA)" <de...@uima.apache.org>.
     [ 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

       

[jira] [Updated] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Updated) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 2.4.0SDK
       Issue Type: Improvement  (was: Question)
    
> CAS Editor adds additional line breaks?
> ---------------------------------------
>
>                 Key: UIMA-2271
>                 URL: https://issues.apache.org/jira/browse/UIMA-2271
>             Project: UIMA
>          Issue Type: Improvement
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>         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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132533#comment-13132533 ] 

Peter Klügl commented on UIMA-2271:
-----------------------------------

That works for me for now, but I'd like to investigate the automatic adjustment when the TextMarker causes less work. I think that is a useful feature. I have some CASs that have really long lines, so I would have to change the Line Length Hint each time when I switch between the CASs. 
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Resolved] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Resolved) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann resolved UIMA-2271.
----------------------------------

    Resolution: Fixed
      Assignee: Peter Klügl  (was: Joern Kottmann)

Please test and close the issue if works for you.
                
> 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: Peter Klügl
>            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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131716#comment-13131716 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

Yes it is replacing spaces with line breaks in the text which is displayed in the editor. The CAS Sofa itself is not modified. There is also a setting to adjust this behavior. Maybe we should add a configuration option to disable it completely.
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132527#comment-13132527 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

"I normally would expect the editor adjust the text automatically dependent on its width."

I don't remember why that didn't work, but you are right, thats how it should be.

As far as I know the the line length hint works, but I will test it now, to disable it more or less you can set it to a very large value e.g. 50000.

                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Reopened] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Reopened) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joern Kottmann reopened UIMA-2271:
----------------------------------

      Assignee: Joern Kottmann  (was: Peter Klügl)

It does not work with the current annotation drawing code and multi line annotations.
                
> 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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132532#comment-13132532 ] 

Joern Kottmann commented on UIMA-2271:
--------------------------------------

The text wrap can be adjusted automatically when setWordWrap of the StyledText widget is set to true. 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.

What do you think?
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Updated] (UIMA-2271) Annotation Editor should not emulate word wrapping with line breaks

Posted by "Joern Kottmann (Updated) (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: 2.4.0SDK)

Defer past 2.4.0.
                
> Annotation Editor should not emulate word wrapping with line breaks
> -------------------------------------------------------------------
>
>                 Key: UIMA-2271
>                 URL: https://issues.apache.org/jira/browse/UIMA-2271
>             Project: UIMA
>          Issue Type: Improvement
>          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

       

[jira] [Commented] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132516#comment-13132516 ] 

Peter Klügl commented on UIMA-2271:
-----------------------------------

Hmm, partially yes. Is the setting the "Line Length Hint"? Changing this value didn't change the behavior. I don't want to start a huge discussion about this, but why did you build it that way? I normally would expect the editor adjust the text automatically dependent on its width.
                
> 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
>            Priority: Minor
>         Attachments: caseditor.jpg, cev.jpg, text.txt
>
>
> 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

--
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

       

[jira] [Closed] (UIMA-2271) CAS Editor adds additional line breaks?

Posted by "Peter Klügl (Closed JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl closed UIMA-2271.
-----------------------------


Works for me perfectly. Thanks.
                
> 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: Peter Klügl
>            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