1. 31 Jul, 2020 2 commits
    • Laurent Montel's avatar
      Remove warning · f41e6044
      Laurent Montel authored
      f41e6044
    • Igor Poboiko's avatar
      Grab character format after the link if cursor points at its end · 7c49e82b
      Igor Poboiko authored
      The default QTextEdit behavior is following:
       - the current char format corresponds to the symbol right _before_ the cursor position.
       - if the cursor is at the start of the block, the format is grabbed from the symbol _after_ the cursor.
      
      It works well with standard formatting (bold, underline, etc), which can easily be enabled / disabled using corresponding QActions.
      Note that the behavior is also the same for, say, LibreOffice.
      
      However, it does not work well with hyperlinks. If the document ends with a link, it is virtually impossible
      to start typing normal text right after this link (i.e. to reset the char format). The only way to do it
      is to use copy-paste (i.e. paste some normal text, preserving formatting), which is quite frustrating.
      
      For the same reason it's not easy to write some text right after hyperlink.
      I believe it's the reason behind this tiny whitespace in `insertHtml` inside richTextComposer.
      
      The workaround is following: alter the default behiour and take the character format from symbol right _after_
      the link if the cursor points at the end of the link (this is also the way LibreOffice behaves).
      7c49e82b
  2. 13 Jul, 2020 1 commit
  3. 12 Jul, 2020 1 commit
  4. 08 Jul, 2020 1 commit
  5. 07 Jul, 2020 1 commit
  6. 06 Jul, 2020 1 commit
  7. 02 Jul, 2020 4 commits
  8. 01 Jul, 2020 8 commits
  9. 22 Jun, 2020 1 commit
  10. 17 Jun, 2020 1 commit
  11. 14 Jun, 2020 2 commits
  12. 12 Jun, 2020 1 commit
  13. 10 Jun, 2020 1 commit
  14. 09 Jun, 2020 2 commits
  15. 08 Jun, 2020 2 commits
  16. 07 Jun, 2020 1 commit
  17. 05 Jun, 2020 1 commit
  18. 04 Jun, 2020 1 commit
  19. 02 Jun, 2020 1 commit
  20. 31 May, 2020 1 commit
    • Igor Poboiko's avatar
      Fix "Rescale QImage accordingly" · d53a9063
      Igor Poboiko authored
      Rescale image only when needed (i.e. original image is larger than
      desired). Also, when user don't want to rescale the image at all,
      special values  width == -1 && height == -1 are provided; this case
      should also be covered.
      d53a9063
  21. 30 May, 2020 3 commits
  22. 29 May, 2020 1 commit
  23. 28 May, 2020 2 commits