myf:
--------------------------------------------------------------------------------
stefangabos:
--------------------------------------------------------------------------------
pspad:
--------------------------------------------------------------------------------
stefangabos:
--------------------------------------------------------------------------------
A small bug that it has been persisting for a while: if I select a *single*
line and press CTRL-H (Replace) the "Scope" it's set to "Global" rather than
"Selected text".
--------------------------------------------------------------------------------
This is behavior by design, not a bug. And user wish.
Find more users who will want to change it and I will change it or make it
optional.
--------------------------------------------------------------------------------
but it does not have any sense. if i have _selected_ text than I expect the
replace to refer to the selected text...
--------------------------------------------------------------------------------
Would you like to have 'Selection only' preselected by default even if your
selection contains a single word? Or even a single character?
Dunno how much 'hardcore' I am, but I quite appreciate current behaviour: if my
selection does not overlap a line scope, replace is 'Global' by default. This
fits the case you are writing about: selection is form the start of line to its
end, and no further. I usually select a line by {2×home}{shift+down} keystroke
sequence (and, CMIIW, there is no built-in action for 'select line' operation in
PSPad). In this case selection contains line-break and thus 'Selection only' is
preselected, what typically fits exactly my needs. You may try to do it this way
too, maybe you'll like it.
--------------------------------------------------------------------------------
thanks, that indeed works. the way I do it is {2xhome}{shift+end} and this way
is not working :) So, I still consider it to be a very small bug. I'll just
adjust my behaviour. thanks a lot for taking the time to write!
--
<http://forum.pspad.com/read.php?6,55295,55347>
PSPad freeware editor http://www.pspad.com