1. 24 Sep, 2022 1 commit
  2. 22 May, 2021 1 commit
  3. 11 Mar, 2021 1 commit
  4. 02 Dec, 2020 1 commit
  5. 07 Nov, 2020 1 commit
  6. 03 Oct, 2020 1 commit
  7. 24 Jul, 2020 2 commits
  8. 13 Feb, 2020 1 commit
  9. 06 Feb, 2020 1 commit
  10. 08 Jan, 2020 1 commit
  11. 05 Nov, 2019 1 commit
    • Christian Hergert's avatar
      textview: add undo/redo support to GtkTextView · 15b3c0f5
      Christian Hergert authored
      This builds upon the GtkTextHistory helper to provide undo and redo support
      for the GtkTextView widget and GtkTextBuffer object.
      
      You can undo/redo using familiar shortcuts such as Primary+Z,
      Primary+Shift+Z, ad Primary+Y.
      
      Developers that wish to disable undo, should set the
      GtkTextBuffer:enable-undo property to FALSE.
      
      You can wrap irreversible actions
      gtk_text_buffer_begin_irreversible_action() and
      gtk_text_buffer_end_irreversible_action(). This will cause the undo stack
      to drop all undo/redo actions and the changes made between them will be
      the "initial state" of the buffer.
      
      Calling gtk_text_buffer_set_text() will do this automatically for you.
      15b3c0f5
  12. 06 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      The big versioning cleanup · 4c150d8e
      Matthias Clasen authored
      Remove all the old 2.x and 3.x version annotations.
      GTK+ 4 is a new start, and from the perspective of a
      GTK+ 4 developer all these APIs have been around since
      the beginning.
      4c150d8e
  13. 03 Dec, 2017 1 commit
    • Benjamin Otte's avatar
      textview: Redo clipboard handling · f53848c3
      Benjamin Otte authored
      Instead of using GtkClipboard and handling everything ourselves, we now
      put GtkTextBuffer into the GdkClipboard and register (de)serializers for
      text/plain.
      f53848c3
  14. 30 Nov, 2017 1 commit
    • Matthias Clasen's avatar
      textview: Replace pixbufs by textures · 0b396314
      Matthias Clasen authored
      This affects a few apis, such as gtk_text_iter_get_pixbuf,
      gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf,
      which have all been replaced by texture equivalents.
      
      Update all callers.
      0b396314
  15. 20 Nov, 2017 1 commit
  16. 12 Nov, 2015 1 commit
  17. 16 Oct, 2015 2 commits
  18. 04 Dec, 2014 1 commit
  19. 18 Oct, 2014 1 commit
  20. 05 Feb, 2014 1 commit
  21. 04 Feb, 2014 1 commit
  22. 21 Jan, 2014 1 commit
  23. 05 May, 2013 1 commit
  24. 28 Dec, 2012 1 commit
  25. 27 Feb, 2012 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 Jan, 2011 1 commit
  28. 19 Oct, 2010 1 commit
  29. 17 Jul, 2010 1 commit
  30. 02 May, 2010 1 commit
  31. 12 Jan, 2009 1 commit
    • Paolo Borelli's avatar
      Bug 492794 – Pasting external text at end of view yields wrong scrolling · 1a7c0ed0
      Paolo Borelli authored
      2009-01-12  Paolo Borelli  <pborelli@katamail.com>
      
      	Bug 492794 – Pasting external text at end of view yields wrong
      	scrolling to mark
      
      	* gtk/gtktextbuffer.[ch]:
      	* gtk/gtktextview.c:
      	Add a "paste-done" signal and use it to propelry scroll the
      	view at the end of the pasted text in the case of an async
      	paste. Patch by Ignacio Casal Quintero based on a patch by
      	Yevgen Muntyan.
      
      
      svn path=/trunk/; revision=22100
      1a7c0ed0
  32. 01 Jul, 2008 1 commit
  33. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  34. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkTextBuffer. · ad8fcdd7
      Tim Janik authored
      svn path=/trunk/; revision=20598
      ad8fcdd7
  35. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  36. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Allow to separate GtkTextMark creation from buffer insertion. (#132818, · 6ac30db0
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Allow to separate GtkTextMark creation from buffer insertion.
              (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
      
              * gtk/gtktextmarkprivate.h:
              * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
              create a GtkTextMark.
      
              * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
              function to add an existing mark to a buffer.
      
              * gtk/gtktextbtree.c: Allow adding existing marks.
      
              * gtk/gtk.symbols: Add new functions.
      
              * tests/testtextbuffer.c: Add some tests for new mark
              functionality.
      
      
      svn path=/trunk/; revision=17922
      6ac30db0