From 751f8be50878185a73ae2edaf610dd3084ff9c55 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 22 Apr 2010 17:16:46 +0000 Subject: [PATCH] Support more folding icon styles: arrows, +/- and no lines (#2935059). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4854 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 4 ++++ data/filetypes.common | 4 ++-- doc/geany.html | 12 ++++++++---- doc/geany.txt | 7 ++++++- src/highlighting.c | 47 ++++++++++++++++++++++++++++------------------- 5 files changed, 48 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d5f523a8..b04ec1a34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,10 @@ Support {pc} wildcard in snippets to escape percent char. * src/editor.c: Recalculate line margin width when zooming (fixes #2990553). + * src/highlighting.c, doc/geany.txt, doc/geany.html, + data/filetypes.common: + Support more folding icon styles: arrows, +/- and no lines + (#2935059). 2010-04-21 Enrico Tröger diff --git a/data/filetypes.common b/data/filetypes.common index 2957b8bf3..d78e5c93e 100644 --- a/data/filetypes.common +++ b/data/filetypes.common @@ -57,8 +57,8 @@ indent_guide=0xc0c0c0;; white_space=0xc0c0c0;0xffffff;true;false # style of folding icons, valid values are: -# first argument: 1 for boxes, 2 for circles -# second argument: 1 for straight lines, 2 for curved lines +# first argument: 1 for boxes, 2 for circles, 3 for arrows, 4 for +/- +# second argument: 1 for straight lines, 2 for curved lines or 0 for none folding_style=1;1; # should an horizontal line be drawn at the line where text is folded diff --git a/doc/geany.html b/doc/geany.html index df3e1438c..cea259270 100644 --- a/doc/geany.html +++ b/doc/geany.html @@ -6,7 +6,7 @@ Geany - +