<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 - Beanshell Editor: Correct intendation when Enter is pressed"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125355">125355</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Beanshell Editor: Correct intendation when Enter is pressed
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>andreas.heinisch@yahoo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
At the moment, when you insert a new line, the cursor always jumps to the
beginning of the line regardless of the intendation of the previous line. It
should rather stay at the intendation level or create another tab like other
IDEs do.

Example 1:
while (true) {
....doSomething(); // hiting enter goes to the new line, rather staying at the
correct intendation
}

Example 2:
while (true) { // hiting enter goes to the new line, rather inserting a correct
intendation 

Actual Results:


Expected Results:



Reproducible: Always


User Profile Reset: No



Additional Info:</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>