Closed Thread Icon

Preserved Topic: FULL PHP Syntax Highlighting for HTML Beauty is here!!! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21000" title="Pages that link to Preserved Topic: FULL PHP Syntax Highlighting for HTML Beauty is here!!! (Page 1 of 1)" rel="nofollow" >Preserved Topic: FULL PHP Syntax Highlighting for HTML Beauty is here!!! <span class="small">(Page 1 of 1)</span>\

 
mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-11-2001 00:25

What I have to say would be interesting to all of you who have HTML Beauty on your computer and write PHP code...

--- start copy/paste from latest news page ---
In fact, I already prepared something interesting for all HTML Beauty fans out there - FULL PHP Syntax Highlighting! It's still experimental, but you can download updated parsers data file by clicking here. After you download it, simply extract the archive to the HTML Beauty's main folder overwriting current parsers data file (you should first make backup copy of existing parsers.bbt file, in case that you want to put it back later). Also, since this is still experimental, I can say that this new highlighter will double HTML Beauty's memory usage (the main reason for this is because PHP has 2026 built-in functions, at least it had when I counted last time), so if you really don't need PHP highlighting, don't download it. In the next release of HTML Beauty, I'll lower PHP Syntax Highlighter's memory usage, but till then, you can play with this.
--- end copy/paste from latest news page ---

As said above, only drawback is that it uses two times more memory than it did so far (dut to the number of reserved words, functions, etc.), but that won't be the case with the next release of HTML Beauty. Also, the next release of HTML Beauty will correctly highlight text strings (PHP string values, HTML attributes) that have hard line breaks (since that is allowed by PHP & HTML).

Suggestions? Comments? ...

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-11-2001 00:48

When should we expect the new version?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-11-2001 00:59

As soon as it's finished?

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 07-11-2001 01:16

Very Cool mr.maX

Thanks for posting the update here as well as on your site. The download is going as we speak.

Can't wait for the next release.

- Resolutions, Of All My Fruitless Searches -

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 07-11-2001 01:28

Checked it out

I love it!

I don't think I'll be needing any other programs but Beauty to code in once the new release comes out.

Great work mr.maX!

Many thanks

- Resolutions, Of All My Fruitless Searches -

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 07-11-2001 06:25

God dammit, now look what you've done. You've finaly made me go and download your program!!!

I've been meaning to do so for ages but my claws are still quite heavily set into arachnofilla, another freeware HTML codeing aid but I'm sure you already know about that program....

Recently I've actualy been using Textpad but it only supports PHP syntax highlighting up to version 3

I'll let you know how things go

everybody needs a swamp bear

timothymcnulty
Neurotic (0) Inmate
Newly admitted
posted posted 07-11-2001 07:58

VERY COOl Max!! I'll have to check it out. I'll give you my review shortly...

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 07-11-2001 17:45

~jumps around~

i've waited for that a long time...

but one question.... why can't i start MAX's HTML Beauty++ ME while apache (1.3.20) is running?

when i start MAX's HTML Beauty++ ME first and then apache, everything is fine...




edit: is there any option to highlight the php code from the html code?

