I think I understand!
See attached picture.
Cursor goes to position 1 when you press and you want it to go to position 2. Right?
I think your request is a result of a not very typical SQL-formatting need. But for the editor of an IDE-programming environment, it is a must.
The editor in SQLyog is optimized for SQL and SQL only. Well … Let Ritesh have a look at it!