Message-Id: <3.0.5.32.19990428011527.009dcc10@200.252.238.1> X-Sender: thiagofga AT 200 DOT 252 DOT 238 DOT 1 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 28 Apr 1999 01:15:27 -0300 To: "Salvador Eduardo Tropea (SET)" , djgpp AT delorie DOT com From: "Thiago F.G. Albuquerque" Subject: Re: RHIDE: Sugestion: prototype completion In-Reply-To: References: <3 DOT 0 DOT 5 DOT 32 DOT 19990403081528 DOT 007e0690 AT 200 DOT 252 DOT 238 DOT 1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 14:10 05/04/99 +0000, you wrote: >"Thiago F.G. Albuquerque" suggested: > >> In the editor, you type the name of the function (or part of it). Then, you >> press some key combination. Then, RHIDE searches in the files listed in >> [a list of header files similar to] Syntax Help\Files to Search (...) >> Then it displays the function's prototype in the >> screen. >> >> Here's as example: >> >> You type >> >> blit_ >> >> and press, say, ^\. And then that "blit" you typed becomes >> >> void blit(BITMAP *source, BITMAP *dest, int source_x, int source_y, >> int dest_x, int dest_y, int width, int height); >> >> and the cursor is positioned under the first argument. >> >> What do you say? It would speed up our coding. > >Are you sure it helps? I don't know, you then must delete the name of the >parameters. Yes... in spite of this, this is an action I do quite often: type the name of the function, press ^F1, copy the prototype of the function and paste it in the code. I do it to avoid fliping between the editor and the info vierwer windows to check the arguments' types (and their order) as I fill them. The original idea was to clone VC++ 6's completion. I didn't see it (yet); a friend told me it is really handy. But I think it would be too difficult to implement. So, I suggested this instead -- which would already save me a lot of key strokes. Regards, Thiago