News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RAEdit and C++ Parsing

Started by prodigy, July 09, 2007, 12:48:15 PM

Previous topic - Next topic

prodigy

To my knowledge, I haven't seen any documentation on RAEdit and how to integrate c++ parsing capabilities or code collapsing.

Could someone provide me with an example of this if you happen to have one? or maybe hack one up real quick going through the basics. I'm sure I will be able to figure it out. I just need a good starting example.

I've looked over SimEd and some other examples in this forum. I just don't get how to add C++ parsing capabilities.


I could go with Scintilla, I haven't decided yet.

I think I will go with RAEdit to keep this application as lightweight as possible. But I digress....

Any help would be greatly appreciated.


EDIT



also, i wouldn't mind some advice.

Would the user benefit from an IDE that creates the makefiles and then just runs that for the builds, instead of handling it in the usual "IDE" way, without makefiles. Because then I kill two birds with one stone, have an integrated way to handle files, and generate makefiles.

What do you think?

Vortex

Did you check the  RadASM programming pack?

RadASM High Level programming (02-04-2007) :

http://www.radasm.com/RadASM2000/HighLevel.zip

Quotebcet (Basic), cpp (VC6 C/C++), bcc (Borland C/C++ 5.5), fb (FreeBASIC), fhla (Free high level assembly), hla (High level assembly) and Lcc
You also need compiler and support files.

http://www.radasm.com

prodigy

Quote from: Vortex on July 09, 2007, 02:11:37 PM
Did you check the  RadASM programming pack?

RadASM High Level programming (02-04-2007) :

http://www.radasm.com/RadASM2000/HighLevel.zip

Quotebcet (Basic), cpp (VC6 C/C++), bcc (Borland C/C++ 5.5), fb (FreeBASIC), fhla (Free high level assembly), hla (High level assembly) and Lcc
You also need compiler and support files.

http://www.radasm.com

I did... I got the CppParse.dll

But I don't know how to connect it with RAEdit in my own application.

I'm trying to use RAEdit with C++ parsing capabilities in my own application.

There is no documentation I am aware of on how to achieve this.

KetilO

Hi

RAEdit does not have parsing capabilities.
CppParse.dll maintains a linked list that RadASM uses to keep track of code properties.

You probably have to create your own parser since there is no documentation on the format of the linked list.

KetilO


prodigy

Quote from: KetilO on July 10, 2007, 08:25:29 AM
Hi

RAEdit does not have parsing capabilities.
CppParse.dll maintains a linked list that RadASM uses to keep track of code properties.

You probably have to create your own parser since there is no documentation on the format of the linked list.

KetilO




I probably should have explained myself better, How would I create c++ syntax highlighting with RAEdit?

KetilO

Thats easy

You use SendMessage(hRAEdit,REM_SETHILITEWORDS,nColor,lpszWords)

nColor is the colorvalue, lpszWords is a pointer to zero terminated string containing the words separated with a space.

KetilO