[geany/geany-plugins] 1c0ef1: Stop processing if the document gets invalid