|Newline removed when model gets updated [message #965544]
||Wed, 31 October 2012 10:13
| Jeff MAURY
Registered: July 2009
I am facing the following problem.|
I want to implement a quick fix that does the following:
Imaging the following grammar:
Item: (label=STRING)? 'Token';
Now, under certain circonstances, my quickfix will add a label to Item that does not have a label. So it does it by updating the Item model and adding the label.
Now, imagine I have the following file content:
LABEL1 Token \n
So when the second item gets updated with a new label, then it seems it gets inserted at the end of the previous Item, replacing whitespace characters, so I get:
LABEL1 TOKENLabel2 Token
Is there a way to change this behaviour ?
Powered by FUDForum
. Page generated in 0.02140 seconds