New expand tabs option in Editor setCursorPos()
Merge pull request #4719 from TomMalbran/tom/issue-3960

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