Off topic, In my PHP highlighter I use special documentation comment that started with /** and normal comment highlight started with /* The idea I used the comments to ignore the code while the documentation need to be read by developers. If I set the comment to be gray on white it is easy for my eyes to ignore it, while the documentation must be readable.
Best regards On Tue, Nov 5, 2013 at 3:52 PM, Zaher Dirkey <[email protected]> wrote: > 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 <[email protected]> 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 >> [email protected] >> 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 > -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
