Month: January 2012

PowerShell ISE Addon: Go to cursor

I have a few scripts that are thousands of lines long. When working with these scripts in ISE, I often start modifying some part of the code and then use scroll bar to move up and down to refer to other parts of the code. In this process, I naturally lose track of the cursor position. This happens quite often and started frustrating me. So, I wrote a simple addon that takes me back to where the cursor is and re-focuses editor window at the cursor position by scrolling back to that place