I open file by `new OpenFileDescriptor(project, file).navigate(true);`. When the file is opened cursor is placed at the beginning of the file. How to move it to the end of the file?
When you create an OpenFileDescriptor, you can specify an offset in addition to the project and VirtualFile. Set this offset to the length of the file minus one.
When you create an OpenFileDescriptor, you can specify an offset in addition to the project and VirtualFile. Set this offset to the length of the file minus one.
Thanks!