JSP EL can not be parsed correctly during editing in JSP editor [message #548862] |
Fri, 23 July 2010 06:41  |
Jack, Liu Messages: 8 Registered: July 2010 Location: China |
Junior Member |
|
|
Code like:
<button>
${<cursor position>} //EL region
</button>
In this way, the region type is JSP EL
Then follow this way:
1. Remove the "}"
It is not a valid EL region.
the type would be xml_content
2. Add the "}" again
It is a valid EL region.
but the type would still be xml_content, instead of JSP EL
It will cause the different proposals for same jsp content.
The reason is that parser will only update the xml Content region's start and length, instead of creating a new JSP EL region.
Cheers
Jack
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01482 seconds