Wow that fixed it!
Thank you Michael. You were great help!
So now here is what I understand. The code in Toad that determines where the caret has to be after formatting always assumes that spaces are used for formatting and does not know that the formatter is actually using tabs instead.
So now the caret position gets out of whack because the offset is computed "with a wrong unit" so to speak.
Correct? Well who would've thought of that?
Also I assume that the formatter is not present as a DLL or something that can be swapped with a newer version right? Because you said that it cannot be fixed in this version of Toad.
Anyway its moot now because the problem is solved.
Thank you for your immense help again Michael. You have saved me hours of frustration.
Is there a way in Toadworld to mark your answer as the correct answer?
Regards,
Arijit