You are here: PSPad forum > English discussion forum > Re: RTF syntax highlighter

Re: RTF syntax highlighter

#1 RTF syntax highlighter

Posted by: wer | Date: 2014-10-06 19:36 | IP: IP Logged

Has anybody created a syntax highlighter for rtf files yet?
It seems to me that keywords can't be defined withou a trailing space. Is that right or is there a trick?

Options: Reply | Quote | Up ^


#2 Re: RTF syntax highlighter

Posted by: pspad | Date: 2014-10-06 19:48 | IP: IP Logged

What does it mean

Quote:
keywords can't be defined without a trailing space

Options: Reply | Quote | Up ^


#3 Re: RTF syntax highlighter

Posted by: wer | Date: 2014-10-06 20:11 | IP: IP Logged

If you have the line '\rtf1' und you want '\rtf' as a keyword. It is not recognized.

Options: Reply | Quote | Up ^


#4 Re: RTF syntax highlighter

Posted by: pspad | Date: 2014-10-06 20:54 | IP: IP Logged

you need to add \ as keyword char

Options: Reply | Quote | Up ^


#5 Re: RTF syntax highlighter

Posted by: wer | Date: 2014-10-07 12:27 | IP: IP Logged

That is not the problem. I had done this bevor.

Options: Reply | Quote | Up ^


#6 Re: RTF syntax highlighter

Posted by: pspad | Date: 2014-10-07 12:44 | IP: IP Logged

Sorry. Not I understand.
PSPad can't take part of the word as keyword. RTF and RTF1 are two different words.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR