Psst I also changed some behaviour in my GPL editor for personal use once without sharing my changes and also I also used that version a few times while writing proprietary commercial code… Pls don’t tell Stallman
As long as you didn't ship the edited binary of the GPL editor with your proprietary software, you are safe here.