PHP Mode Bug?
Submitted by Wednesday, 4 April, 2007 - 10:38
on
Hi.
There is a strange behavior if you edit .php-files.
Fresh install of jEdit 4.3pre9/Java 1.5.0_11 on WinXP
Create a new file and name it test.php
Ending .php is important.
Fill it with this:
1 Tab (press the TAB-Key on your keyboard) and than write Hi that it looks like
TABHi
The tab in front of Hi is important (no possibility to write a tab in this forum nor write more than 1 blank space...)
Now put a : after Hi that it should look like:
TabHi:
with a real Tab instead of "Tab".
What you get is not what you want, you get this:
Hi:
The Tab is gone.
If you do that with a file named test.htm you will get what you want, but not with php.
I have this problem if I write css-code in html-tags in php-files.
You can ad some code to make it a real php-file (I can't do it here, tags are not allowed...).
Lu...
There is a strange behavior if you edit .php-files.
Fresh install of jEdit 4.3pre9/Java 1.5.0_11 on WinXP
Create a new file and name it test.php
Ending .php is important.
Fill it with this:
1 Tab (press the TAB-Key on your keyboard) and than write Hi that it looks like
TABHi
The tab in front of Hi is important (no possibility to write a tab in this forum nor write more than 1 blank space...)
Now put a : after Hi that it should look like:
TabHi:
with a real Tab instead of "Tab".
What you get is not what you want, you get this:
Hi:
The Tab is gone.
If you do that with a file named test.htm you will get what you want, but not with php.
I have this problem if I write css-code in html-tags in php-files.
You can ad some code to make it a real php-file (I can't do it here, tags are not allowed...).
Lu...