adds partial parsing functionality to Editor