loh.tar created this revision.
loh.tar added a reviewer: KTextEditor.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
loh.tar requested review of this revision.

REVISION SUMMARY
  When you e.g. work on multiple projects at the same time you have often the 
case that you have documents with a number suffix on tabs or other places like 
side bars. These suffix give no hint which file it really is.
  This patch add some folder name to the document to make the name unique, 
which should be in any case more helpful than the number suffix.
  
  Drawbacks
  
  - The unique names can change when you open a file
  - The numbering is kept as fallback for rare cases. When it is in use are 
these numbers also not "static" like in case of "Untitled" documents

TEST PLAN
  No Patch
  F6834935: no-patch.png <https://phabricator.kde.org/F6834935>
  Patch
  F6834936: patch.png <https://phabricator.kde.org/F6834936>
  
  Hint: The shown "Documents" plugin did not notice name changes, keep this in 
mind when you play around

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D21287

AFFECTED FILES
  src/document/katedocument.cpp
  src/document/katedocument.h

To: loh.tar, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, 
ngraham, bruns, demsking, cullmann, sars, dhaumann

Reply via email to