Commit a07a5ecb authored by Committed by Matthias Clasen
Try to match an off toggle here with the matching on toggle if it
2005-10-11 Matthias Clasen <firstname.lastname@example.org> * gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off toggle here with the matching on toggle if it immediately follows. This is a common case, and handling it here prevents quadratic blowup in cleanup_line() below. (#317125) * gtk/gtktextsegment.h: * gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass the character counts into this function instead of computing them again.
Showing with 70 additions and 17 deletions