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

Zaher Dirkey parmaja at gmail.com
Tue Nov 5 14:52:52 CET 2013


Yes, thanks :) that is too fast, it is working on my PHP highlighter too,
see the attachment.

Only the last line, but it is fine like that.

Thanks again.


On Tue, Nov 5, 2013 at 2:42 PM, Martin <lazarus at mfriebe.de> wrote:

>  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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>


-- 
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3

Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131105/5c2cd888/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highlight-full-line-work.PNG
Type: image/png
Size: 9311 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131105/5c2cd888/attachment-0003.png>


More information about the Lazarus mailing list