[Lazarus] [SynEdit] Highlight full line when using background color

Martin lazarus at mfriebe.de
Tue Nov 5 13:35:13 CET 2013


On 05/11/2013 10:59, Martin wrote:
> On 05/11/2013 10:36, Zaher Dirkey wrote:
>> Hi,
>> Is it possible when set a background color of the comment (for 
>> example) to highlight the full line to make it prettier.
>> I am not talking in LazarusIDE, it is in SynEdit because I use it in 
>> my project 'miniedit'.
> Not currently.
> Needs to be implemented.
>
> Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates 
> a dummy token for the end of line. It would need to get the info from 
> the HIghlighter.

Try attached patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131105/b89511e8/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syn_comment_full_line_hl.patch
Type: text/x-diff
Size: 5035 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131105/b89511e8/attachment-0001.patch>


More information about the Lazarus mailing list