This is the problem with empty line between the queries.We have IDE-20442 JIRA opened for this issue.
IDE-20442 - SQL Editor contents lost if selected text contains empty line
Many thanks for that info. Although these are annoying issues rather than problems, is there a planned date for fixes to those to be released?
Thanks. I tried remove empty lines and still got the same problem. Quite frustrating. Let's hope this will be fixed in the next update.