On the basis of further tests this can be clarified as follows:
The error seems to occur randomly with the installed version.

When the portable version opens a text file created with the installed version,
then the coloring is not visible in the bookmarks (in the active portable version).