TomKrauss / pks-edit

A code editor originally implemented for Atari ST - now available as Windows 64 Bit application
Mozilla Public License 2.0
8 stars 2 forks source link

Support Code Folding #4

Open TomKrauss opened 2 years ago

TomKrauss commented 2 years ago

Currently PKS-Edit supports most features expected from a modern code editor. One feature, which is missing (or only hidden / supported in a very flaky way) is the ability to hide portions of text aka code folding.

We should allow to define folding patterns in the grammar defining foldable areas which can be temporarily hidden to provide a quick overview over e.g. the outline of a document.

Alternatively or additionally we could support an outline view for documents showing e.g. the list of functions / chapters of a code / text document.