gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
12 stars 5 forks source link

Unable to collapse blocks of codes when no model is defined (experiment files) #180

Open lesquoyb opened 1 month ago

lesquoyb commented 1 month ago

Describe the bug In files with no model defined like some experiment files, the editor doesn't allow to collapse blocks of code like it's the case in normal files.

To Reproduce Steps to reproduce the behavior:

  1. open Experiment Example.experiment from library models
  2. see that it's impossible to collapse the experiment block or the test ones

Screenshots Here the base file: image now if we add the model line we can collapse the blocks: image