<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Reenen Laurie wrote:
<blockquote
cite="mid:3155cc510903140500n386aefc4k2405e3dd63db913a@mail.gmail.com"
type="cite">(This email doesn't make 100% sense if you read your
emails in 100% text -- no formatting)<br>
<br>
Hi<br>
<br>
I really like the Text Highlighter in SynEdit, although there is a
quirk that sometimes gets to me...<br>
<br>
In the following code:<br>
<br>
<span style="font-family: courier new,monospace;">procedure loop(t :
Tstr</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">ngl</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">st);</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">var </span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> </span><span
style="background-color: rgb(255, 255, 0); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;"> : </span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">nteger;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> NewL</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">st : TStr</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">ngl</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">st;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">beg</span><span
style="background-color: rgb(255, 204, 255); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;">n</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> </span><span
style="background-color: rgb(255, 255, 0); font-family: courier new,monospace;">i</span><span
style="font-family: courier new,monospace;"> := 0;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"></span></blockquote>
....<br>
<blockquote
cite="mid:3155cc510903140500n386aefc4k2405e3dd63db913a@mail.gmail.com"
type="cite">If I hover on i (in <span
style="background-color: rgb(255, 255, 0);">i</span> := 0), then all
the i's are highlight... TStr<span
style="background-color: rgb(255, 255, 102);">i</span>ngL<span
style="background-color: rgb(255, 255, 0);">i</span>st...<br>
<br>
Can't it just highlight the i variables? As indicated by the yellow
highlighted parts, not the Pink highlighted parts.<br>
<br>
</blockquote>
As discussed on the chat, but for anyone else who may have the issue.
this can be configured:<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Automatic_features">http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Automatic_features</a><br>
<br>
<br>
Best Regards<br>
Martin<br>
</body>
</html>