comp.lang.ada
 help / color / mirror / Atom feed
From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Re: GNAT GPL 2016 Editor Bugs?
Date: Fri, 10 Jun 2016 10:41:58 +0200
Date: 2016-06-10T10:41:58+02:00	[thread overview]
Message-ID: <njdugn$oaf$1@dont-email.me> (raw)
In-Reply-To: <01d32b83-7dfb-4bc7-be7d-40a2a0e9e7d3@googlegroups.com>

On 09/06/16 17:51, brbarkstrom@gmail.com wrote:
> On Wednesday, June 8, 2016 at 9:36:05 AM UTC-4, gautier...@hotmail.com wrote:
>> Jumping on the bandwagon...
>>
>> My top non-bugs (but annoyances) with GPS - overall excellent of course - are:
>>
>> - "Select on Match" option in the Find/Replace box (checked by default it seems). When you want to find the next occurrence by pressing the Return key, it erases the selected text instead. It took me a while discovering it was not a GPS bug but a matter of unchecking that option...
>>
>> - No easy way for indent / unindent a selection with a single key or some ctrl-key
>>
>> - The little delay between the keypress for compiling or building, and the actual invocation of gcc. AdaGIDE seems significantly quicker for that. Of course gcc is slow in its turn, but it is another topic...
>>
>> One point seems a lot better with GPS, 2016 vintage: the display of the text in the editor looks a lot more stable, doesn't swim a couple of pixels away when adding a comment, for instance.
>>
>> Something else: is there a "find next" key ?
>> _________________________
>> Gautier's Ada programming
>> http://gautiersblog.blogspot.com/search/label/Ada
>> NB: follow the above link for a valid e-mail address
>
> The 2015 GPS doesn't have a "hot key" for dealing with indentation.
> Instead, use the drop-down menu for "edit" and then select "Format Selection".
> The selection, of course, is done by putting the cursor on the top line
> you want selected and then holding down the control key as you move the
> cursor down.
>
> The indentation of comment lines depends on the the indentation of the
> nearest preceding comment line.  If you use the "select" button in the
> "edit menu", the comment indentation usually goes in the left column
> of the text.  If you select a set of lines that include the newly
> commented lines, the "format selection" approach will indent the start
> of the new comment lines to be consistent with the other non-commented
> lines.
>
> Once you get used to this approach, it's quite usable.  Of course, it
> isn't the same as a hot key.  I routinely use this on my Windows XP
> machine.  I haven't tried on the Linux box, but I expect it will behave
> the same way.

You can set a custom shortcut for such options. I currently use Ctrl+I 
for /Format selection/ and Ctrl+P for /Autoindent selection/. I had 
forgotten about the latter one, I have settled on always using Ctrl+I, 
so not sure about the differences.

Álex.

>
> Bruce B.
>


  reply	other threads:[~2016-06-10  8:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 22:12 GNAT GPL 2016 Editor Bugs? Eryndlia Mavourneen
2016-06-07 11:49 ` Simon Wright
2016-06-08  0:33   ` Eryndlia Mavourneen
2016-06-08  7:14     ` Simon Wright
2016-06-08 13:36     ` gautier_niouzes
2016-06-08 16:29       ` Egil H H
2016-06-08 16:38       ` Dmitry A. Kazakov
2016-06-08 17:02         ` Jeffrey R. Carter
2016-06-08 16:54       ` Jeffrey R. Carter
2016-06-09 17:47         ` gautier_niouzes
2016-06-09 18:43           ` Jeffrey R. Carter
2016-06-09 15:51       ` brbarkstrom
2016-06-10  8:41         ` Alejandro R. Mosteo [this message]
2016-06-14 14:25       ` gautier_niouzes
replies disabled

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