D21287: Try to find always an unique visible document name without a number suffix
Dominik Haumann
noreply at phabricator.kde.org
Tue May 21 22:28:20 BST 2019
dhaumann added a comment.
There even is a bug report about this: https://bugs.kde.org/show_bug.cgi?id=381532
In this bug report, there is also an example of how sublime text handles this, namely "Document name - path/bla", i.e. the path is appended behind the document name. What about this solution?
Algo:
1. When opening a file, identify all other open documents with the same filename
2. For all these documents, create the unique names by appending the path that uniquely identifies the files
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D21287
To: loh.tar, #ktexteditor
Cc: dhaumann, cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190521/6f0f8f43/attachment.html>
More information about the KWrite-Devel
mailing list