AndBicScadMedia / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Syntax highlighting smarty comments #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make fisrt comment in tpl
2. Make second comment in tpl

What is the expected output? What do you see instead?
Expected highlighting of two comments, but see big one.

What version of the product are you using? On what operating system?
SmartyPDT 0.5.2
Zend Studio for Eclipse 6.0 (PDT 1.0.2)
Mac OS 10.5.1 Leopard

Original issue reported on code.google.com by ament...@gmail.com on 8 Feb 2008 at 8:24

Attachments:

GoogleCodeExporter commented 9 years ago
I have exactly the same problem, also using Studio,
if finds the end of the last comment on page.

If I however deleted the starting comment tag, and then write it again, it's
correcting itself and finds the right end tag.

Original comment by piotr.na...@gmail.com on 13 Apr 2008 at 9:23

GoogleCodeExporter commented 9 years ago
On first load of a file with beginning smarty tags, it highlights as comments
all files until {/ sometag}
strange behaviour

Original comment by ben.kel...@gmail.com on 8 May 2008 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, this is really annoying!!

Original comment by mrsam...@gmail.com on 18 Jun 2008 at 2:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If you aren't already, try using smarty pdt 0.5.4. if that doesn't fix it can 
you
provide an example template that produces the weird highlighting problem with 
the
comments?

Original comment by ohhe...@gmail.com on 27 Jun 2008 at 1:21

GoogleCodeExporter commented 9 years ago
Works fine on 0.5.4 & 0.5.5 (from issue 31)
Thx a lot!

Original comment by ament...@gmail.com on 27 Jun 2008 at 1:35

GoogleCodeExporter commented 9 years ago
Works a lot better in 0.5.4 but still some issues when dealing with 
multiplication:

<p>{$var1*$var2}</p>
<p>{$var3*$var4*$var5}</p>

Original comment by shajin...@gmail.com on 8 Jul 2008 at 1:55

GoogleCodeExporter commented 9 years ago
Invalid text string:

    {if $user->isLoggedIn()}

Original comment by ament...@gmail.com on 9 Jul 2008 at 1:08

GoogleCodeExporter commented 9 years ago
in version 0.9.0 I found the same behaviour described by shajinder:
Also, multiline-comments are broken, for example:

{* line1
 * line 2
 *}
normal, uncommented line

The closing comment tag is ignored, "normal, uncommented line" is treated as a 
part
of a comment, an all the following lines as well.

Original comment by matei.dr...@gmail.com on 30 Nov 2009 at 3:07

GoogleCodeExporter commented 9 years ago
I suggest special Smarty plug-in for <a href="http://www.codelobster.com">FREE 
PHP 
IDE - Codelobster PHP Edition</a>. 
It has syntax highlighting, auto-complete and context help for Smarty.

Original comment by s...@codelobster.com on 15 Apr 2010 at 7:25