rename to gtk_text_mark_get_visible
2000-11-07 Havoc Pennington <hp@redhat.com> * gtk/gtktextmark.c (gtk_text_mark_is_visible): rename to gtk_text_mark_get_visible * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): fix bug that was generating an invalid iterator * gtk/gtktextiter.c (gtk_text_iter_get_offset): move call to ensure_char_offsets() in front of code placing the iter in an invalid state. * gtk/gtktextbuffer.c (gtk_text_buffer_paste_primary): make override_location arg const (paste): Replace the selection if we paste into the current selection * gtk/gtkselection.h: Remove "GtkSelectioData" (struct _GtkSelectionData): move the definition here. * gtk/gtktextbuffer.c (gtk_text_buffer_update_primary_selection): Export the GTK_TEXT_BUFFER_CONTENTS target for in-process copies * gtk/gtktextiter.c (gtk_text_iter_get_tags): New function * gtk/gtktextbuffer.c (gtk_text_buffer_insert_range): implement (gtk_text_buffer_insert_range_interactive): implement (gtk_text_buffer_get_tags): Remove, replaced by gtk_text_iter_get_tags() * gtk/gtktextiter.c (gtk_text_iter_forward_search): Add a search limit parameter, to avoid infinite linear scan. (gtk_text_iter_backward_search): Add search limit (gtk_text_iter_forward_find_char): Add search limit (gtk_text_iter_backward_find_char): Add search limit
This commit is contained in:
		 Havoc Pennington
					Havoc Pennington
				
			
				
					committed by
					
						 Havoc Pennington
						Havoc Pennington
					
				
			
			
				
	
			
			
			 Havoc Pennington
						Havoc Pennington
					
				
			
						parent
						
							163dc54dea
						
					
				
				
					commit
					f1de9df051
				
			| @ -141,25 +141,6 @@ struct _GtkRequisition | ||||
|   gint height; | ||||
| }; | ||||
|  | ||||
| /* The contents of a selection are returned in a GtkSelectionData | ||||
|    structure. selection/target identify the request.  | ||||
|    type specifies the type of the return; if length < 0, and | ||||
|    the data should be ignored. This structure has object semantics - | ||||
|    no fields should be modified directly, they should not be created | ||||
|    directly, and pointers to them should not be stored beyond the duration of | ||||
|    a callback. (If the last is changed, we'll need to add reference | ||||
|    counting.) The time field gives the timestamp at which the data was sent. */ | ||||
|  | ||||
| struct _GtkSelectionData | ||||
| { | ||||
|   GdkAtom selection; | ||||
|   GdkAtom target; | ||||
|   GdkAtom type; | ||||
|   gint	  format; | ||||
|   guchar *data; | ||||
|   gint	  length; | ||||
| }; | ||||
|  | ||||
| /* The widget is the base of the tree for displayable objects. | ||||
|  *  (A displayable object is one which takes up some amount | ||||
|  *  of screen real estate). It provides a common base and interface | ||||
|  | ||||
		Reference in New Issue
	
	Block a user