Code template insertion error [message #1712918] |
Thu, 29 October 2015 10:51 |
Nemanja Bjelica Messages: 14 Registered: October 2015 |
Junior Member |
|
|
Hi guys,
I inherited work from my colleague who worked with Xtext, and I am facing with a annoying problem. I define a code template in Preference page, and when I want to add it in the editor with ctrl+space, template is added, but it deletes previous token (or symbol).
So, I've line of code:
LOAD A0, A1
when I try to add third parameter after typing comma and choosing template, I get this
LOAD A0, A1dummy() instead LOAD A0, A1, dummy()
I've been debugging for couple of days, and I'm guessing the problem is in the replace region offset of the template context, but I can't find the fix. Can someone point me where to look?
Note: This problem only occurs when I choose code templates from content assist, not with other options in content assist popup menu.
Thanks,
Beli
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02164 seconds