Manually set the watcher after restore from parcel
Fix BUG: need to truncate string for the outline item at nearest \n
(Otherwise, might lead to ugly situation when there is missing closing brace for example:

\section{a
...
% end-of-document

leads to title of section being the whole text from "a" to end!)