Rename shifts from expectation [message #1004168] |
Tue, 22 January 2013 18:07 |
Hao Xie Messages: 68 Registered: January 2013 |
Member |
|
|
I have my language WRESL, which for example have the following code:
goal test1{abc>1.0}
goal test2{abc<2.0}
goal test3{abc>1.5}
goal test4{abc<1.8}
goal test5{abc<1.6}
I would like to implement rename function for example on the variable "abc". However, after I changed the "abc" in the second line to "ab", my code became:
goal test1{ab>1.0}
goal test2{aab2.0}
goal test3{abab5}
goal test4{abc<ab}
goal test5{abc<1ab
I used DefaultRenameStratege. It seems that after the first modification, my code shift for one character but the originalTextRegion in DefaultRenameStratege sticks to the same text region before the modification without update. Then from the second modifications onwards, the modifications shift from my expectation.
[Updated on: Tue, 22 January 2013 18:08] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02668 seconds