I am interested to replace a portions of text from a file which i intend to show in the editor with a wild character. The file comes from a Source A. The portions of text which i mentioned must be modified with a wild character would be done on client side keeping the file in Source A intact. However, once the intended text appears on the editor, user is free to change the contents of the file and apply the changes which modifies the Source A. The wild character replacement which was done earlier at the time of showing the file in editor shall not be applied to the Source A.
Considering that i just make use of the Text property. Is there a provision to store additional information in each ast node or any other means which keeps track of lines modified with a wild character, so that its easy at any point of time to ignore them while applying the changes to Source A ?