Toad World® Forums

Tab characters disappear when code moved between sessions


#1

Hi

I tested this in Beta 6.5.0.2032 and Production 6.4.0.1930

There seems to be a formatting issue when you move a SQL tab between sessions.

If I have a normal select like (forum has stripped out tab characters but each space is a tab)

select something
from table
where …

when I use real tab characters for formatting then when I choose to move that statement between sessions (I use the drop down box with the sessions listed in it), say from latest-dev to prev-dev, it replaces all the tabs with spaces. Note this is not a saved file, just in a tab I want to use in a different session.

This becomes a bigger issue when you do something like extract DDL for a package in dev and then change the session to previous dev and then run the ddl script to recreate the package. All the tabs are gone. (which violates our standards of using real tabs)

You can get around this if you save the DDL to a file and then open and run the file in the other session but it involves the extra steps of saving and then opening the file which is less convenient.

Regards,
Adrian


#2

Hi Adrian

Thanks i was able to reproduce this without any issues.
I will raise a CR so we can hopefully fix for you this in 6.6

regards
Lidia