[This message has been edited by u-neek (edited 07-11-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-11-2001 18:23

Butcher, I'm glad that you like it!

Dracusis, I remember Arachnophilia. I used it a way back in year 1997 (before I made HTML Beauty)...

Timothymcnulty, I'm still waiting for your review...

U-Neek, I don't understand your question about highlighting PHP code from the HTML code? As far as that problem with starting is concerned, try enabling "Allow multiple program instances" in program options. I'll probably re-write that code in the future, because on some computers there are also problems when running ICQ, for example...

Now, a question for all of you. Should I also add PHP's predefined variables ($HTTP_USER_AGENT, $PHP_SELFT, etc.) as reserved words (highlighted in bold)? My reason why I didn't want to add them as reserved words is that they are variables. Also, besides Apache specific varibales and PHP's variables, there also exist variables imported from global namespace from the environment under which the PHP parser is running, and there's no way for me to list all of them (since PHP supports so many platforms)...



[This message has been edited by mr.maX (edited 07-11-2001).]

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 07-11-2001 20:19

Just for my .02 mr. maX

I don't think it necessary to highlight PHP's predefined variables in bold. Being that they are usually the only variables in my code in all Uppercase, they stand out pretty well on their own.

- Resolutions, Of All My Fruitless Searches -

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-11-2001 21:15

I agree with Butcher. Everything else in my code is also all lower case. Having them in upper case makes them stand out enough.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-13-2001 07:06

does it come with any pre-made php-scripts?
i'd really be glad about this.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-13-2001 09:56

No. I personally find this very stupid. Why would any application come with some pre-made CGI/PHP scripts, when you can't know if end-user would even use them, since there are so many script alternatives around. Just take a look at the list of all scripts on HotScripts and you'll see that there are dozens of them...

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 07-13-2001 19:16

i meant something like that

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-13-2001 20:01

U-Neek, I was actually trying to avoid that. Anyway, it can *almost* be done. You can specify your own background color for PHP elements (i.e. PHP Tags, PHP Keywords, PHP Functions, etc.) in program options, but note that comments and whitespace & punctation characters only have one settings for whole document (so if you change background color for comments, it will change their color in whole document - PHP comments, HTML comments, JS comments <- you get the point).

timothymcnulty
Neurotic (0) Inmate
Newly admitted
posted posted 07-19-2001 21:08

Sorry that review is taking so long max, not that you are sitting back waiting for it...been a little ill lately... I am still anxious to check it out.

I?ll e-mail comments some time in the near future...

ian
Nervous Wreck (II) Inmate

From: Fresno, CA
Insane since: Jun 2001

posted posted 07-19-2001 23:57

Couple things,

First and foremost... great program. You must've put alot of work into it, it shows PHP syntax highlighting only makes it sweeter...

HTML Beauty is one of the better freeware HTML editors i've used... I use EverSoft's 1st Page and Macromedia's Dreamweaver now because of some bug I have with using HTML Beauty and changing files through mapped network drives on my Windows2k Machine. If it didn't crash everytime, i'd probably use HTML Beauty :>

-i

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-20-2001 00:36

What problems did you have with HTML Beauty? Be more specific...

ian
Nervous Wreck (II) Inmate

From: Fresno, CA
Insane since: Jun 2001

posted posted 07-20-2001 17:19

I sent you the specifics of the bugs with screenshots attached awhile back via email. Didn't get a reply, so I guess you didn't get it or fixed it.

Anyhow, quick recap for you...
At work I have two webservers that I are mapped into two diff. drives (they're both NT, 2000 running IIS). It used to be whenever I went into your little directory browser "Quick Open" and tried to go to one of my mapped drives... after 20-30 minutes of use, it would give me a fatal exception error and crash. A window would pop up, it displayed the error, then it gave me no choice but to hit "OK". After hitting OK, it'd just crash. I noticed this only happened whenever I was updating, saving, etc on my mapped network drives. *Shrugs* I've tried it on both of my machines, and it did the same thing...

A large portion of the network tree here is Novell. I don't know if that has anything to do with it.

This was about 6 months ago or more. I haven't tried any of the newer versions, so perhaps it has been fixed.

-i

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-20-2001 18:17

Ian, I never got your e-mail (I've just re-checked to be sure). Can you send it to me again? I would like to know the exact Access Violation error message (especially the address where AV occured).

ian
Nervous Wreck (II) Inmate

From: Fresno, CA
Insane since: Jun 2001

posted posted 07-20-2001 22:42

I sent the email from work, and the server doesn't cache emails that old (We use Lotus Notes here.. blah)

I'll reinstall HTMLBeauty and see if I can bring up the same errors. I'll capture new screenshots of them and send them to you.

thanks,
-i



« BackwardsOnwards »

Show Forum Drop Down Menu