Mail Archives: djgpp/1999/04/28/00:31:21
At 14:10 05/04/99 +0000, you wrote:
>"Thiago F.G. Albuquerque" <thiagofga AT ambr DOT com DOT br> 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
- Raw text -