<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Up key does not move to line ended by hyphen"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124870">124870</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Up key does not move to line ended by hyphen
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.2.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>horvath@webarticum.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Up key does not move to line ended by hyphen if you start the moving from a
more right position than the hyphen.

Steps to Reproduce:
1. Open a new document, and write some long text.
2. Type a hyphen in a word, ensure that the word will be broken.
3. Move the cursor to a later line's end that is more at the right that the
hyphen.
4. Press the up key repeatedly, try to move to the top of the document.

Actual Results:
You can not reach the top. Cursor will get stuck at the start of the line next
to the hyphen. (Behavior is the same that this line would be the first line in
the document.)

Expected Results:
Cursor should be move to the previous line.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Sadly, I can not attach a sample.

Copy the above sample text into a new document with standard settings. Move
after the "!" sign. Press the up key repeatedly.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse-cillum dolore eu
fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est! laborum.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>