• Havoc Pennington's avatar
    update to reflect text widget changes. · a4762fbf
    Havoc Pennington authored
    2000-07-25  Havoc Pennington  <hp@redhat.com>
    
    * gtk/testtext.c, gtk/testtextbuffer.c: update to reflect text
    widget changes.
    
    * gtk/gtktextview.h: To be consistent with usage of "line"
    throughout the API to mean "newline-terminated thingy", change
    MOVEMENT_LINE to be MOVEMENT_WRAPPED_LINE, and MOVEMENT_PARAGRAPH
    to MOVEMENT_LINE.
    
    (GtkTextView): Add flags for default editability, and whether to
    show the cursor. Add functions to get/set that. Add
    
    (gtk_text_view_get_iter_location): new function
    
    * gtk/gtktexttypes.h: Move GtkTextLine typedef from here to
    gtktextlayout.h
    (g_convert): Add g_convert temporarily, will go in glib in a bit
    
    * gtk/gtktexttagtable.h: include gtktexttag.h, and define
    GtkTextTagTableForeach instead of brokenly using GHFunc.
    Change gtk_text_tag_table_foreach() so it doesn't use GHFunc.
    
    * gtk/gtktexttagprivate.h: Remove GtkTextStyleValues from here,
    moved to public header.
    
    * gtk/gtktexttag.h: Rename the "elide" attribute of tags to
    "invisible", since "elide" was a bad name.
    (gtk_text_tag_get_priority): Added
    
    (GtkTextStyleValues): put this in public header, along with
    functions to use it.
    
    * gtk/gtktextmarkprivate.h: Include more headers, since we no
    longer include gtktextbtree.h.
    
    * gtk/gtktextmark.h: Add gtk_text_mark_ref, gtk_text_mark_unref,
    gtk_text_mark_deleted
    
    * gtk/gtktextlayout.h: Don't include the "really private" headers,
    only buffer/iter. Forward declare GtkTextLIne and GtkTextLineData
    to make this possible. Now we only need to install
    gtktextlayout.h, not gtktextbtree.h and gtktext*private.h.
    (However the Makefile.am isn't changed yet because of the
    logistics of merging gtk-hp-patches piecemeal)
    
    * gtk/gtktextiterprivate.h: include btree header, so it compiles;
    rename gtk_text_iter_get_line to gtk_text_iter_get_text_line since
    gtk_text_iter_get_line is now used in the public API for a
    different purpose.
    
    * gtk/gtktextiter.h: Clean up function names to be more
    consistent. Always call char offset "offset" and byte index
    "index". A "line" is always a line number.
    
    (gtk_text_iter_is_last): new function, more efficient than
    the existing way to check
    (gtk_text_iter_is_first): new function, also more efficient
    
    (gtk_text_iter_up_lines, gtk_text_iter_down_lines): Remove these
    
    (gtk_text_iter_next_char, gtk_text_iter_prev_char): Renamed from
    gtk_text_iter_forward_char, etc.
    
    (gtk_text_iter_forward_to_tag_toggle): Renamed from
    forward_find_tag_toggle, since this isn't a linear search
    
    (GtkTextCharPredicate): rename from GtkTextViewCharPredicate
    
    (gtk_text_iter_forward_search, gtk_text_iter_backward_search):
    New functions, search for a buffer substring.
    
    * gtk/gtktextbuffer.h: Add fields to store whether a paste is
    interactive and default editable (since we need to store that info
    until we receive the selection data).
    
    Remove all the _at_char and at_line etc. versions of functions;
    only have iterator versions.
    
    Add _interactive() versions of functions, that consider the
    editability of text. (FIXME add interactive flag to the
    insert/delete signals per Darin's suggestion)
    
    (gtk_text_buffer_get_tag_table): new function, demand-creates the
    tag table if necessary
    
    Remove declaration of gtk_text_buffer_get_iter_from_string
    
    (_gtk_text_buffer_get_btree): private/internal function, added.
    
    
    * gtk/gtktextbtree.h: Remove forward decl of GtkTextLineData.
    (gtk_text_line_is_last): new function
    a4762fbf
Name
Last commit
Last update
..
.cvsignore Loading commit data...
3DRings.xpm Loading commit data...
FilesQueue.xpm Loading commit data...
Makefile.am Loading commit data...
Modeller.xpm Loading commit data...
OLD_STAMP Loading commit data...
check-n.xpm Loading commit data...
check-y.xpm Loading commit data...
circles.xbm Loading commit data...
fnmatch.c Loading commit data...
fnmatch.h Loading commit data...
gdk-pixbuf-loader.c Loading commit data...
gdk-pixbuf-loader.h Loading commit data...
genmarshal.pl Loading commit data...
gtk-boxed.defs Loading commit data...
gtk.def Loading commit data...
gtk.h Loading commit data...
gtk.rc Loading commit data...
gtkaccelgroup.c Loading commit data...
gtkaccelgroup.h Loading commit data...
gtkaccellabel.c Loading commit data...
gtkaccellabel.h Loading commit data...
gtkadjustment.c Loading commit data...
gtkadjustment.h Loading commit data...
gtkalignment.c Loading commit data...
gtkalignment.h Loading commit data...
gtkarg.c Loading commit data...
gtkarg.h Loading commit data...
gtkargcollector.c Loading commit data...
gtkarrow.c Loading commit data...
gtkarrow.h Loading commit data...
gtkaspectframe.c Loading commit data...
gtkaspectframe.h Loading commit data...
gtkbbox.c Loading commit data...
gtkbbox.h Loading commit data...
gtkbin.c Loading commit data...
gtkbin.h Loading commit data...
gtkbindings.c Loading commit data...
gtkbindings.h Loading commit data...
gtkbox.c Loading commit data...
gtkbox.h Loading commit data...
gtkbutton.c Loading commit data...
gtkbutton.h Loading commit data...
gtkcalendar.c Loading commit data...
gtkcalendar.h Loading commit data...
gtkcheckbutton.c Loading commit data...
gtkcheckbutton.h Loading commit data...
gtkcheckmenuitem.c Loading commit data...
gtkcheckmenuitem.h Loading commit data...
gtkclist.c Loading commit data...
gtkclist.h Loading commit data...
gtkcolorsel.c Loading commit data...
gtkcolorsel.h Loading commit data...
gtkcolorseldialog.c Loading commit data...
gtkcolorseldialog.h Loading commit data...
gtkcombo.c Loading commit data...
gtkcombo.h Loading commit data...
gtkcompat.h.in Loading commit data...
gtkcompat.h.win32 Loading commit data...
gtkcontainer.c Loading commit data...
gtkcontainer.h Loading commit data...
gtkctree.c Loading commit data...
gtkctree.h Loading commit data...
gtkcurve.c Loading commit data...
gtkcurve.h Loading commit data...
gtkdata.c Loading commit data...
gtkdata.h Loading commit data...
gtkdebug.h Loading commit data...
gtkdialog.c Loading commit data...
gtkdialog.h Loading commit data...
gtkdnd.c Loading commit data...
gtkdnd.h Loading commit data...
gtkdrawingarea.c Loading commit data...
gtkdrawingarea.h Loading commit data...
gtkeditable.c Loading commit data...
gtkeditable.h Loading commit data...
gtkentry.c Loading commit data...
gtkentry.h Loading commit data...
gtkenums.h Loading commit data...
gtkeventbox.c Loading commit data...
gtkeventbox.h Loading commit data...
gtkfilesel.c Loading commit data...
gtkfilesel.h Loading commit data...
gtkfixed.c Loading commit data...
gtkfixed.h Loading commit data...
gtkfontsel.c Loading commit data...
gtkfontsel.h Loading commit data...
gtkframe.c Loading commit data...
gtkframe.h Loading commit data...
gtkgamma.c Loading commit data...
gtkgamma.h Loading commit data...
gtkgc.c Loading commit data...
gtkgc.h Loading commit data...
gtkhandlebox.c Loading commit data...
gtkhandlebox.h Loading commit data...
gtkhbbox.c Loading commit data...
gtkhbbox.h Loading commit data...
gtkhbox.c Loading commit data...
gtkhbox.h Loading commit data...
gtkhpaned.c Loading commit data...
gtkhpaned.h Loading commit data...
gtkhruler.c Loading commit data...
gtkhruler.h Loading commit data...
gtkhscale.c Loading commit data...
gtkhscale.h Loading commit data...
gtkhscrollbar.c Loading commit data...
gtkhscrollbar.h Loading commit data...
gtkhseparator.c Loading commit data...
gtkhseparator.h Loading commit data...
gtkhsv.c Loading commit data...
gtkhsv.h Loading commit data...
gtkimage.c Loading commit data...
gtkimage.h Loading commit data...
gtkimcontext.c Loading commit data...
gtkimcontext.h Loading commit data...
gtkimcontextsimple.c Loading commit data...
gtkimcontextsimple.h Loading commit data...
gtkimmulticontext.c Loading commit data...
gtkimmulticontext.h Loading commit data...
gtkinputdialog.c Loading commit data...
gtkinputdialog.h Loading commit data...
gtkintl.h Loading commit data...
gtkinvisible.c Loading commit data...
gtkinvisible.h Loading commit data...
gtkitem.c Loading commit data...
gtkitem.h Loading commit data...
gtkitemfactory.c Loading commit data...
gtkitemfactory.h Loading commit data...
gtklabel.c Loading commit data...
gtklabel.h Loading commit data...
gtklayout.c Loading commit data...
gtklayout.h Loading commit data...
gtklist.c Loading commit data...
gtklist.h Loading commit data...
gtklistitem.c Loading commit data...
gtklistitem.h Loading commit data...
gtkmain.c Loading commit data...
gtkmain.h Loading commit data...
gtkmarshal.list Loading commit data...
gtkmarshalers.list Loading commit data...
gtkmenu.c Loading commit data...
gtkmenu.h Loading commit data...
gtkmenubar.c Loading commit data...
gtkmenubar.h Loading commit data...
gtkmenufactory.c Loading commit data...
gtkmenufactory.h Loading commit data...
gtkmenuitem.c Loading commit data...
gtkmenuitem.h Loading commit data...
gtkmenushell.c Loading commit data...
gtkmenushell.h Loading commit data...
gtkmisc.c Loading commit data...
gtkmisc.h Loading commit data...
gtknotebook.c Loading commit data...
gtknotebook.h Loading commit data...
gtkobject.c Loading commit data...
gtkobject.h Loading commit data...
gtkoptionmenu.c Loading commit data...
gtkoptionmenu.h Loading commit data...
gtkpacker.c Loading commit data...
gtkpacker.h Loading commit data...
gtkpaned.c Loading commit data...
gtkpaned.h Loading commit data...
gtkpixmap.c Loading commit data...
gtkpixmap.h Loading commit data...
gtkplug.c Loading commit data...
gtkplug.h Loading commit data...
gtkpreview.c Loading commit data...
gtkpreview.h Loading commit data...
gtkprivate.h Loading commit data...
gtkprogress.c Loading commit data...
gtkprogress.h Loading commit data...
gtkprogressbar.c Loading commit data...
gtkprogressbar.h Loading commit data...
gtkradiobutton.c Loading commit data...
gtkradiobutton.h Loading commit data...
gtkradiomenuitem.c Loading commit data...
gtkradiomenuitem.h Loading commit data...
gtkrange.c Loading commit data...
gtkrange.h Loading commit data...
gtkrc.c Loading commit data...
gtkrc.cp1251 Loading commit data...
gtkrc.el Loading commit data...
gtkrc.eo Loading commit data...
gtkrc.h Loading commit data...
gtkrc.he Loading commit data...
gtkrc.hy Loading commit data...
gtkrc.iso-8859-13 Loading commit data...
gtkrc.iso-8859-14 Loading commit data...
gtkrc.iso-8859-15 Loading commit data...
gtkrc.iso-8859-2 Loading commit data...
gtkrc.iso-8859-5 Loading commit data...
gtkrc.ja Loading commit data...
gtkrc.ka_GE.georgianacademy Loading commit data...
gtkrc.ka_GE.georgianps Loading commit data...
gtkrc.ko Loading commit data...
gtkrc.ru Loading commit data...
gtkrc.th Loading commit data...
gtkrc.tr Loading commit data...
gtkrc.uk Loading commit data...
gtkrc.vi_VN.tcvn Loading commit data...
gtkrc.vi_VN.viscii Loading commit data...
gtkrc.zh_CN Loading commit data...
gtkrc.zh_TW.Big5 Loading commit data...
gtkruler.c Loading commit data...
gtkruler.h Loading commit data...
gtkscale.c Loading commit data...
gtkscale.h Loading commit data...
gtkscrollbar.c Loading commit data...
gtkscrollbar.h Loading commit data...
gtkscrolledwindow.c Loading commit data...
gtkscrolledwindow.h Loading commit data...
gtkselection.c Loading commit data...
gtkselection.h Loading commit data...
gtkseparator.c Loading commit data...
gtkseparator.h Loading commit data...
gtksignal.c Loading commit data...
gtksignal.h Loading commit data...
gtksocket.c Loading commit data...
gtksocket.h Loading commit data...
gtkspinbutton.c Loading commit data...
gtkspinbutton.h Loading commit data...
gtkstatusbar.c Loading commit data...
gtkstatusbar.h Loading commit data...
gtkstyle.c Loading commit data...
gtkstyle.h Loading commit data...
gtktable.c Loading commit data...
gtktable.h Loading commit data...
gtktearoffmenuitem.c Loading commit data...
gtktearoffmenuitem.h Loading commit data...
gtktext.c Loading commit data...
gtktext.h Loading commit data...
gtktextbtree.c Loading commit data...
gtktextbtree.h Loading commit data...
gtktextbuffer.c Loading commit data...
gtktextbuffer.h Loading commit data...
gtktextchild.c Loading commit data...
gtktextchild.h Loading commit data...
gtktextdisplay.c Loading commit data...
gtktextdisplay.h Loading commit data...
gtktextiter.c Loading commit data...
gtktextiter.h Loading commit data...
gtktextiterprivate.h Loading commit data...
gtktextlayout.c Loading commit data...
gtktextlayout.h Loading commit data...
gtktextmark.c Loading commit data...
gtktextmark.h Loading commit data...
gtktextmarkprivate.h Loading commit data...
gtktextsegment.c Loading commit data...
gtktextsegment.h Loading commit data...
gtktexttag.c Loading commit data...
gtktexttag.h Loading commit data...
gtktexttagprivate.h Loading commit data...
gtktexttagtable.c Loading commit data...
gtktexttagtable.h Loading commit data...
gtktexttypes.c Loading commit data...
gtktexttypes.h Loading commit data...
gtktextview.c Loading commit data...
gtktextview.h Loading commit data...
gtkthemes.c Loading commit data...
gtkthemes.h Loading commit data...
gtktipsquery.c Loading commit data...
gtktipsquery.h Loading commit data...
gtktogglebutton.c Loading commit data...
gtktogglebutton.h Loading commit data...
gtktoolbar.c Loading commit data...
gtktoolbar.h Loading commit data...
gtktooltips.c Loading commit data...
gtktooltips.h Loading commit data...
gtktree.c Loading commit data...
gtktree.h Loading commit data...
gtktreeitem.c Loading commit data...
gtktreeitem.h Loading commit data...
gtktypeutils.c Loading commit data...
gtktypeutils.h Loading commit data...
gtkvbbox.c Loading commit data...
gtkvbbox.h Loading commit data...
gtkvbox.c Loading commit data...
gtkvbox.h Loading commit data...
gtkviewport.c Loading commit data...
gtkviewport.h Loading commit data...
gtkvpaned.c Loading commit data...
gtkvpaned.h Loading commit data...
gtkvruler.c Loading commit data...
gtkvruler.h Loading commit data...
gtkvscale.c Loading commit data...
gtkvscale.h Loading commit data...
gtkvscrollbar.c Loading commit data...
gtkvscrollbar.h Loading commit data...
gtkvseparator.c Loading commit data...
gtkvseparator.h Loading commit data...
gtkwidget.c Loading commit data...
gtkwidget.h Loading commit data...
gtkwindow.c Loading commit data...
gtkwindow.h Loading commit data...
line-arrow.xbm Loading commit data...
line-wrap.xbm Loading commit data...
makeenums.awk Loading commit data...
makeenums.h Loading commit data...
makeenums.pl Loading commit data...
makefile.cygwin Loading commit data...
makefile.mingw.in Loading commit data...
makefile.msc Loading commit data...
maketypes.awk Loading commit data...
marble.xpm Loading commit data...
simple.c Loading commit data...
test.xpm Loading commit data...
testcalendar.c Loading commit data...
testdnd.c Loading commit data...
testgtk.1 Loading commit data...
testgtk.c Loading commit data...
testgtkrc Loading commit data...
testgtkrc2 Loading commit data...
testinput.c Loading commit data...
testrgb.c Loading commit data...
testselection.c Loading commit data...
testtext.c Loading commit data...
testtextbuffer.c Loading commit data...
testthreads.c Loading commit data...
tree_minus.xbm Loading commit data...
tree_minus.xpm Loading commit data...
tree_plus.xbm Loading commit data...
tree_plus.xpm Loading commit data...