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:
Confirm wit Version: 6.3.0.0.alpha0+ Build ID: 630db80d17616d635cf2e5f1d5a0852428b794a3 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11;
https://gerrit.libreoffice.org/#/c/73371/
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/60f7236293bc3bd4a9b2962a5f1f9af6f2998808%5E%21 tdf#125355 Beanshell Editor: Corrected indentation when Enter is pressed It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.