wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
471 stars 98 forks source link

Error with folded multiline code cells #1751

Closed AsamMich closed 1 year ago

AsamMich commented 1 year ago

This is an old bug which was reported already in issue #1674. As this bug is still present in version 23.02.0 and I cannot reopen the issue, I create here a new one.

If a cell contains more than one line of code and its view is collapsed, so that just the first line is visible (hide-mode), the execution produces an error.

Steps to reproduce:

Then the following error occurs: image

Please note, that there is also an additional semicolon added at the end in the first cell. Although this doesn't hurt, it shouldn't be there.