When the user sets bookmarks in a document and closes the document,
TXC should store the positions of the bookmarks.
store the file-bookmark-mapping in the registry (local user) what
would make the bookmarks user specific or in a central (xml) file
somewhere on disk.
We will have to store the filename, the
modification time of the file, when the bookmarks where written and
the lines, where bookmarks where placed. When TXC opens the file
next time, it can take a look in its bookmark database, compare the
current modification time of the file with the one in the database
and if they match, restore the bookmarks.
XML-file could look
something like that:
(I will provide some MSXML-parser based C++
classes in the next time.)