Mercurial > pidgin.yaz
comparison src/gtksourceiter.c @ 8866:c2dff943e240
[gaim-migrate @ 9634]
(14:10:22) Faceprint: the timestamp plugin will now mislead users
(14:10:54) Me: which way does ichat behave?
(14:10:58) Me: i think the new way
(14:11:05) Me: but its been some time since i've seen it
(14:11:09) Faceprint: i don't know or care, the new behavior will confuse
the hell out of people
(14:11:22) Faceprint: lets say we have a conversation
(14:11:25) Faceprint: 2:00 gets printed by the plugin
(14:11:36) Faceprint: then we say nothing for 3 hours
(14:11:42) Faceprint: and then one of us says something
(14:12:04) Faceprint: that will be printed, and then as many as 5 minutes
later, the plugin will print 5:05
(14:12:23) Me: yes yes yes, i see both sides of this one. i tend to think
the new behavior is better, but i'll revert it
(14:12:36) Faceprint: since "normal" timestamps are turned off, it appears
as though what was just said was said around 2
(14:12:43) Faceprint: no, don't revert, fix
(14:12:53) Faceprint: preferably, make the patch writer fix
(14:12:57) Me: *nods*
(14:13:06) Me: which requires reverting since otherwise he won't be
motivated
(14:13:13) Faceprint: if something is said and we've gone more than 5 min
w/o printing a timestamp, print a timestamp before writing to the conv
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 03 May 2004 18:13:39 +0000 |
parents | fa6395637e2c |
children | ec140184437b |
comparison
equal
deleted
inserted
replaced
8865:12791b1a13ee | 8866:c2dff943e240 |
---|---|
474 return str_array; | 474 return str_array; |
475 } | 475 } |
476 | 476 |
477 /** | 477 /** |
478 * gtk_source_iter_forward_search: | 478 * gtk_source_iter_forward_search: |
479 * @iter: start of search | |
480 * @str: a search string | |
481 * @flags: flags affecting how the search is done | |
482 * @match_start: return location for start of match, or %NULL | |
483 * @match_end: return location for end of match, or %NULL | |
484 * @limit: bound for the search, or %NULL for the end of the buffer | |
485 * | 479 * |
486 * Searches forward for @str. Any match is returned by setting | 480 * Searches forward for @str. Any match is returned by setting |
487 * @match_start to the first character of the match and @match_end to the | 481 * @match_start to the first character of the match and @match_end to the |
488 * first character after the match. The search will not continue past | 482 * first character after the match. The search will not continue past |
489 * @limit. Note that a search is a linear or O(n) operation, so you | 483 * @limit. Note that a search is a linear or O(n) operation, so you |
501 * be matched regardless of what case it is in. | 495 * be matched regardless of what case it is in. |
502 * | 496 * |
503 * Same as gtk_text_iter_forward_search(), but supports case insensitive | 497 * Same as gtk_text_iter_forward_search(), but supports case insensitive |
504 * searching. | 498 * searching. |
505 * | 499 * |
506 * Return value: whether a match was found | 500 * @param iter start of search |
507 **/ | 501 * @param str a search string |
502 * @param flags flags affecting how the search is done | |
503 * @param match_start return location for start of match, or %NULL | |
504 * @param match_end return location for end of match, or %NULL | |
505 * @param limit bound for the search, or %NULL for the end of the buffer | |
506 * @return returns whether a match was found | |
507 */ | |
508 gboolean | 508 gboolean |
509 gtk_source_iter_forward_search (const GtkTextIter *iter, | 509 gtk_source_iter_forward_search (const GtkTextIter *iter, |
510 const gchar *str, | 510 const gchar *str, |
511 GtkSourceSearchFlags flags, | 511 GtkSourceSearchFlags flags, |
512 GtkTextIter *match_start, | 512 GtkTextIter *match_start, |
594 return retval; | 594 return retval; |
595 } | 595 } |
596 | 596 |
597 /** | 597 /** |
598 * gtk_source_iter_backward_search: | 598 * gtk_source_iter_backward_search: |
599 * @iter: a #GtkTextIter where the search begins | |
600 * @str: search string | |
601 * @flags: bitmask of flags affecting the search | |
602 * @match_start: return location for start of match, or %NULL | |
603 * @match_end: return location for end of match, or %NULL | |
604 * @limit: location of last possible @match_start, or %NULL for start of buffer | |
605 * | 599 * |
606 * Same as gtk_text_iter_backward_search(), but supports case insensitive | 600 * Same as gtk_text_iter_backward_search(), but supports case insensitive |
607 * searching. | 601 * searching. |
608 * | 602 * |
609 * Return value: whether a match was found | 603 * @param iter a #GtkTextIter where the search begins |
610 **/ | 604 * @param str search string |
605 * @param flags bitmask of flags affecting the search | |
606 * @param match_start return location for start of match, or %NULL | |
607 * @param match_end return location for end of match, or %NULL | |
608 * @param limit location of last possible @match_start, or %NULL for start of buffer | |
609 * @return returns whether a match was found | |
610 */ | |
611 gboolean | 611 gboolean |
612 gtk_source_iter_backward_search (const GtkTextIter *iter, | 612 gtk_source_iter_backward_search (const GtkTextIter *iter, |
613 const gchar *str, | 613 const gchar *str, |
614 GtkSourceSearchFlags flags, | 614 GtkSourceSearchFlags flags, |
615 GtkTextIter *match_start, | 615 GtkTextIter *match_start, |