AkelPad.ReplaceSel parameter -2?
Posted: Thu Feb 01, 2018 2:59 am
I see script code in the forum with:
I just used that in a script, but the documentation only shows T/F as bSelect parameter.
Is there something special about the -2 value as the parameter? Or is it just acting as True?
Code: Select all
AkelPad.ReplaceSel(pText, -2)
Is there something special about the -2 value as the parameter? Or is it just acting as True?
Code: Select all
(Scripts_en.txt)
AkelPad.ReplaceSel
__________________
Replace selection.
ReplaceSel(pText[, bSelect]);
Arguments
pText
Text to replace with.
bSelect
true select inserted text.
false don't select inserted text (default).
Return Value
Zero.
Example:
AkelPad.ReplaceSel("MyText");