Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

editor colors changed drastically

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

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?

TIA,

Marc Santhoff -------------- next part -------------- A non-text attachment was scrubbed... Name: Laz-Fehlfarben.png Type: image/png Size: 51649 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100525/65e9d9c9/attachment-0001.png>

Reply by email

Martin
to Marc Santhoff
Marc Santhoff wrote 14 lines
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.

I will look at fixing it => ghowever if you did open the enviroment options, and closed it with ok, then your old file is replaced, by a new one, that has the wrong colors => then you must change it by hand.

- in the old file the entire background was painted with the back-color for spaces/
- Now only real spaces use this. There is a "default" color, where you can set the background

So it is easy to fix

Reply by email

Martin
to Martin
Martin wrote 18 lines
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.

Reply by email

Marc Santhoff
to Martin
Martin wrote 20 lines
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 ...

Marc Santhoff

Reply by email

Martin
to Marc Santhoff
Marc Santhoff wrote 30 lines
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

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

Martin

Reply by email

Marc Santhoff
to Martin
Martin wrote 43 lines
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

Reply by email