| 331 gtk_text_buffer_get_insert(imhtml->text_buffer)); |
331 gtk_text_buffer_get_insert(imhtml->text_buffer)); |
| 332 i = gtk_text_iter_get_offset(&ins); |
332 i = gtk_text_iter_get_offset(&ins); |
| 333 |
333 |
| 334 gtk_imhtml_append_text(imhtml, text, 0); |
334 gtk_imhtml_append_text(imhtml, text, 0); |
| 335 |
335 |
| 336 if(!win->highlight) { |
336 /* If we're not highlighting and the expression isn't inverted, |
| |
337 * we're done and move on. |
| |
338 */ |
| |
339 if(!win->highlight || inverted == REG_NOMATCH) { |
| 337 g_free(plaintext); |
340 g_free(plaintext); |
| 338 return; |
341 return; |
| 339 } |
342 } |
| 340 |
343 |
| 341 /* we use a do-while to highlight the first match, and then continue |
344 /* we use a do-while to highlight the first match, and then continue |