<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 01/06/2012 22:41, Zaher Dirkey wrote:
<blockquote
cite="mid:CABKDQHw5fP=cuswK9u+ppX4WD5HtiA_sar8S+wwLWALcg=0K=g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">On Sat, Jun 2, 2012 at 12:23 AM, Martin
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lazarus@mfriebe.de" target="_blank">lazarus@mfriebe.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">On 01/06/2012 22:13, Zaher Dirkey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Matrin<br>
<br>
I am working again to remove unused lines that depend
on SYN_LAZARUS and FPC defines (now
SynEditHighlighter.pas)<br>
and noticed LoadFromBorlandRegistry and
LoadFromRegistry become unsufule if i removed, can i
remove this functions too?<br>
<br>
<br>
I am using last revision of Lazarus, FPC 2.6 on
Windows XP SP3<br>
</blockquote>
<br>
</div>
</div>
OK<br>
<br>
</blockquote>
</div>
</div>
</blockquote>
I was to quick only checked LoadFromBorlandRegistry <br>
<br>
<blockquote
cite="mid:CABKDQHw5fP=cuswK9u+ppX4WD5HtiA_sar8S+wwLWALcg=0K=g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
Thanks<br>
<br>
I removed, UseUserSettings and EnumUserSettings in
SynHighlighterPas.pas <br>
also LoadFromRegistry SaveToRegistry become not useful
because it load and save Delphi options<br>
SynHighlighterAny has this function also?<br>
<br>
if it ok, i will send the patch in bug tracker.<br>
<br>
</div>
</div>
<div dir="ltr">I am using last revision of Lazarus, FPC 2.6 on
Windows XP SP3<br>
</div>
</div>
</blockquote>
<br>
<br>
Actually why are load/ save not useful ? (assuming windows)<br>
They are incomplete, but they save some of the actual config<br>
<br>
I don't even know, why the current Load code is disabled. probably
some minol issue (if the save code compiles)...<br>
I don't have the time to test them now.<br>
<br>
Best to keep the "functional changes" to separate discussion. that
makes it easier to clean the ifdef.<br>
<br>
----<br>
LoadFromBorlandRegistry can still go ....<br>
</body>
</html>