1. 11 Jul, 2018 1 commit
  2. 23 Mar, 2018 1 commit
    • Michael Natterer's avatar
      Bug 794221 - Recently used colors on text don't get added to the color history · 822a7228
      Michael Natterer authored
      Add signal GimpTextBuffer::color-applied which is emitted when text is
      inserted or when color is applied to a span of text.
      In GimpTextTool, connect to the signal and update the global color
      Unrelated: rename gimp_text_tag_get_color() to get_fg_color() and add
      boolean return values to get_fg_color() and get_fg_color() which
      indicates if a color is set on the tag at all. This ended up unneeded
      in the fix but is an improvement regardless.
  3. 01 Jun, 2016 3 commits
  4. 02 Jul, 2014 1 commit
  5. 09 Nov, 2012 1 commit
  6. 01 Sep, 2010 1 commit
  7. 28 Mar, 2010 1 commit
  8. 04 Mar, 2010 1 commit
  9. 03 Mar, 2010 1 commit
  10. 02 Mar, 2010 3 commits
  11. 01 Mar, 2010 2 commits
    • Michael Natterer's avatar
      app: don't remove all tags when toggling style buttons and then inserting · b19db0de
      Michael Natterer authored
      Instead, keep a list of tags to explicitely remove around (the list of
      unchecked toggles), and remove only these tags, so the tags that have
      no widget in the UI are not affected by the insert_tags logic.
    • Michael Natterer's avatar
      app: make manual kerning / character spacing work · f8ac0c61
      Michael Natterer authored
      Add gimp_text_buffer_get_iter_at_index() which does the reverse thing
      than the already existing function gimp_text_buffer_get_iter_index().
      Use the new function when cursor-navigation lines. Add "gboolean
      layout_index" to both functions, which if TRUE indicates that the
      passed in/out index is an index into the PangoLayout's content rather
      than the text buffer's. When dealing with layout indices, take into
      account the additional characters we insert into the serialized markup
      (and thus the layout) for each character that is tagged with spacing.
  12. 27 Feb, 2010 1 commit
    • Michael Natterer's avatar
      app: support baseline changing via Alt+Up and Alt+Down · 1e26bb13
      Michael Natterer authored
      Add a list of available baseline tags to GimpTextBuffer and
      automatically create baseline tags as needed. They get serialized as
      <span rise="value">, so add attribute and value parameters to the
      buffer's tag_to_name() and name_to_tag() functions. Properly managing
      the rise's amount is a TODO, currently each keystroke changes the
      baseline by 1024 pango units, which might be whatever depending on the
      output grid.
  13. 26 Feb, 2010 3 commits
    • Michael Natterer's avatar
      app: allow to toggle tags and then write text with that style · 9a53cc11
      Michael Natterer authored
      instead of using the toggles only to change the style of selected text.
      Introduces a list of "insert tags" in GimpTextBuffer that is applied
      on newly inserted text if it exists. Clear the list on each content
      or cursor/selection change, so we always display wthe style at the
      cursor unless the buttons were clicked explicitely.
    • Michael Natterer's avatar
      app: add gimp_text_buffer_insert() and use it · 6c556698
      Michael Natterer authored
      Does nothing special yet, but will soon apply the currently active
      tags to the inserted text.
    • Michael Natterer's avatar
      app: add infrastructure for editing pango markup based text styles · 360f5739
      Michael Natterer authored
      - keep around tags for styles in GimpTextBuffer. For now only bold,
        italic, underline and strikethrough.
      - add GimpTextStyleEditor, a widget which allows setting tags on
        a GimpTextBuffer's selection.
      - add serialize/deserialize code to/from pango markup using
        GtkTextBuffer's rich text (de)serialization infrastructure.
        Doesn't produce or handle <span> yet.
  14. 25 Feb, 2010 1 commit