comp.lang.ada
 help / color / mirror / Atom feed
From: ldries46 <bertus.dries@planet.nl>
To: briot.emmanuel@gmail.com
Subject: Re: Gtk / GtkAda question (TextBuffer insertion)
Date: Tue, 14 Apr 2020 08:57:30 +0200
Date: 2020-04-14T08:57:30+02:00	[thread overview]
Message-ID: <0cdbb4b0-9390-b908-2ea4-948095da9c25@planet.nl> (raw)
In-Reply-To: <3cdad56d-1d41-4103-ac3c-aad2da3f40c2@googlegroups.com>

Op 14-4-2020 om 8:37 schreef briot.emmanuel@gmail.com:
>> I can coming along that point Safe the Iter there or do an Add_mark My
>> problem is how do I put the cursor afterwards back to that position just
>> to insert the lines lateron
> If I remember right, you would set a Gtk_Text_Mark at the position of the cursor, then do the inserts. The mark will remain at the same position automatically. So you can now set the cursor back to where the mark is, and delete the mark
>
> Emmanuel
That seems logical, but I was searching for the routine the sets the 
cursor at the mark.

But at the moment I have rwritten the program, also for other reasons, 
to avoid the problem

  reply	other threads:[~2020-04-14  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-11 13:34 Gtk / GtkAda question (TextBuffer insertion) ldries46
2020-04-14  6:37 ` briot.emmanuel
2020-04-14  6:57   ` ldries46 [this message]
2020-04-15  7:27     ` briot.emmanuel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox