Resolve symbolic links just as KTextEditor

Review Request #129792 - Created Jan. 8, 2017 and submitted - Latest diff uploaded

Information
Kåre Särs
kate
374564
Reviewers
kate
cullmann, dhaumann
KTextEditor::openUrl() resolves any symbolic links but KateDocManager::findDocument() does not. This means that every time you open a symlink Kate believs it is a new file, but you end up with the same url as the previously opened one.

This patch adds resolving of symlinks also to KateDocManager::findDocument().

Another option would be to stop resolving symlinks in KTextEditor, but that is a behaviour change.
Opening the same symlink many times does not create multiple document instances of the same file.
Loading...