Editor procedure folding - Not working.

Post

Posted
Rating:
#1 (In Topic #984)
Avatar
Expert
Quincunxian is in the usergroup ‘Expert’
Quincunxian is in the usergroup ‘Blogger’
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 ?

Cheers - Quin.
I code therefore I am
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Expert
Quincunxian is in the usergroup ‘Expert’
Quincunxian is in the usergroup ‘Blogger’
Now it's working  :roll:

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
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’
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.
Online now: No Back to the top

Post

Posted
Rating:
#4
Banned

Quincunxian said

Now it's working  :roll:

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 !

Yep i think i've found the same thing.
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
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Expert
Quincunxian is in the usergroup ‘Expert’
Quincunxian is in the usergroup ‘Blogger’
 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…

Cheers - Quin.
I code therefore I am
Online now: No Back to the top
1 guest and 0 members have just viewed this.