Each checkGlobal call will return an unique id, which helps the plugin to map results,
selection, and replacement requests to the corresponding checked document. This is necessary, because the returned
offsets are only valid for the document at a specific point in time. All changes made to the document after the
check call will make the offsets invalid. That's why you should to store the submitted document contents
together with its check ids in a map.
Each checkGlobal call will return an unique id, which helps the plugin to map results, selection, and replacement requests to the corresponding checked document. This is necessary, because the returned offsets are only valid for the document at a specific point in time. All changes made to the document after the check call will make the offsets invalid. That's why you should to store the submitted document contents together with its check ids in a map.