[Lazarus] IDE editor BUG

Martin lazarus at mfriebe.de
Thu Oct 10 11:54:38 CEST 2013

On 10/10/2013 10:38, FreeMan wrote:
> I'm using kubuntu 13.04 x64 and widgetset QT.
> source file encodeing UTF8.  for test just move cursor on string, 
> painting is broken. if try select text via mouse, text moveing. 
> moveing just on view, string not change. just painting problem.
This would indicate that the font you use is NOT monospaced.
SynEdit expects are monospaced font, and makes assumption based on this.

In some cases SynEdit detects such fonts , and forces chars into 
monospacing (with side effects, so not done as a default). But if it is 
just a subset of chars then it may not detect this.

SynEdit only test with some latin chars. SO if latin chars are 
monospaced in your font, but turkish are not, then SynEdit does not 
detect that, and you get the broken display.

> ?', PChar(_Caption),

More information about the Lazarus mailing list