pedroarthurp created this revision.
Restricted Application added subscribers: Frameworks, kwrite-devel.
Restricted Application added a project: Frameworks.

REVISION SUMMARY
  Currently, `KTextEditor::Document::documentReload()` shows a dialog asking 
the user if he/she wants to reload a file from disk. However, there are use 
cases where reloading the file from disk is the norm and no user interaction is 
required. For example, an external script would make changes in the file and 
those changes should be immediately reloaded.
  
  This patch then implements a mechanism through which `KTextEditor` clients 
could reload the file without asking user confirmation. The main motivation of 
this patch is to enable this no-confirmation-required file reloading to the 
external script facilities of kdevplataform.

REPOSITORY
  R39 KTextEditor

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

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

To: pedroarthurp
Cc: kwrite-devel, #frameworks

Reply via email to