Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 21:49, Martin Frb via lazarus wrote: On "Editor > Display" you can also change the "Gutter Separator index" from 3 to 4 => then the separator (a gray line /color can be changed) will be between the fold-tree and the text (and with that another 1 or 2 pixels distance / not much,

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 21:12, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb wrote: To entertain my lack of imagination: What is the issue, if e.g. Pascal shows fold indicators, and you just don't use them? Secondly, I sometimes inadvertently click on the fold markers. Ok, good reason. T

Re: [Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
On Sun, 19 Feb 2023, Martin Frb wrote: On 19/02/2023 19:06, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 19:06, Michael Van Canneyt wrote: On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by cha

Re: [Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
On Sun, 19 Feb 2023, Martin Frb via lazarus wrote: On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by changing the source in each highlighter, and make th

Re: [Lazarus] Folding ?

2023-02-19 Thread Martin Frb via lazarus
On 19/02/2023 12:28, Michael Van Canneyt via lazarus wrote: Hi, Is it possible to enable/disable code folding on a per-language basis  ? No, or only in the way you described below. Or by changing the source in each highlighter, and make the pretend they don't fold. In any case, there also re

[Lazarus] Folding ?

2023-02-19 Thread Michael Van Canneyt via lazarus
Hi, Is it possible to enable/disable code folding on a per-language basis ? I would like to enable it only for HTML/XML and disable for all other languegs. (I'd add JSON, but there is no language JSON in the IDE ;), Currently it seems you can only do this by enabling code folding globally,