Henster Posted March 17, 2005 Share Posted March 17, 2005 Sometimes dreamweaver gets really confused about the code colouring. For example.... /"test/" it would miss out one of the slashes and then get completely confused later and the quotation marks dont add up. Get what I mean? Stuff like that. I'm using MX. I tried MX 2004 but I find its even worse. Does anynody else get this. Or, can anyone suggest a package that parses the syntax properly? I'm not so keen on a simple text editor (I like the file tree on the side of the screen). Cheers H Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/ Share on other sites More sharing options...
zq29 Posted March 17, 2005 Share Posted March 17, 2005 I use MX 2004 and can't say I have ever noticed that problem, but I rarely escape quotation marks, I normally use the single quotation marks. Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7250 Share on other sites More sharing options...
Henster Posted March 17, 2005 Author Share Posted March 17, 2005 How about... <?php /////// COMMENT //////// phpinfo(); ?> In MX <?php turns up as red and the comment as yellow. Which I quite like. In MX 2004 everythings just blue. Strings in quotes go red I think. I've tried changing the colors but to no avail. Are you getting a red <?php in MX 2004 ? Cheers H Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7251 Share on other sites More sharing options...
zq29 Posted March 17, 2005 Share Posted March 17, 2005 Yes, in MX 2004 I get the <?php and ?> in red, and comments in yellow. I think your getting them in blue because you are starting your document as a HTML document, when doing that all php code will turn blue until you save it as a php document. To get your php syntax coloured from the start, when starting a new document, select the type as dynamic from the left hand side, then in the right hand side select PHP. All your code will now be coloured from the start. Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7252 Share on other sites More sharing options...
Zane Posted March 17, 2005 Share Posted March 17, 2005 Sometimes dreamweaver gets really confused about the code colouring. For example.... /"test/" it would miss out one of the slashes and then get completely confused later and the quotation marks dont add up. Get what I mean? Stuff like that. I'm using MX. I tried MX 2004 but I find its even worse. Does anynody else get this. Or, can anyone suggest a package that parses the syntax properly? I'm not so keen on a simple text editor (I like the file tree on the side of the screen). Cheers H 214989[/snapback] I don't know if anyone noticed ot not...but your slashes are backwards meaning.......they are / when they should be \ if you wanted to escape the quotation marks that could be why the coloring is off Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7253 Share on other sites More sharing options...
Henster Posted March 17, 2005 Author Share Posted March 17, 2005 Thanks SemiApocalyptic. I'll give it a try when I get home. Hohum. Sorry about the slashes. Moment of madness. They do look very similar..... -H Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7254 Share on other sites More sharing options...
Henster Posted March 17, 2005 Author Share Posted March 17, 2005 Hey zanus, "Remember, nothing says 'good job' like a firm, open-palm slap on the behind." Thats family guy! The one were peter turns into a women.... I love that show. -H Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7255 Share on other sites More sharing options...
Zane Posted March 18, 2005 Share Posted March 18, 2005 Hey zanus, "Remember, nothing says 'good job' like a firm, open-palm slap on the behind." Thats family guy! The one were peter turns into a women.... I love that show. -H 215232[/snapback] heh....join the club i love that show too that and aqua team,and a bunch of weird-ass cartoons ......So......can anyone figure out where they top quote is from? a gmail invite for the winner....lol like you couldn't just google it out......sorry had to find a way to give em out somehow I guess I can offer one to henster for finding out the origin of the earlier mentioned quote ......want it? Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7256 Share on other sites More sharing options...
blargnoobman Posted March 18, 2005 Share Posted March 18, 2005 heh....join the club i love that show too that and aqua team,and a bunch of weird-ass cartoons ......So......can anyone figure out where they top quote is from? a gmail invite for the winner....lol like you couldn't just google it out......sorry had to find a way to give em out somehow I guess I can offer one to henster for finding out the origin of the earlier mentioned quote ......want it? 215242[/snapback] According to Google... Lewis Black, a comedian. /me would like that invite. Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7262 Share on other sites More sharing options...
czambran Posted March 18, 2005 Share Posted March 18, 2005 YOu should try ZDE(Zend Development Environment). Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7263 Share on other sites More sharing options...
digiuser6 Posted March 22, 2005 Share Posted March 22, 2005 I agree with czambran you should use ZDE. That's the best editor i've seen. Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7281 Share on other sites More sharing options...
Zane Posted March 22, 2005 Share Posted March 22, 2005 /me would like that invite. 215505[/snapback] send an email to dockeryz(AT)gmail(DOT)com and I'll hook you right up Quote Link to comment https://forums.phpfreaks.com/topic/2208-code-coloring/#findComment-7282 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.