discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenScad not collapsing code properly

T
Turbo-FLOW
Sat, Oct 8, 2022 8:20 AM

Hi,

I have a nasty problem with my extremely verbose code of more than 78000 lines.
OpenScad does not collapse the blocks of code correctly when I click on the minus symbol.

For example: Clicking on the Minus symbol in the following line

99 - union(){// all of it all for rotation on print bed

does not collapse everything to line 75825 (as it should), although clicking next to the { will highlight the correct corresponding } at line 75825. Instead, it collapses the code to line 2989.
And the object (a surfboard fin) renders just fine.

I'm running OpenScad in Ubuntu 20.04.5 LTS.
The malfunctioning versions are
OpenSCAD-2021.01-x86_64.AppImage  (OpenSCAD version 2021.01 (git 41f58fe))
and 
OpenSCAD-2019.05-x86_64.AppImage (OpenSCAD version 2019.05)

I also have a OpenScad version that does not have this issue:

OpenSCAD-Release-0-Build36.61.glibc2.14-x86_64.AppImage (OpenSCAD version 2015.03-3 ) does collapse and expand the code properly, but the menus are for some reason white on white background which makes it a pain.

I hope someone has an explanation and a fix for this, because I cannot use the code if I cannot collapse the irrelevant parts until I find the bits that I need to edit.

Many thanks for any help with this!

Mik

Sent with Proton Mail secure email.

Hi, I have a nasty problem with my extremely verbose code of more than 78000 lines. OpenScad does not collapse the blocks of code correctly when I click on the minus symbol. For example: Clicking on the Minus symbol in the following line 99 - union(){// all of it all for rotation on print bed does not collapse everything to line 75825 (as it should), although clicking next to the { will highlight the correct corresponding } at line 75825. Instead, it collapses the code to line 2989. And the object (a surfboard fin) renders just fine. I'm running OpenScad in Ubuntu 20.04.5 LTS. The malfunctioning versions are OpenSCAD-2021.01-x86_64.AppImage  (OpenSCAD version 2021.01 (git 41f58fe)) and  OpenSCAD-2019.05-x86_64.AppImage (OpenSCAD version 2019.05) I also have a OpenScad version that does not have this issue: OpenSCAD-Release-0-Build36.61.glibc2.14-x86_64.AppImage (OpenSCAD version 2015.03-3 ) does collapse and expand the code properly, but the menus are for some reason white on white background which makes it a pain. I hope someone has an explanation and a fix for this, because I cannot use the code if I cannot collapse the irrelevant parts until I find the bits that I need to edit. Many thanks for any help with this! Mik Sent with Proton Mail secure email.