Lines Matching refs:buffer
397 GtkTextBuffer *buffer; in text_insert_help() local
404 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
405 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
406 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
409 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
410 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
412 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
413 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
414 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
422 GtkTextBuffer *buffer; in text_insert_msg() local
426 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_msg()
427 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_msg()
428 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_msg()
431 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
432 gtk_text_buffer_insert_with_tags(buffer, &end, title, -1, tag1, in text_insert_msg()
434 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_msg()
435 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
436 gtk_text_buffer_insert_with_tags(buffer, &end, msg, -1, tag2, in text_insert_msg()