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 255333 - Editor window content disappears when editing certain Freemarker template
Summary: Editor window content disappears when editing certain Freemarker template
Status: RESOLVED WORKSFORME
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC All
: P2 normal (vote)
Assignee: rostanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 13:42 UTC by pekarna
Modified: 2015-09-23 09:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.ftl which proves this bug (9.28 KB, application/octet-stream)
2015-09-16 13:44 UTC, pekarna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2015-09-16 13:42:59 UTC
STR:

1)Have a .ftl file with this content
                <@render_pie project=projectModel recursive=false elementID="project_${projectModel.asVertex().getId()?string(\"0\")}_pie"/>

2) Put the cursor after ? and press delete or Ctrl + right arrow, or simply try to edit

3) The editor window starts misbehaving and eventually the content disappears, you need to close the tab and open again. 

I have a Freemarker addon installed. Might be caused by that.
Comment 1 pekarna 2015-09-16 13:44:17 UTC
Created attachment 156213 [details]
.ftl which proves this bug
Comment 2 Antonin Nebuzelsky 2015-09-18 12:09:18 UTC
(In reply to pekarna from comment #0)
> 
> I have a Freemarker addon installed. Might be caused by that.

This one?

http://plugins.netbeans.org/plugin/58284/freemarker-support-for-netbeans
Comment 3 rostanek 2015-09-23 09:03:54 UTC
I've checked that file, but nothing happened. I've tried hitting enter, delete, backspace, ctrl+ left/right after the '?' and no error occurred.