[ phpeclipse-Bugs-1493165 ] phpeclise highlighting fails when using special echo "<<<"

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1493165, was opened at 2006-05-22 16:10
Message generated for change (Comment added) made by salamanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1493165&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Parser 
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hertzel (emudojo)
Assigned to: Nobody/Anonymous (nobody)
Summary: phpeclise highlighting fails when using special echo "<<<"

Initial Comment:
When you use the echo form 

 echo <<< MY_WAT
 line 1
 line 2 
 line 3
 MY_WAT;

all the rest of the code under this will not be parsed
at all!!

----------------------------------------------------------------------

Comment By: Benjamin Hill (salamanders)
Date: 2006-11-01 12:39

Message:
Logged In: YES 
user_id=370500

confirming this on 1.1.9.CVS-20060424

Interesting that single quotes change the highlighting from
black to blue - so it is still scanning the section, just
confused that it is in a big text block.

----------------------------------------------------------------------

Comment By: Luis Bernardo (lmpmbernardo)
Date: 2006-07-29 22:47

Message:
Logged In: YES 
user_id=137011

the heredoc syntax is equivalent to the double-quoted
string; so having, for instance, HTML highlighting would not
be consistent with the highlighting one gets with having
HTML tags inside double quoted strings. I think the most we
can have here is the option of chosing the color inside the
heredoc instead of using the default color.

----------------------------------------------------------------------

Comment By: Edward Rudd (urkle)
Date: 2006-06-08 19:23

Message:
Logged In: YES 
user_id=8488

If you remove the space(s) after the <<< and before the
MY_WAT then it woks correctly.  (this is with PHP eclipse 1.1.8)

It however does no highligting of the actual content. I was
hoping for syntax highlighing of my HTML or SQL that is
between my

<<<EOHTML
EOHTML;
<<<EOSQL
EOSQL;


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1493165&group_id=57621

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.