I have a Problem with the Syntax-Highlighting for PHP in Dev-PHP 2.0.13.236. When I select the Highlighting for PHP, the code is invisible; it has the same color of the background. So I can't see anything. When I select an other Highlighter I can see my code. In the General Options there is no white textcolor defined.
I hope you can understand my english *g*
Yours
av3nger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could be a feature ;)
Please, try the following :
- Menu Options >> General options
- Select the second tabsheet (Syntax) in the appearing window
- Select items in the list box (Comment, Identifier, Number, ... ), then for each set the colors (background, foreground) and the styles (bold, italic) you like.
Note : you can use each color box like a combo (by clicking on the arrow) or like a button (by clicking on the combo itself).
Thanks for your report,
Pierre.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-01
I know that I can select the colors for the Syntax Highlighting in the tab Syntax of the general options. But the colors are already choosed; and there are the same colors linke in "Multi", but I can't see anything.
When I use the Mutli-Highlighter I can see everything of my code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok. That was to be checked ;)
Never heard of problems about colors before.
Q1 - Are you using Dev-PHP colors default settings ?
Q2 - Did yo try to change all the background colors (for each item, click on the backround combo then on the background button) ?
Q3 - Which screen parameters are defined in the computer ?
Q4 - Did you set a compatibility mode for Dev-PHP, like 256-colors or something like that ?
Dev-PHP defines colors in files
%APPDATA%\PHP.ini
%APPDATA%\Multi.ini
...
These files should be created if missing.
Q5 - Can you test on another computer ?
Q6 - Can you uninstal Dev-PHP, then instal it once again ?
Q7 - ... nothing else at this time :-\
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-02
A1 - Yes I am. I had never changed the color settings.
A2 - Yes, but without success
A3 - I'm not sure what "screen parameters" are. I try to guess the answer. My Resolution is 1024x768 and the color depth is 32 bit
A4 - I tested it and the problem was still existing.
The PHP.ini and Multi.ini weren't existing. I created the files, opened Dev-PHP and the Syntax Options and then closed the program. I thought Dev-PHP would save the colors into the files, but the files are still empty. I looked in a folder of the last stable version and there also wasn't a PHP.ini and a Multi.ini
Q5 - My brother installed Dev-PHP 2.0.13.236 and has the same problem: no text is visible.
Q6 - Yes, of cource ;) I uninstalled Dev-PHP and installed it once again, but the problem is still existing.
Q7 - You wan't something else? Maybe you wan't to see a screenshot ;)
Your screenshot is showing a really pretty Dev-PHP ;)
Well, our problem is going to be a bug :(
Fortunately (or unfortunately) we're not able to reproduce it, yet.
Q1 - Could you change 'Editor Color:' (from General-tab this is editor background color 'Editor Farbe:' ) ?
Q2 - At this moment, the only remaining thing is %APPDATA%.
This is a hidden read-only directory. It could have been translated like in 'c:\Anwendungsdaten\av3nger', so 'c:\Application Data\av3nger' could be a useless directory...
If you find a %APPDATA%\devphp\PHP.ini, could you replace its content by :
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-03
A1 - I already changed the editor color; without success again.
A2 - Oh, my mistake. Last time I looked in in the installation folder and not in the application data folder. Now I replaced the content of my php.ini with your content. Then I started Dev-PHP and selected the PHP-Highlighter. I don't want it, but I think I have to say: "No success" :/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I hate to say that, but all these sorts of things work fine for me.
Well, we tried to discover what was wrong. Let's try another side. Your 'Multi.ini' file is ok, isn't it ?
Where are the diffs ?
What does your 'Multi.ini' file look like ?
Regards,
Pierre.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-02-03
>>Your 'Multi.ini' file is ok, isn't it?
Yes, my Mutli.ini is okay. I even copied the Multi.ini and renamed the copy in 'PHP.ini'. But the text was still hidden. So in that case there was no difference.
>>What does your 'Multi.ini' file look like ?
I'm not sure how to answer. Here my Multi.ini, if you wanted to see it:
The provided Multi.ini is slightly different from the original one. But it's not enough because background and foreground colors of identical sections (from your Multi and your PHP - since we know that your PHP is the same as mine) are the sames.
It could come from the files you're editing - Are you using Unicode, BOM, ..., or just Ansi files ?
Dev-PHP doesn't highlight text, it's using the UniSynEdit component (quite stable beta version) from : http://mh-nexus.de/unisynedit.htm http://synedit.sf.net/
However i didn't find there any problem like the one reported here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a Problem with the Syntax-Highlighting for PHP in Dev-PHP 2.0.13.236. When I select the Highlighting for PHP, the code is invisible; it has the same color of the background. So I can't see anything. When I select an other Highlighter I can see my code. In the General Options there is no white textcolor defined.
I hope you can understand my english *g*
Yours
av3nger
Could be a feature ;)
Please, try the following :
- Menu Options >> General options
- Select the second tabsheet (Syntax) in the appearing window
- Select items in the list box (Comment, Identifier, Number, ... ), then for each set the colors (background, foreground) and the styles (bold, italic) you like.
Note : you can use each color box like a combo (by clicking on the arrow) or like a button (by clicking on the combo itself).
Thanks for your report,
Pierre.
I know that I can select the colors for the Syntax Highlighting in the tab Syntax of the general options. But the colors are already choosed; and there are the same colors linke in "Multi", but I can't see anything.
When I use the Mutli-Highlighter I can see everything of my code.
Ok. That was to be checked ;)
Never heard of problems about colors before.
Q1 - Are you using Dev-PHP colors default settings ?
Q2 - Did yo try to change all the background colors (for each item, click on the backround combo then on the background button) ?
Q3 - Which screen parameters are defined in the computer ?
Q4 - Did you set a compatibility mode for Dev-PHP, like 256-colors or something like that ?
Dev-PHP defines colors in files
%APPDATA%\PHP.ini
%APPDATA%\Multi.ini
...
These files should be created if missing.
Q5 - Can you test on another computer ?
Q6 - Can you uninstal Dev-PHP, then instal it once again ?
Q7 - ... nothing else at this time :-\
A1 - Yes I am. I had never changed the color settings.
A2 - Yes, but without success
A3 - I'm not sure what "screen parameters" are. I try to guess the answer. My Resolution is 1024x768 and the color depth is 32 bit
A4 - I tested it and the problem was still existing.
The PHP.ini and Multi.ini weren't existing. I created the files, opened Dev-PHP and the Syntax Options and then closed the program. I thought Dev-PHP would save the colors into the files, but the files are still empty. I looked in a folder of the last stable version and there also wasn't a PHP.ini and a Multi.ini
Q5 - My brother installed Dev-PHP 2.0.13.236 and has the same problem: no text is visible.
Q6 - Yes, of cource ;) I uninstalled Dev-PHP and installed it once again, but the problem is still existing.
Q7 - You wan't something else? Maybe you wan't to see a screenshot ;)
http://img426.imageshack.us/my.php?image=problem4bl.jpg
Your screenshot is showing a really pretty Dev-PHP ;)
Well, our problem is going to be a bug :(
Fortunately (or unfortunately) we're not able to reproduce it, yet.
Q1 - Could you change 'Editor Color:' (from General-tab this is editor background color 'Editor Farbe:' ) ?
Q2 - At this moment, the only remaining thing is %APPDATA%.
This is a hidden read-only directory. It could have been translated like in 'c:\Anwendungsdaten\av3nger', so 'c:\Application Data\av3nger' could be a useless directory...
If you find a %APPDATA%\devphp\PHP.ini, could you replace its content by :
[Comment]
Background=536870911
Foreground=8421504
Style=0
nr=0
[Identifier]
Background=536870911
Foreground=8388608
Style=0
nr=1
[Number]
Background=536870911
Foreground=16711680
Style=0
nr=2
[Reserved Word]
Background=536870911
Foreground=0
Style=1
nr=3
[Space]
Background=536870911
Foreground=16777215
Style=0
nr=4
[String]
Background=536870911
Foreground=32768
Style=0
nr=5
[Symbol]
Background=536870911
Foreground=0
Style=0
nr=6
[Variable]
Background=536870911
Foreground=255
Style=0
nr=7
A1 - I already changed the editor color; without success again.
A2 - Oh, my mistake. Last time I looked in in the installation folder and not in the application data folder. Now I replaced the content of my php.ini with your content. Then I started Dev-PHP and selected the PHP-Highlighter. I don't want it, but I think I have to say: "No success" :/
I hate to say that, but all these sorts of things work fine for me.
Well, we tried to discover what was wrong. Let's try another side. Your 'Multi.ini' file is ok, isn't it ?
Where are the diffs ?
What does your 'Multi.ini' file look like ?
Regards,
Pierre.
>>Your 'Multi.ini' file is ok, isn't it?
Yes, my Mutli.ini is okay. I even copied the Multi.ini and renamed the copy in 'PHP.ini'. But the text was still hidden. So in that case there was no difference.
>>What does your 'Multi.ini' file look like ?
I'm not sure how to answer. Here my Multi.ini, if you wanted to see it:
[Marker]
Background=65535
Foreground=536870911
Style=1
nr=2
[Comment]
Background=536870911
Foreground=8421504
Style=0
nr=30
[Escape Ampersand]
Background=536870911
Foreground=128
Style=0
nr=4
[Identifier]
Background=536870911
Foreground=8388608
Style=0
nr=22
[Reserved Word]
Background=536870911
Foreground=0
Style=1
nr=33
[Space]
Background=536870911
Foreground=536870911
Style=0
nr=34
[Symbol]
Background=536870911
Foreground=0
Style=0
nr=36
[Text]
Background=536870911
Foreground=536870911
Style=0
nr=37
[Unknown Word]
Background=536870911
Foreground=255
Style=4
nr=10
[Value]
Background=536870911
Foreground=16744448
Style=0
nr=39
[Number]
Background=536870911
Foreground=16711680
Style=0
nr=31
[String]
Background=536870911
Foreground=32768
Style=0
nr=35
[Variable]
Background=16777215
Foreground=255
Style=0
nr=19
[Event]
Background=536870911
Foreground=536870911
Style=0
nr=21
[Non-reserved Keyword]
Background=536870911
Foreground=536870911
Style=0
nr=23
[Color Value]
Background=536870911
Foreground=536870911
Style=0
nr=29
[Property]
Background=536870911
Foreground=536870911
Style=1
nr=32
[Undefined Property]
Background=536870911
Foreground=16711808
Style=1
nr=38
I think there is no logical reason... by the way: Braces are highlighted, when I select some. *confused*
Maybe the problem is fixed automatically in the next version. It comes on a mysterious way and goes on a mysterious way *G*
A new 'X-file'... is the truth elsewhere :-\
The provided Multi.ini is slightly different from the original one. But it's not enough because background and foreground colors of identical sections (from your Multi and your PHP - since we know that your PHP is the same as mine) are the sames.
It could come from the files you're editing - Are you using Unicode, BOM, ..., or just Ansi files ?
Dev-PHP doesn't highlight text, it's using the UniSynEdit component (quite stable beta version) from :
http://mh-nexus.de/unisynedit.htm
http://synedit.sf.net/
However i didn't find there any problem like the one reported here.
may be it can help to make a view on the windows system colors in the screen option panel. have you set something special..?
Yes, i tested with a special theme, but i deactivated it and testet it with the default scheme. Another scheme, same error.
In the last stable version the PHP-Highlighter worked perfectly. Was there an older Version of the UniSynEdit compnent?
on 2005-Dec-02, Dev-PHP Rev.230 introduced 'UniSynEdit Oct.25, 2005'
on 2006-Jan-27, Dev-PHP Rev.238 switched to 'UniSynEdit Jan.21, 2006'.
the uri below, is working with the last known version of UniSynEdit. Could you download, test and report please ?
http://devphp.sf.net/2.0/devphp.rar
(Urs, i'll delete these 1 380 602 bytes asap ;)
Regards,
Pierre.
File deleted. Mission completed. Over.
;)
Works fine :)
Thanks for this support!