PHP Constant Hightlighting
Submitted by Friday, 21 November, 2008 - 23:59
on
I'm really confused. I downloaded jEdit on my laptop and on my desktop. As far as I can tell they are exactly the same.
However, my laptop styles variable type declarations (for example, putting (int) before a variable, the "(int)" would be in bold) and user-defined PHP constants in bold (that is, any text that appears on it's own would be bold if it were inside PHP tags) and my desktop does not.
I've searched the forums and the internet for hours trying to come up with a solution, and there doesn't seem to be anything that discusses these differences at all. I don't have access to my laptop right now and thus can't copy over the xml file to my desktop.
Would anybody be willing to tell me how to fix this? I've tried messing around with the xml file myself but can't get remotely close. Every solution I've attempted either affects everything but user-defined constants, or user-defined constants and just about everything else written in a PHP file. I thought throwing a new formatting near the button of an existing rule set (since I seem totally unable to make my own) would make it the last operation performed, but I was wrong. My rule seems to be the first thing to happen no matter where it's placed in the xml file.
However, my laptop styles variable type declarations (for example, putting (int) before a variable, the "(int)" would be in bold) and user-defined PHP constants in bold (that is, any text that appears on it's own would be bold if it were inside PHP tags) and my desktop does not.
I've searched the forums and the internet for hours trying to come up with a solution, and there doesn't seem to be anything that discusses these differences at all. I don't have access to my laptop right now and thus can't copy over the xml file to my desktop.
Would anybody be willing to tell me how to fix this? I've tried messing around with the xml file myself but can't get remotely close. Every solution I've attempted either affects everything but user-defined constants, or user-defined constants and just about everything else written in a PHP file. I thought throwing a new formatting near the button of an existing rule set (since I seem totally unable to make my own) would make it the last operation performed, but I was wrong. My rule seems to be the first thing to happen no matter where it's placed in the xml file.