gtk_text_iter_starts_sentence prob
- From: Martin Muellenberg <MartinMue gmx net>
- To: gtk-app-devel-list gnome org
- Subject: gtk_text_iter_starts_sentence prob
- Date: Mon, 22 Jul 2002 14:22:57 +0200 (MEST)
hi @all
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.
I have tested it with if(gtk_text_iter_starts_line(&pos_zuvor) == TRUE) and
it
worked perfectly (to my confusion), after eache ENTER I saw JUHU. But I want
to know whether a new sentence is starting.
any ideas
thanks all marmll
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]