Format Case Only moves comments to new line

Howdy,

In 12.12.0.3, I have this fun test:

select 1 from dual; – 1
select 2 from dual; – 2
select 1212 from dual; – 1212
select 44 from dual; – 44
select 54321 from dual; – 54321

When I use “Formatting Tools”->“Format Case Only”, I get:

SELECT 1 FROM DUAL;
– 1
SELECT 2 FROM DUAL;
– 2
SELECT 1212 FROM DUAL;
– 1212
SELECT 44 FROM DUAL;
– 44
SELECT 54321 FROM DUAL;
– 54321

It won’t come over in this post, but the whitespace padding the comments to the left are tabs (I <3 \t), with added spaces on the end to line them up.

As an aside, “Format Case Only” has also removed blank lines at the end of the editor workspace for as far back as I can remember. It would be nice if that could be fixed as well.

Thanks!
Rich