Lines Matching refs:buffer
367 GtkTextBuffer *buffer; in text_insert_help() local
374 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
375 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
376 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
379 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
380 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
382 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
383 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
384 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
392 GtkTextBuffer *buffer; in text_insert_msg() local
396 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_msg()
397 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_msg()
398 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_msg()
401 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
402 gtk_text_buffer_insert_with_tags(buffer, &end, title, -1, tag1, in text_insert_msg()
404 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_msg()
405 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_msg()
406 gtk_text_buffer_insert_with_tags(buffer, &end, msg, -1, tag2, in text_insert_msg()