comp.lang.ada
 help / color / mirror / Atom feed
* GNAT completion problem, cursor came back at the beginning of words
@ 2010-08-22 17:54 Nicolas Haller
  2010-08-22 18:47 ` Yannick Duchêne (Hibou57)
  2010-08-22 19:16 ` Ada novice
  0 siblings, 2 replies; 10+ messages in thread
From: Nicolas Haller @ 2010-08-22 17:54 UTC (permalink / raw)


Hi all,

I'm learning Ada language and I have installed GPS to write some source
code.
I see GPS have a nice completion feature but I have a problem with it.
When I type a word and the completion list appears, I select a word in
the list. But at this moment, GPS put the insertion cursor at the
beginning of the completed word instead of put it at the end.

Is it a bug or can I configure GPS to put the cursor at the end of a
completed word?

Thanks

-- 
Nicolas Haller



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 17:54 GNAT completion problem, cursor came back at the beginning of words Nicolas Haller
@ 2010-08-22 18:47 ` Yannick Duchêne (Hibou57)
  2010-08-22 18:56   ` Nicolas Haller
  2010-08-22 19:16 ` Ada novice
  1 sibling, 1 reply; 10+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2010-08-22 18:47 UTC (permalink / raw)


Le Sun, 22 Aug 2010 19:54:49 +0200, Nicolas Haller  
<nicolas@boiteameuh.org> a écrit:
> Is it a bug or can I configure GPS to put the cursor at the end of a
> completed word?
This will not help, but I can say at least with GPS on Windows, the cursor  
goes at the end of the completed word.

May be a matter of platform ? Which one do you use ?



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 18:47 ` Yannick Duchêne (Hibou57)
@ 2010-08-22 18:56   ` Nicolas Haller
  2010-08-22 22:50     ` Ludovic Brenta
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Haller @ 2010-08-22 18:56 UTC (permalink / raw)


Le 22-08-2010, Yannick Duchêne <yannick_duchene@yahoo.fr> a écrit :
> Le Sun, 22 Aug 2010 19:54:49 +0200, Nicolas Haller  
><nicolas@boiteameuh.org> a écrit:
>> Is it a bug or can I configure GPS to put the cursor at the end of a
>> completed word?
> This will not help, but I can say at least with GPS on Windows, the cursor  
> goes at the end of the completed word.

> May be a matter of platform ? Which one do you use ?

I use the Debian package version. The GPS about window said "GPS
4.3-5+b1 (Debian) hosted on x86_64-linux-gnu GNAT 4.4.4".

-- 
Nicolas Haller



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 17:54 GNAT completion problem, cursor came back at the beginning of words Nicolas Haller
  2010-08-22 18:47 ` Yannick Duchêne (Hibou57)
@ 2010-08-22 19:16 ` Ada novice
  2010-08-22 19:30   ` Nicolas Haller
  1 sibling, 1 reply; 10+ messages in thread
From: Ada novice @ 2010-08-22 19:16 UTC (permalink / raw)


On Aug 22, 7:54 pm, Nicolas Haller <nico...@boiteameuh.org> wrote:
> Hi all,
>
> I'm learning Ada language and I have installed GPS to write some source
> code.
> I see GPS have a nice completion feature but I have a problem with it.
> When I type a word and the completion list appears, I select a word in
> the list. But at this moment, GPS put the insertion cursor at the
> beginning of the completed word instead of put it at the end.
>
> Is it a bug or can I configure GPS to put the cursor at the end of a
> completed word?
>
> Thanks
>
> --
> Nicolas Haller

Maybe this list (GPS users) will be helpful:

http://lists.adacore.com/mailman/listinfo/gps-users


YC



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 19:16 ` Ada novice
@ 2010-08-22 19:30   ` Nicolas Haller
  0 siblings, 0 replies; 10+ messages in thread
From: Nicolas Haller @ 2010-08-22 19:30 UTC (permalink / raw)


Le 22-08-2010, Ada novice <ycalleecharan@gmx.com> a écrit :
> On Aug 22, 7:54 pm, Nicolas Haller <nico...@boiteameuh.org> wrote:
>> Is it a bug or can I configure GPS to put the cursor at the end of a
>> completed word?

> Maybe this list (GPS users) will be helpful:

> http://lists.adacore.com/mailman/listinfo/gps-users

I'll try.

Thanks.

-- 
Nicolas Haller



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 18:56   ` Nicolas Haller
@ 2010-08-22 22:50     ` Ludovic Brenta
  2010-08-27 20:41       ` Nicolas Haller
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Brenta @ 2010-08-22 22:50 UTC (permalink / raw)


Nicolas Haller writes on comp.lang.ada:
> Le 22-08-2010, Yannick Duchêne <yannick_duchene@yahoo.fr> a écrit :
>> Le Sun, 22 Aug 2010 19:54:49 +0200, Nicolas Haller  
>><nicolas@boiteameuh.org> a écrit:
>>> Is it a bug or can I configure GPS to put the cursor at the end of a
>>> completed word?
>> This will not help, but I can say at least with GPS on Windows, the cursor  
>> goes at the end of the completed word.
>
>> May be a matter of platform ? Which one do you use ?
>
> I use the Debian package version. The GPS about window said "GPS
> 4.3-5+b1 (Debian) hosted on x86_64-linux-gnu GNAT 4.4.4".

I cannot reproduce this bug on Debian testing either; after I hit Enter
or double-click to select a completion in the menu, the cursor is after
the completed word.  I have the following relevant packages installed:

ii  gnat-4.4       4.4.4-5        The GNU Ada compiler
ii  gnat-4.4-base  4.4.4-5        The GNU Compiler Collection (gnat base packa
ii  gnat-gps       4.3-5+b1       The GNAT Programming System - advanced IDE f
ii  gnat-gps-dbg   4.3-5+b1       The GNAT Programming System - advanced IDE f
ii  gnat-gps-doc   4.3-5          The GNAT Programming System - documentation
ii  libgnat-4.4    4.4.4-5        Runtime library for GNU Ada applications
ii  libgnatprj4.4  4.4.4-5        GNU Ada Project Manager
ii  libgnatvsn4.4  4.4.4-5        GNU Ada compiler version library
ii  libgtkada2.14. 2.14.2-4       Ada binding for the GTK+ library

Are you running GNOME? If so, the settings of input methods have been
known to disrupt the editor in GPS for some people; I suggest you look
into that.

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-22 22:50     ` Ludovic Brenta
@ 2010-08-27 20:41       ` Nicolas Haller
  2010-08-27 21:35         ` Yannick Duchêne (Hibou57)
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Haller @ 2010-08-27 20:41 UTC (permalink / raw)


Le 22-08-2010, Ludovic Brenta <ludovic@ludovic-brenta.org> a écrit :

> Are you running GNOME? If so, the settings of input methods have been
> known to disrupt the editor in GPS for some people; I suggest you look
> into that.

You're true, I'm running GPS under GNOME. I will try an another desktop
manager.

Thanks

-- 
Nicolas Haller



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-27 20:41       ` Nicolas Haller
@ 2010-08-27 21:35         ` Yannick Duchêne (Hibou57)
  2010-09-08 20:50           ` Nicolas Haller
  0 siblings, 1 reply; 10+ messages in thread
From: Yannick Duchêne (Hibou57) @ 2010-08-27 21:35 UTC (permalink / raw)


Le Fri, 27 Aug 2010 22:41:58 +0200, Nicolas Haller  
<nicolas@marcellus.villenico.boiteameuh.org> a écrit:

> Le 22-08-2010, Ludovic Brenta <ludovic@ludovic-brenta.org> a écrit :
>
>> Are you running GNOME? If so, the settings of input methods have been
>> known to disrupt the editor in GPS for some people; I suggest you look
>> into that.
>
> You're true, I'm running GPS under GNOME. I will try an another desktop
> manager.
Or also have a look at the input method, as Ludovic seemed to suggest.

-- 
“Dual licensing is the Perl's way to disinfect the GNU General Public  
Virus!” (anonymous)



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-08-27 21:35         ` Yannick Duchêne (Hibou57)
@ 2010-09-08 20:50           ` Nicolas Haller
  2010-09-08 21:08             ` Ludovic Brenta
  0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Haller @ 2010-09-08 20:50 UTC (permalink / raw)


Le 27-08-2010, Yannick Duchêne <yannick_duchene@yahoo.fr> a écrit :
> Le Fri, 27 Aug 2010 22:41:58 +0200, Nicolas Haller  
><nicolas@marcellus.villenico.boiteameuh.org> a écrit:

>> Le 22-08-2010, Ludovic Brenta <ludovic@ludovic-brenta.org> a écrit :
>>
>>> Are you running GNOME? If so, the settings of input methods have been
>>> known to disrupt the editor in GPS for some people; I suggest you look
>>> into that.
>>
>> You're true, I'm running GPS under GNOME. I will try an another desktop
>> manager.
> Or also have a look at the input method, as Ludovic seemed to suggest.

What do you mean by "input method"?

-- 
Nicolas Haller



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: GNAT completion problem, cursor came back at the beginning of words
  2010-09-08 20:50           ` Nicolas Haller
@ 2010-09-08 21:08             ` Ludovic Brenta
  0 siblings, 0 replies; 10+ messages in thread
From: Ludovic Brenta @ 2010-09-08 21:08 UTC (permalink / raw)


Nicolas Haller <nicolas@marcellus.villenico.boiteameuh.org> writes:

> Le 27-08-2010, Yannick Duchêne <yannick_duchene@yahoo.fr> a écrit :
>> Le Fri, 27 Aug 2010 22:41:58 +0200, Nicolas Haller  
>><nicolas@marcellus.villenico.boiteameuh.org> a écrit:
>
>>> Le 22-08-2010, Ludovic Brenta <ludovic@ludovic-brenta.org> a écrit :
>>>
>>>> Are you running GNOME? If so, the settings of input methods have been
>>>> known to disrupt the editor in GPS for some people; I suggest you look
>>>> into that.
>>>
>>> You're true, I'm running GPS under GNOME. I will try an another desktop
>>> manager.
>> Or also have a look at the input method, as Ludovic seemed to suggest.
>
> What do you mean by "input method"?

http://library.gnome.org/devel/gtk/stable/GtkIMContext.html

I believe GNOME has an applet, perhaps "keyboard configuration", that
allows you to select among various input methods.

See also
http://lists.adacore.com/pipermail/gps-users/2009-November/000606.html

HTH

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-09-08 21:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-22 17:54 GNAT completion problem, cursor came back at the beginning of words Nicolas Haller
2010-08-22 18:47 ` Yannick Duchêne (Hibou57)
2010-08-22 18:56   ` Nicolas Haller
2010-08-22 22:50     ` Ludovic Brenta
2010-08-27 20:41       ` Nicolas Haller
2010-08-27 21:35         ` Yannick Duchêne (Hibou57)
2010-09-08 20:50           ` Nicolas Haller
2010-09-08 21:08             ` Ludovic Brenta
2010-08-22 19:16 ` Ada novice
2010-08-22 19:30   ` Nicolas Haller

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