<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the patch. I gonna look at it.<br>
<br>
the changes to "message" are ok as they are.<br>
<br>
The rest should be optional. <br>
Instead of checkbocxes to switch them on/off, I probably just make
them a new color setting. so you can set the attributes for
break,exit.... under somethink like "Pascal Commands" (better idea
welcome)<br>
Same for the string types, Yes it seems a waste to have a new
color-field just for those three, but I guess some people will like
the old way (I do)<br>
<br>
Martin<br>
<br>
<br>
On 09/10/2010 12:26, Bernd Kreuss wrote:
<blockquote cite="mid:4CB0515A.1020409@googlemail.com" type="cite">
<pre wrap="">On 09.10.2010 12:43, Bernd Kreuss wrote:
</pre>
<blockquote type="cite">
<pre wrap="">The changes to the highlighter are just handful of lines, I quickly
hacked something together yesterday evening to see how this mode would
look like and it seems to work and I very much like how my programs
appear in this mode.
</pre>
</blockquote>
<pre wrap="">
Attached is a diff of my changes:
* do not highlight String
* do not highlight AnsiString
* do not highlight WideString
* highlight break
* highlight continue
* highlight exit
* highlight message only in a procedure defnition (partial fix to the
bug mentioned earlier, it does not eliminate all cases, judging from the
comments in the source a complete fix would need an improved parser in
the highlighter, but at least it now gets rid of highlighted "message"
anywhere *outside* the line where a procedure is defined.
the above patch is what I now use here locally and I like it much better
than the original one, but I don't think these radical changes would be
easily accepted by the core developers. It tries to highlight the ideas
and intentions in the programmer's mind and not so much the strict and
sometimes odd language definition.
Bernd
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>