Preserve document cursor position between sessions. Function parameters completion.