Performance of Xtext editor [message #1775263] |
Thu, 26 October 2017 23:53  |
Eclipse User |
|
|
|
Hi
Recently, I want to edit my DSL model(based on Xtext grammar) in Xtext Editor, then I found when i break the matched quotation marks, the function 'computeDamageRegion' will loop for a long time, which will block the UI. Like:
ApplicationInstance "simple.cps.app.AC0-0.inst0" {
},
ApplicationInstance "simple.cps.app.AC0-0.inst1" {
},
ApplicationInstance "simple.cps.app.AC0-0.inst2" {
allocatedTo "simple.cps.host.HC00.inst11"
}
When i delete a quotation(") in my model(About 150,000 Eobject, 250,000 References), the function consumed about 1,080,000ms and the during the time, the UI is blocked. Could you offer me any suggestion about this ?
Thanks in advance!
[Updated on: Fri, 27 October 2017 00:04] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: Performance of Xtext editor [message #1775422 is a reply to message #1775420] |
Mon, 30 October 2017 03:42  |
Eclipse User |
|
|
|
i tried to expolain you the same as ed did: deleting the quote changes the whole file.
thus i asked you is it wanted for you that
" bla { blubb }" is legal. if not try to change the string rule
|
|
|
Powered by
FUDForum. Page generated in 0.08038 seconds