21ae88702f
Even if focus is given to the pattern editor the cursor will not show until the editor contains printable chars. ### Problem description I was using the wrong condition to enter the loop that skipped the default empty document. ### Implementation description The fix was to check if there are lines of text that need to be processed even if they are empty.