D21409: KWrite: Implement sceleton KTextEditor::Application

Dominik Haumann noreply at phabricator.kde.org
Sun May 26 06:37:12 BST 2019


dhaumann added a comment.


  I think this is correct: you can do File > open multiple times, then you have multiple KWrite windows. To the user it looks as if this are multiple processes. Calling quit() in this case would also quit all other KWrite main windows, which is clearly wrong.
  
  I suggest the following:
  
  - if there is only one KWrite window in the KWrite process, quit().
  - if there are multiple windows, call close().
  
  But since this is the KTextEditor:: Application interface, just calling quit() here should be correct.
  
  The other part of the fix should be done in the vi mode q command.

REPOSITORY
  R40 Kate

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

To: michalhumpula, cullmann
Cc: loh.tar, dhaumann, kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190526/ab3ea174/attachment.html>


More information about the KWrite-Devel mailing list