Help needed in Sublime Text IDE

I am using sublime text as IDE for CP now but I am facing some issues regarding indentation.
Suppose I wrote this much of code and left 27 & 28 line blank.

Now if want to write some code just below the for loop ending at 26 line after clicking just below for loop my text curser blinks to left most point of IDE and this happens with my code.

If anyone have any solution please share.