Lolo:
--------------------------------------------------------------------------------
Cancel button has the same effect than OK.
--------------------------------------------------------------------------------


Hi, unfortunately - it probably can't be corrected easy; 
This is the behavior for _joining_ and _splitting_, because only
separator is inserted and the builtin dialog InputText returns an empty string,
if you click Cancel
(the same as clicking Ok with a clear input line)
- it would be easier, if it were e.g. a logical false or undefined, None ...,
but this seems to be the behaviour of the native dialog.

But an empty string can also make sense as separator.

I can change the input so, that the whole replace pattern would be inserted (as
in _replace_ function, which can be canceled), but i think the usage would
get more complicated. What do you think?

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

Odpovedet emailem