From 5a20dacdecd1a8271c73e18ad8d438c9998d5d8f Mon Sep 17 00:00:00 2001
From: Nick Treleaven
Note
+You can customize the folding icon and line styles - see the +filetypes.common Folding Settings.
+If you don't like it or don't need it at all, you can simply disable folding support completely in the preferences dialog.
The folding behaviour can be changed with the "Fold/Unfold all children of @@ -4439,6 +4444,8 @@ or to use the color defined by each filetype for the white space. The fourth argument defines whether to use the background color.
Example: white_space=0xc0c0c0;0xffffff;true;true
+ +The style of folding icons. Only first and second arguments are used.
@@ -4455,8 +4462,8 @@ used.Example: folding_style=1;1;
-Example: folding_style=3;0;
+Default: folding_style=1;1;
+Arrows: folding_style=3;0;
Draw a thin horizontal line at the line where text is folded. Only @@ -6005,7 +6012,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/doc/geany.txt b/doc/geany.txt index 3820e13d9..cd0f88d18 100644 --- a/doc/geany.txt +++ b/doc/geany.txt @@ -714,6 +714,10 @@ marked by vertical lines within this margin. For many filetypes nested folding is supported, so there may be several fold points within other fold points. +.. note:: + You can customize the folding icon and line styles - see the + filetypes.common `Folding Settings`_. + If you don't like it or don't need it at all, you can simply disable folding support completely in the preferences dialog. @@ -3799,6 +3803,8 @@ white_space *Example:* ``white_space=0xc0c0c0;0xffffff;true;true`` +.. _Folding Settings: + folding_style The style of folding icons. Only first and second arguments are used. @@ -3816,9 +3822,9 @@ folding_style * 1 -- for straight lines * 2 -- for curved lines - *Example:* ``folding_style=1;1;`` + *Default:* ``folding_style=1;1;`` - *Example:* ``folding_style=3;0;`` + *Arrows:* ``folding_style=3;0;`` folding_horiz_line Draw a thin horizontal line at the line where text is folded. Only -- 2.11.4.GIT