Menu

#1806 Hard Line Wrapping Not Working with 2.11

None
works-for-me
nobody
None
1
2016-06-09
2016-06-08
Freddie
No

Using TeXstudio 2.11 on Mac OS X I find that enabling hard line wrapping in the Adv. Editor tab appears to have no effect and seems identical to soft line wrapping after max. characters. Specifically, when the max number of characters is met a soft line break is inserted as opposed to a hard break.

From texstudio.ini:

Editor\WordWrapMode=3
Editor\WrapLineWidth=72

Running the "Hard Line Break" command from Idefix does work as expected, however.

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-06-08

    hard line wrap mode adds <cr> on line breaks in changed text lines on saving
    In general hard line wrap with a stupid mode and i don't see a use case where it makes sense...</cr>

     
  • Benito van der Zander

    I just created a Debian package and lintian complains, if the description lines are longer than 80 chars

     
    • Jan  Sundermeyer

      Jan Sundermeyer - 2016-06-08

      ?

       
  • Benito van der Zander

    Debian wants the package description to be at most 80 chars / line.

    And I write the description text in TeXstudio.

    The wrap length should be configurable separately for each file

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-06-09

    The behavior is intended. While editing hard wrapping behaves like soft wrapping. Only when saving are the line breaks converted to newlines as Jan explained. Therefore I consider the original request done.

    @Benito, if there is a need for improvement, please store the idea in a separate feature request.

     
  • Tim Hoffmann

    Tim Hoffmann - 2016-06-09
    • status: open --> works-for-me
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB