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

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


On 05/11/2013 12:35, Martin wrote:
> 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.

Only for pascal.

for other languages, you need to change the highlighters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131105/ae7d2a49/attachment-0003.html>


More information about the Lazarus mailing list