Le 29 sept. 08 à 20:26, Andre Poenitz a écrit :
On Fri, Sep 26, 2008 at 10:12:31AM +0200, Jean-Marc Lasgouttes wrote:
Andre Poenitz <[EMAIL PROTECTED]> writes:
That would be the setSelection() overload without arguments, no?
You are right indeed.
But having the overload is a bit misleading. Separating it into two
functions or renaming the function might be options...
I think that in most case, setSelection should do this special
checking, except when we are beginning a new selection. We could have
an extra bool argument to the method, or name it
setSelectionIfNotEmpty()...
JMarc