Installed Gambas on a newly built machine. (Mint 20.3 - Gambas teams PPA )
Everything works but editor 'folding'
The folding underlying process is 'working', as if I go to Preferences-Editor-Procedure Folding and turn it off.
Any folded pages in a current project are unfolded.
Turning it back on and trying to click on the + or - in the editor simply won't do anything.
I have had this before on previous rebuilds but "it just went away" after a short time which was not helpful.
I've toggled locking the Form code and no change.
Any ideas ?
Editor procedure folding - Not working.
- Quincunxian
- Posts: 173
- Joined: Sunday 25th June 2017 12:14am
- Location: Western Australia
Editor procedure folding - Not working.
Cheers - Quin.
I code therefore I am
I code therefore I am
- Quincunxian
- Posts: 173
- Joined: Sunday 25th June 2017 12:14am
- Location: Western Australia
Re: Editor procedure folding - Not working.
Now it's working
Working on my current project and the editor froze. Unable to edit anything but was able to scroll, open new form or class code.
Again, I've had this before and the simple solution is to restart Gambas.
Once I restarted, the editor was unfrozen and annoyingly, the code folding was working again.
(I have opened and closed Gambas several times in the last 2 days and the code folding was not working each time)
What I was doing before the editor froze, was opened the browse function for identifying an image for a button control. That's it.
On returning to the editor , it had frozen.
Unless this is very coincidental, I feel that the two conditions are related.
Gremlins !
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Working on my current project and the editor froze. Unable to edit anything but was able to scroll, open new form or class code.
Again, I've had this before and the simple solution is to restart Gambas.
Once I restarted, the editor was unfrozen and annoyingly, the code folding was working again.
(I have opened and closed Gambas several times in the last 2 days and the code folding was not working each time)
What I was doing before the editor froze, was opened the browse function for identifying an image for a button control. That's it.
On returning to the editor , it had frozen.
Unless this is very coincidental, I feel that the two conditions are related.
Gremlins !
Cheers - Quin.
I code therefore I am
I code therefore I am
- cogier
- Site Admin
- Posts: 1127
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Editor procedure folding - Not working.
On your new installation, can you easily edit the Group property? I am using Mint 21 and I have to hack the .form file to add Group details as the new ComboBox does not work.
- BruceSteers
- Posts: 1578
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
Re: Editor procedure folding - Not working.
Yep i think i've found the same thing.Quincunxian wrote: ↑Sunday 5th February 2023 3:10am Now it's working![]()
Working on my current project and the editor froze. Unable to edit anything but was able to scroll, open new form or class code.
Again, I've had this before and the simple solution is to restart Gambas.
Once I restarted, the editor was unfrozen and annoyingly, the code folding was working again.
(I have opened and closed Gambas several times in the last 2 days and the code folding was not working each time)
What I was doing before the editor froze, was opened the browse function for identifying an image for a button control. That's it.
On returning to the editor , it had frozen.
Unless this is very coincidental, I feel that the two conditions are related.
Gremlins !
After debugging or something, suddenly i cannot edit text and have to reload the project.
something is not being un-locked after it's been locked.
I'll make a bug report
If at first you don't succeed , try doing something differently.
BruceS
BruceS
- Quincunxian
- Posts: 173
- Joined: Sunday 25th June 2017 12:14am
- Location: Western Australia
Re: Editor procedure folding - Not working.
Thanks Bruce.
I feel a little 'less' crazy.
Sometimes I think some of the weird stuff that Gambas does (occasionally to very occasionally) is a tribe of gremlins nesting in my code.
I've also lost faith in the global search and replace 'Replace All' - Its screwed up my code way too many times.
Thankfully, the one where you copy some code in the same file (reposition it) and it adds the same code after the last procedure in the file seems to have stopped for now.
Haven't seen that one for quite some time.
off to feed the gremlins...
I feel a little 'less' crazy.
Sometimes I think some of the weird stuff that Gambas does (occasionally to very occasionally) is a tribe of gremlins nesting in my code.
I've also lost faith in the global search and replace 'Replace All' - Its screwed up my code way too many times.
Thankfully, the one where you copy some code in the same file (reposition it) and it adds the same code after the last procedure in the file seems to have stopped for now.
Haven't seen that one for quite some time.
off to feed the gremlins...
Cheers - Quin.
I code therefore I am
I code therefore I am