1. 30 Jul, 2015 1 commit
  2. 05 Apr, 2015 1 commit
  3. 18 Mar, 2015 1 commit
    • Christian Hergert's avatar
      textview: add support for underline and strikethrough colors · 28063ee2
      Christian Hergert authored
      This commit adds the GtkTextTag:underline-rgba and :strikethrough-rgba
      properties and the necessary plumbing to apply these colors in GtkTextLayout.
      With this change, you can alter the color of underlines including those
      of type PANGO_UNDERLINE_ERROR.
      
      You might want to alter the underline color to differentiate between
      spelling and grammer mistakes. In code editors, it is convenient to
      differentiate between errors and warnings.
      
      Note that the GtkTextAppearance struct is public ABI and has no spare
      room for new fields, so we are resorting to some tricky packing to store
      the colors in the unused pixel field of the fg_color and bg_color structs.
      This packing is accomplished by the macros in gtktextattributesprivate.h.
      Signed-off-by: default avatarChristian Hergert <christian@hergert.me>
      
      https://bugzilla.gnome.org/show_bug.cgi?id=402168
      28063ee2
  4. 04 Dec, 2014 1 commit
  5. 21 Aug, 2014 1 commit
    • Sébastien Wilmet's avatar
      Simplify _gtk_text_buffer_get_line_log_attrs() · 706c8e9c
      Sébastien Wilmet authored
      NULL was returned in case of an empty last line. Every users needed to
      special-case this. Now it will return the expected result: char_len of 0
      with one PangoLogAttr.
      
      In compute_log_attrs(), 'paragraph' will be the empty string "" with
      'char_len' == 0.
      pango_get_log_attrs() works fine with an empty string, it will return
      one correct PangoLogAttr (because there is one text position for the
      empty string).
      
      It fixes the unit tests for gtk_text_iter_is_cursor_position().
      
      https://bugzilla.gnome.org/show_bug.cgi?id=156164
      706c8e9c
  6. 20 Aug, 2014 1 commit
    • Sébastien Wilmet's avatar
      GtkTextView: various code clean-ups · f39d2110
      Sébastien Wilmet authored
      - only one blank line is enough to separate code sections.
      - the 'signals' variable was in the middle of function prototypes.
      - compare pointers to NULL in some conditions ("if(blah) should be used
        only if blah is a boolean variable). It makes the code clearer.
      - various other things.
      f39d2110
  7. 16 Aug, 2014 1 commit
  8. 29 Jul, 2014 1 commit
  9. 20 Jul, 2014 1 commit
  10. 02 Jul, 2014 1 commit
  11. 12 May, 2014 1 commit
  12. 19 Feb, 2014 1 commit
  13. 07 Feb, 2014 5 commits
  14. 05 Feb, 2014 1 commit
  15. 01 Feb, 2014 1 commit
  16. 28 Jan, 2014 1 commit
  17. 16 Sep, 2013 2 commits
  18. 14 Sep, 2013 1 commit
  19. 09 Jul, 2013 1 commit
  20. 25 Jun, 2013 1 commit
  21. 12 May, 2013 1 commit
  22. 16 Mar, 2013 1 commit
    • Sébastien Wilmet's avatar
      Small API doc fixes · 66dfab0b
      Sébastien Wilmet authored
      For gtk_text_iter_get_char(), due to the "Returns" at the beginning of
      the description, the description was not visible. So the first sentence
      has been reworded.
      66dfab0b
  23. 05 Mar, 2012 1 commit
  24. 27 Feb, 2012 1 commit
  25. 26 Sep, 2011 1 commit
  26. 05 Jul, 2011 1 commit
    • Matthias Clasen's avatar
      GtkTextBuffer: Add accessible api · aa291863
      Matthias Clasen authored
      These functions match closely to the AtkText interface;
      they will be used in the GtkTextView accessible implementation.
      Keep them private for now.
      aa291863
  27. 18 Apr, 2011 1 commit
  28. 12 Apr, 2011 1 commit
  29. 28 Jan, 2011 1 commit
  30. 20 Jan, 2011 1 commit
  31. 03 Jan, 2011 1 commit
  32. 15 Dec, 2010 1 commit
  33. 02 Nov, 2010 2 commits
  34. 01 Nov, 2010 1 commit