Add swapDoc event, make foldgutter addon listen for it

Issue #1865