Fix issue #3960: Editor setCursorPos() should have an option to expand tabs

Not sure when it would be needed, but here is the fix for issue #3960.