1. 23 May, 2017 40 commits
    • Eike Ziller's avatar
      SyntaxHighligher: Remove the need to specify format for spaces · f51fbd68
      Eike Ziller authored
      It has all means to know itself.
      
      Change-Id: I464c195c5ee47e5fc58414a280c166e4a332c588
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      f51fbd68
    • Eike Ziller's avatar
      Simplify text format handling in syntax highlighters · cf57965e
      Eike Ziller authored
      Pass the mapping from custom enum to text style in form of a function,
      which then can use a switch which is checked by compilers, and
      avoids the need to lookup a different enum somewhere else to find
      out what the mapping actually is.
      That mapping is cached to keep performance as before.
      
      Also, most highlighters created an enum just for the purpose of mapping
      to text styles, basically creating duplicated subsets of text style like
      enums everywhere. Instead provide a default, identity mapping from text
      styles to text styles.
      
      Change-Id: I2ea1ca702b99e36b8742dfda510b1b2753f0a1c2
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      cf57965e
  2. 30 Mar, 2016 40 commits
  3. 19 Jan, 2016 40 commits
  4. 02 Sep, 2015 40 commits
  5. 16 Jan, 2015 40 commits
  6. 13 Jan, 2015 40 commits
  7. 12 Jan, 2015 40 commits
  8. 07 Jan, 2015 40 commits
  9. 10 Nov, 2014 40 commits
  10. 09 Oct, 2014 40 commits
  11. 26 Sep, 2014 40 commits
  12. 27 Aug, 2014 40 commits
  13. 16 May, 2014 40 commits
  14. 08 May, 2014 40 commits
  15. 05 Feb, 2014 40 commits
  16. 04 Feb, 2014 40 commits
  17. 08 Jan, 2014 40 commits
  18. 27 Nov, 2013 40 commits
  19. 18 Sep, 2013 40 commits
  20. 09 Sep, 2013 40 commits
  21. 30 Aug, 2013 40 commits
  22. 26 Aug, 2013 40 commits
  23. 02 Apr, 2013 40 commits
  24. 29 Jan, 2013 40 commits
  25. 05 Oct, 2012 40 commits
  26. 19 Jul, 2012 40 commits
  27. 15 Feb, 2012 40 commits
  28. 26 Jan, 2012 40 commits
  29. 03 Nov, 2011 40 commits
  30. 26 Oct, 2011 40 commits
  31. 06 Jul, 2011 40 commits
  32. 13 Apr, 2011 40 commits
  33. 16 Feb, 2011 40 commits
  34. 12 Jan, 2011 40 commits
  35. 17 Dec, 2010 40 commits
  36. 07 Dec, 2010 40 commits
    • Leandro Melo's avatar
      Gen. highlighter: Improve performance (reg. exp.) · b5739e36
      Leandro Melo authored
      Cache matches of the RegExprRule to avoid unnecessary calls.
      This is essentially the same optimization existent in Kate.
      
      A colateral effect of this implementation is a mechanism to
      notify the rules when a progress (highlight of the current
      line) is finished.
      b5739e36
  37. 21 Oct, 2010 40 commits