Hello,

I have a bigger forums posting that I want to manage with PSPad.
This single posting is always extended (it is a list where I add new entries, so
I modify the existing topic).

So I planed to add a BBCode Highlighter for PSPad.
BBCode is the HTML Code used in many forums (also here).

Here is a Example for some BBCode:
This is [ b ] bold [ /b ] text, [ u ] underlined [ /u ] text and  [ color=red ]
red colored [ /color ] text.

So I created a new Highlighter in "Settings -> User Highlighter".

Now I want (like in the HTML Highlighter) that the "b" in "[ b ]" is
highlighted.
So if I enter in the Keywords List the value "b" then also a normal letter "b"
without the brackets is formatted (if there is a blank before and after the
"b").

Adding "[ b ]" (without the " has no effect, then nothing is formatted.
Also adding "\[ b \]" has no effect.

How can I add keywords for BBCode so that they behave like in HTML filter?

Greetings


OLLI

Important:
In this whole posting I had to add some blanks between the brackets and the tags
(like "[ b ]").
I had to do it here because otherwise the text in this posting is formated.
In PSPad I do not have these blanks.

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

Odpovedet emailem