Resolve symbolic links just as KTextEditor

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

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.
Christoph Cullmann
Kåre Särs
Christoph Cullmann
Kåre Särs
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit ff1ab8bd0fd23f189960d40755354b674ed019ac by Kåre Särs to branch Applications/16.12.
Loading...