I've found that if I highlight a block of code starting from the bottom of the block and selecting upwards, once I press [TAB] to indent the code, it gets deleted.

I then have to undo several times before it comes back.

It doesn't happen in all instances though :?

Anyone else experience this?
markjerrom
0

Comments

2 comments

  • Tilman
    Hi,

    I'm afraid I can't reproduce your problem. Could you try and reproduce it more reliably?

    Regards,

    Tilman
    Tilman
    0
  • void
    I also have this problem, but the other way around. It seems to happen when I select (from top to bottom) an IF..BEGIN..END block and press TAB, something like this:
    IF 0 <> @@ERROR
    BEGIN
        SELECT  0 AS PK
        RETURN  0
    END
    
    It deletes the code & inserts an END (?!)

    Edit:
    It seems the problem is caused by adding BEGIN and/or END (depending on how you select the text, either top to bottom or viceversa) to the Keywords to capitalize. I add those and some other, but I haven't found any problem with the others (yet?)
    void
    0

Add comment

Please sign in to leave a comment.