I am sorry, but I am not able to help you.
PSPad is based on control, what allows syntax highlight - TSynedit.
Suggested classes from your document: TMemo, TEdit, TRichEdit doesn't allow it.

Editor component implements standard Windows message handling, standard Windows
API. 

In my opinion, it's problem of your software, that it isn't able read text from
PSpad, not PSpad itself.

-- 
<http://forum.pspad.com/read.php?2,56098,56103>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem