openscad icon indicating copy to clipboard operation
openscad copied to clipboard

Linux 2023.11.14: Curly brackets { } won't auto indent

Open hamster4430 opened this issue 2 years ago • 5 comments

Describe the bug Using curly brackets { } doesn't put/remove an automatic indent in development builds.

To Reproduce With "Preferences - Editor - Indentation - Auto Indent" checked (otherwise it's right behavior), write in editor: "{" hit Enter and write: "}"

Expected behavior In 2021.01 build it'll put and then remove the indent, in 2023.11.14 it won't

Environment and Version info:

  • OS: Manjaro KDE Wayland
  • System: Intel Laptop 64-bit
  • OpenSCAD Version OpenSCAD-2023.11.14.ai16996-x86_64.AppImage

Additional context The issue persists in any development build I tried for about half a year.

hamster4430 avatar Nov 15 '23 23:11 hamster4430

+1 built from a pull from a couple of days ago on Windows MSYS2.

jordanbrown0 avatar Nov 16 '23 00:11 jordanbrown0

I also noticed this is still an issue in 2024.11.14

LinuxLover9 avatar Feb 24 '25 00:02 LinuxLover9

+1. Can we get this fixed?

zumpchke avatar May 11 '25 07:05 zumpchke

Anyone want to contribute this as a Pull Request?

kintel avatar May 11 '25 12:05 kintel

I'm not sure it's worth it doing that at this point. QScintilla is dead, and IIRC indents are very specific to it.

That said, if it turns out to be a small fix, that would be nice. But it's hard to tell upfront how much time the investigation may need.

t-paul avatar May 11 '25 13:05 t-paul