Block comment character limits

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
martinlooker
Posts: 20
Joined: Tue Oct 11, 2005 12:55 pm

Block comment character limits

Post by martinlooker » Fri Oct 21, 2005 9:43 am

Hi I was looking to use <!-- and --> for block comments but it woun't let me enter that many characters.

I'm trying to make a combined php html highlighter as I don't use block comments in PHP I thought I'd use the block comments for HTML comments.

I can't use -> to end the block comment as that is used to refernce class members as in $myclass->member, nor can I use -- cos that is decrement operator.

It would be nice if the number of characters for block comments were not so limited. This may be just an interface limitation on the editbox which might be easy to remove. (The line comments don't appear to be limited in this way.)

jussij
Site Admin
Posts: 2449
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Fri Oct 21, 2005 2:43 pm

It would be nice if the number of characters for block comments were not so limited.
This is a known limitation of the current syntax highlighting engine :(
This may be just an interface limitation on the editbox which might be easy to remove.
The GUI is limiting the input for a good reasons. Unfortunately the syntax highligher can only handle a limited number of block comment characters :(
The line comments don't appear to be limited in this way.
In terms of programming logic, line comments are fairly simple to handle, where as the correctly handling of block comments is much harder. This is the reason for the input limitation.

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 21 guests