Extended Win32.Help Feature in PureBasic

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Extended Win32.Help Feature in PureBasic

Post by oldefoxx »

In the PB IDE, if you position over a Windows API call and press F1, it automatically opens the Win32.HLP file in the \Purebasic\Help subdirectory.

But if you position over a structure or constant reference in the Windows API
and pfess F1, the only thing that gets opened is PB's Help Section. I would like to be able to be taken to the corresponding section in the Win32.Hlp file just as the API Call help does now.
has-been wanna-be (You may not agree with what I say, but it will make you think).
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Post by oldefoxx »

Along the same line, it would help if the IDE enforced Case rules to match
terms of identified #constants and .typestructures as found in the Win32.Hlp file. It does this for API calls, and helps make sure that you typed in the call name correctly. It would also help with the other two references.

Sorry about the # constant case thing. It does work for constants - I just happened to be working with an API constant that was not covered in PB 4
Beta 10. For constants that are recognized, it works fine. However, it does
not enforce same case for API structures, and that would be very helpful.

How about allowing the F1 key to reposition the Editor to the constant or
structure declaration that exists in the source file? With an immediate go-back feature so that you can get back to the area of the source file where the F1 key was originally pressed. That way if you encounter an error when trying to complie, you can flash to the constant or structure to see what it was set up to be, then right back to the problem area.
has-been wanna-be (You may not agree with what I say, but it will make you think).
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

How About Help Links?

Post by oldefoxx »

I went searching the Internet for some links on Console Apps and how some
people do certain things. I found a lot of good pages out there. It occurred
to me that it would be nice if External Help also allowed us to link to web
pages. I think my first external link would be to the PureBasic Forums. I
would also put a link to the MSDN at Microsoft. I can always use a browser,
but think of the convenience of doing it from the IDE.
has-been wanna-be (You may not agree with what I say, but it will make you think).
Post Reply