Generate events when moving onto / off a syntax group.