Page 1 of 1

triangles instead of arrows for folds?

Posted: Tue Apr 07, 2015 2:17 pm
by Josef Templ
On behalf of the BlackBox Framework Center I would like to ask the
community if there are any general concerns about switching
from arrows to triangles for the display of fold views.

▶closed fold◀
▷open fold◁

The background is that the currently used fold arrows are not available under all platforms,
not even under all Windows platforms, or look very different on some platforms.
The usage of triangles as shown above would reduce this problem
because the triangles are regular Unicode characters
available under all Windows versions and also under wine.

- Josef

Re: triangles instead of arrows for folds?

Posted: Thu Apr 09, 2015 5:57 am
by akastargazer
Nice idea.

Re: triangles instead of arrows for folds?

Posted: Wed Jun 10, 2015 8:45 am
by Romiras
Josef Templ wrote:▶closed fold◀
▷open fold◁
I'd suggest instead a following notation:
▶closed fold◀
◁open fold▷
It looks a bit matter of taste.

Re: triangles instead of arrows for folds?

Posted: Wed Jun 10, 2015 11:47 am
by Josef Templ
The center has decided to adopt a different and even better proposal.
It uses filled markers with plus and minus signs inside very much as in
Visual Studio's folding text editor. The markers are drawn explicitly
without any need for special characters in special fonts.

See for example: http://blackboxframework.org/unstable/m ... a1.187.zip
and go to Info->Repository.

- Josef