NetLogo/NetLogo

Editor folds: Pressing "Enter" at end of a fold does not skip the fold

Geschlossen

#2.317 geöffnet am 30.08.2024

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (236 Forks)batch import
editorgood first issue

Repository-Metriken

Stars
 (958 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 154T 14h) (5 gemergte PRs in 30 T)

Beschreibung

Code to reproduce

Steps to reproduce

  • Fold up abc
  • Put your cursor at the end of the folded-up line
  • Press Enter or Return

What should happen

  • The fold stays closed
  • A newline is created after the fold
    • This would allow you to, for example, add a new procedure to the end of a "Code" tab that currently ends with a folded-up procedure

What actually happens

  • The fold opens
  • A newline is created immediately after to abc

Contributor Guide