Make geanyvc compatible with document pointer changes in Geany