• Michael Natterer's avatar
    app: group text buffer changes by user actions · 65216b93
    Michael Natterer authored
    Use gtk_text_buffer_begin_user_action() and end_user_action() to group
    all text buffer operations triggered by a single editing operation.
    Connect to the buffer's "end-user-action" signal instead of to
    "changed", "apply-tag" and "remove-tag" separately, so we only update
    the text proxy once per user editing.
gimptextbuffer.c 23.4 KB