Keeping track of "markers" in TAdvMemo


The editor component I use now (LMD SyntaxEdit) can keep track of markers. I can create marks with specified names like this: "mark1", "mark2", etc. I can assign a line number and column number to the marker (or an offset into the file) and it will track the marker as the document is edited (lines inserted and deleted, characters inserted and deleted, etc). I can then get the correct location back using the name "mark1", "mark2", or whatever name I created it with.

Does TAdvMemo support anything like this? How could I do something like this with TAdvMemo?


I don't know details about the component you refer to, but from your description it sounds the TAdvMemo bookmarks are similar. You can set bookmarks (number based) at lines in the TAdvMemo.