Lines Matching refs:buffer
332 GtkTextBuffer *buffer; in text_insert_help() local
339 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
340 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
341 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
344 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
345 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
347 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
348 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
349 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
357 GtkTextBuffer *buffer; in text_insert_msg() local
361 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_msg()
362 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_msg()
363 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_msg()
366 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
367 gtk_text_buffer_insert_with_tags(buffer, &end, title, -1, tag1, in text_insert_msg()
369 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_msg()
370 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
371 gtk_text_buffer_insert_with_tags(buffer, &end, msg, -1, tag2, in text_insert_msg()