wxMaxima-developers / wxmaxima

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

Cursor does not line up to text after () is added. #1798

Closed richardgobeli closed 9 months ago

richardgobeli commented 10 months ago

After doing a left round bracket the cursor jumps to after the right round bracket. This is very confusing for editing. version from last night 9-4-2023. I have since reloaded Aug. 24 version.

richardgobeli commented 10 months ago

9/9/2023 version. image The cursor is outside the round brackets. image

richardgobeli commented 10 months ago

It is getting better, but it still has issues. Here it shows double highlights. The cursor is before the right round bracket. image The other issue is it does not let me edit the line. If I cursor left, it does not move until I do the correct number of left arrows and then it is at the beginning. I can't select or position the cursor on the line. Here, I did the left arrow once. image image

gunterkoenigsmann commented 9 months ago

Thanks for this bug report!

Perhaps this time I have tried to do a bigger change than I should have done: The crashes in the config dialogue weren't reproducible on my computer. Even valgrind didn't find out that anything misbehaved - and in the end I made a static code analysis tool run that detected several hundred places where the code could possibly be erroneous. I fixed these - and everything run finde, so I started with 3 other static code analysis tools - and the last one I tried caused me to change about 800 lines for 40 potential errors it found => getting everything to work again will probably need some time and much testing. But my hope is, still, that the result will be a much more stable program...

...hope that works out, in the end.

richardgobeli commented 9 months ago

The last changes crashed the compiler on the Wolfgang Dautermann site. So I can't see if this bug is fixed.