This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 215941 - smarty close comment delimiter doesnt work
Summary: smarty close comment delimiter doesnt work
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 11:59 UTC by b.hasis
Modified: 2014-07-22 13:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot - custom delimiters with comment (77.16 KB, image/png)
2014-04-04 06:51 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description b.hasis 2012-07-25 11:59:07 UTC
Hi, 

in my installation i changed the delimiter for smarty to ' [{ ' and the comment start delimiter ' [{* ' works, but the close delimiter ' *}] ' where not found. So all code behind the first delimiter inked as a comment.
Comment 1 Vladimir Riha 2012-07-25 12:10:13 UTC
reproducible, seems that "any" custom delimiter with length > 1 causes this problem.
Comment 2 Martin Fousek 2012-07-25 13:51:36 UTC
Thanks b.hasis for reporting that.
Fixed in web-main #7215688248c0.

You will get it fixed in the Nb7.3 or you can try our development builds (wait at least until tomorrow):
http://bits.netbeans.org/download/trunk/nightly/latest/
Comment 3 Quality Engineering 2012-07-26 02:19:52 UTC
Integrated into 'main-golden', will be available in build *201207260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7215688248c0
User: Martin Fousek <marfous@netbeans.org>
Log: #215941 - smarty close comment delimiter doesnt work
Comment 4 Vladimir Riha 2012-07-27 09:01:25 UTC
verified


Product Version: NetBeans IDE Dev (Build 201207270002)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 cweiser 2014-04-03 08:04:42 UTC
I am using NetBeans 8.0 and this is still an issue. Everything after '[{*' is still shown as a comment
Comment 6 Martin Fousek 2014-04-04 06:51:56 UTC
Created attachment 146533 [details]
screenshot - custom delimiters with comment

(In reply to cweiser from comment #5)
> I am using NetBeans 8.0 and this is still an issue. Everything after '[{*'
> is still shown as a comment

Sorry, but it works well to me, see the attached screenshot from NB8.0. In case you are still facing your issue, please could you attach part of the source code which shows the issue? Thanks.
Comment 7 Martin Fousek 2014-04-11 09:24:39 UTC
cweiser, please could you attach your source requested in the last comment. Without it I'm not able to reproduce your issue and help you. Thanks.
Comment 8 Martin Fousek 2014-07-22 13:36:11 UTC
Resolving back as fixed since the original issue is resolved and we didn't get any sample/code snippet with reproducible test case.

cweiser, please if it doesn't work to you, feel free to reopen the issue or raise a new one but attach piece of source where we could investigate your troubles. Thanks a lot.