On 01/06/2012 22:41, Zaher Dirkey wrote:
On Sat, Jun 2, 2012 at 12:23 AM, Martin <[email protected]
<mailto:[email protected]>> wrote:
On 01/06/2012 22:13, Zaher Dirkey wrote:
Hi, Matrin
I am working again to remove unused lines that depend on
SYN_LAZARUS and FPC defines (now SynEditHighlighter.pas)
and noticed LoadFromBorlandRegistry and LoadFromRegistry
become unsufule if i removed, can i remove this functions too?
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3
OK
I was to quick only checked LoadFromBorlandRegistry
Thanks
I removed, UseUserSettings and EnumUserSettings in SynHighlighterPas.pas
also LoadFromRegistry SaveToRegistry become not useful because it load
and save Delphi options
SynHighlighterAny has this function also?
if it ok, i will send the patch in bug tracker.
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3
Actually why are load/ save not useful ? (assuming windows)
They are incomplete, but they save some of the actual config
I don't even know, why the current Load code is disabled. probably some
minol issue (if the save code compiles)...
I don't have the time to test them now.
Best to keep the "functional changes" to separate discussion. that makes
it easier to clean the ifdef.
----
LoadFromBorlandRegistry can still go ....
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus