1. 12 May, 2020 1 commit
  2. 11 May, 2020 3 commits
  3. 10 May, 2020 1 commit
  4. 09 May, 2020 1 commit
  5. 04 May, 2020 3 commits
    • Igor Poboiko's avatar
      [KPIMTextEdit/FindBar] Respect rich formatting and user settings when replacing all · 408ad525
      Igor Poboiko authored
      Summary:
      Instead of converting document to plain text, just loop over all encounters of the search string in the document and replace those.
      Otherwise we will lose all formatting in `RichTextEditor`.
      
      This way we're also able to respect the search settings (case sensitivity, whole word search).
      Also, provide user with a visual indication showing how many replacements were made (the same way Kate/KWrite does it).
      The latter two points also apply `PlainTextEditFindBar`.
      
      (in principle, to avoid code duplication, we can move this to `FindBarBase`.
      We only need to access `mView->document()`, which depends on the underlying text widget,
      so we could add a `virtual QTextDocument *document()` method to FindBarBase and reimplement it)
      
      Test Plan:
      Tested case-sensitive and regular expression `Replace All` on a rich-text document (having a list is already sufficient),
      the formatting is not messed up
      
      Reviewers: mlaurent, dvratil
      
      Reviewed By: mlaurent
      
      Subscribers: dvratil, kde-pim
      
      Tags: #kde_pim
      
      Differential Revision: https://phabricator.kde.org/D29318
      408ad525
    • Laurent Montel's avatar
      55654e99
    • Laurent Montel's avatar
      Make it compile against qt < 5.14 · 9c2ebf2f
      Laurent Montel authored
      9c2ebf2f
  6. 30 Apr, 2020 6 commits
  7. 29 Apr, 2020 4 commits
  8. 28 Apr, 2020 5 commits
  9. 26 Apr, 2020 1 commit
  10. 24 Apr, 2020 1 commit
  11. 20 Apr, 2020 2 commits
  12. 19 Apr, 2020 10 commits
  13. 15 Apr, 2020 2 commits