You are not right.
| means cursor position. First occurence of this char is removed and cursor is
placed instead it.

Lets see:
1. we have selected text aa|bb
2. clip is <b>§|</b>
3. we are placing clip, result during it is: <b>aa|bb|</b>
4. PSPad removes first occurence of | and use it for cursor position, result is
<b>aabb|</b>

Because char | is in collision with some language, I add possibility to define
system char in templates. E.g. we use + char for cursor. It means we need to
modify code clips to:

_[CLIP SETTINGS] _
CursorChar=+
SelectionChar=§

_[b_ | bold <b></b>]_
<b>§+</b>

After this modification result will be OK.

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

Odpovedet emailem