I found out that PL/SQL developer saves program window with LF line endings, while SQL window with CR/LF line endings regardless of what they were before.
This is quite annoying as in our project different files have different line endings, and I need to convert them back each time to avoid mess...