Re: gtk_text_iter_starts_sentence prob
- From: Havoc Pennington <hp redhat com>
- To: Martin Muellenberg <MartinMue gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_text_iter_starts_sentence prob
- Date: 24 Jul 2002 22:13:03 -0400
Martin Muellenberg <MartinMue gmx net> writes:
I have the following problem:
GtkTextIter pos_zuvor;
gtk_text_buffer_get_end_iter(gtktextbuffer, &pos_zuvor);
if(gtk_text_iter_starts_sentence(&pos_zuvor) == TRUE)
{
puts("JUHU");
textwords[i].spelling[0] = toupper(textwords[i].spelling[0]);
}
I 've never seen the funny JUHU :-( My sentence is ending with a '.'
character.
The end iterator is never the start of a sentence (the start of a
sentence is the "T" in "This is a sentence.")
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]