[Libreoffice-bugs] [Bug 125355] New: Beanshell Editor: Correct intendation when Enter is pressed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 18 13:34:55 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125355

            Bug ID: 125355
           Summary: Beanshell Editor: Correct intendation when Enter is
                    pressed
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: andreas.heinisch at yahoo.de

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:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190518/144b42e2/attachment.html>


More information about the Libreoffice-bugs mailing list