Forum > SynEdit

TSynPythonSyn

(1/1)

Dzandaa:
Hi

Using
 lazarus 2.2.4
 FPC 3.2.2
 on Windows and Linux.

Using TSynEdit plus TSynPythonSyn, is there a way of showing Spaces as empty Spaces and Tab as something visible?

In TSynPythonSyn, I use SpaceAttri with
 FrameColor: clGray
 FrameEdges: sfeBottom
 FrameStyle: slsWaved

but both Spaces and Tabs have the same look.

Thank you.

B->



Martin_fr:
Haven't tested it with the Python HL, but there is


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---SynEdit.Options := SynEdit.Options + [eoShowSpecialChars]
And SynEditMarkupSpecialChar, which can be used to control the color.

Dzandaa:
Hi,

Thank you very much.

B->

Navigation

[0] Message Index

Go to full version