editor: simplified nonl check