[Lazarus] editor colors changed drastically

Marc Santhoff M.Santhoff at web.de
Wed May 26 20:01:54 CEST 2010


Am Dienstag, den 25.05.2010, 19:20 +0100 schrieb Martin:
> On 25/05/2010 18:57, Marc Santhoff wrote:
> > Am Dienstag, den 25.05.2010, 12:53 +0100 schrieb Martin:
> >    
> >> On 25/05/2010 12:20, Martin wrote:
> >>      
> >>> On 25/05/2010 04:19, Marc Santhoff wrote:
> >>>        
> >>>> Hi,
> >>>>
> >>>> I've updated lazarus from svn coming from version 25285 to 25631 and now
> >>>> the editor colors are not shown as expected.
> >>>>
> >>>> The color scheme used is "Pascal Classis" with backgrounds redefined to
> >>>> navy instead of blue. With this version the changed color is only shown
> >>>> partly at the beginning of lines, the empty space and some more places
> >>>> are blue again. With the last version used the editor window background
> >>>> was completely filled navy as i want it to be.
> >>>>
> >>>> Is this a bug or some regular change and I have to redo my personal
> >>>> settings?
> >>>>          
> >>> The new code should convert old files....
> >>>
> >>> However reading your mail, there may indeed be a bug.
> >>>        
> >> If you still have your old file, please test.
> >>      
> > If it is converted I don't, but I'll grab it from the last backup and
> > test, stay tuned ...
> >
> >    
> 
> I updated Lazarus, so it will (hopefully) do a better converion now...
> 
> But, only if it had not saved the new converted file already.
> 
> -----------------
> <color Version="x">
> <LangObjectPascal Version="x">
> 
> if x=6 => your file was saved, after conversion => damage is permanent, 
> you must correct the colors by hand
> if x<=5 => should work now

Hmm, looks like this:

  <EditorOptions Version="5">
    <Color Version="6">
      <LangObjectPascal Version="5">

in the file actually in use.

> That is, I understand the only color that was wrong, was the global 
> background ?

Yes.

Testing by restoring hte file editoroptions.xml from a good backup

  <EditorOptions Version="5">
    <Color Version="4">
      <LangObjectPascal Version="5">

showed all those beautiful colors as they were before and as it was
expected. Bug ficed, good work and thank you!

-- 
Marc Santhoff <M.Santhoff at web.de>





More information about the Lazarus mailing list