D19491: generic config interface

Dominik Haumann noreply at phabricator.kde.org
Mon Mar 4 21:37:00 GMT 2019


dhaumann added a comment.


  Currently, one cannot 'unset' a value, but I guess that is ok, since we did not have that before
  
  In general this approach is OK. Some thoughts on this:
  
  - is it as fast as before, if you start Kate with e.g. 100 documents open?
  - will this allow easy access through the KTextEditor::Config interface? This is a Document and View extension interface.
  - can we allow modification of the config values through a generic KTextEditor::Command? I.e. set <key> <value>? Maybe also reset <key>?
  - Can we make this accessible through the upcoming variable interface, e.g. as ${CurrentDocument:Config:<key>}?
  
  As you can see, I am trying to push this concept a bit further...

REPOSITORY
  R39 KTextEditor

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

To: cullmann, #ktexteditor, dhaumann, loh.tar
Cc: kwrite-devel, kde-frameworks-devel, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190304/0ab00bdd/attachment.html>


More information about the Kde-frameworks-devel mailing list