ST2 Does not remember correct indentation

zach nawar 8 years ago 0
How to recreate:
Write a function or something that causes ST2 to automatically add indentation the next time you press enter.
Keep pressing enter a few times so you cursor is now a few lines below where you have last typed. Your cursor should still be indented.
Press your up arrow key, the cursor will move up a line and lose all indentation.