[Scribus] Re: Smart Text Selection

Petr Vaněk petr
Sat Mar 19 12:18:01 CET 2005


please - fill the RFE at bugs.scribus.net with exact describtion what to do. 
Then you can assign it to "subik" (me;))

petr

On Thursday 17 of March 2005 18:06, Andreas Vox wrote:
> Hi again!
>
> I checked the 1.3 cvs sources and I don't think it's implemented yet:
>
> /** 10/12/2004 - pv - #1203: wrong selection on double click
> Catch the double click signal - cut the wrong selection (with
> whitespaces on the tail) - select only one word - return
> controlling back to story editor - have rest */
> void StoryEditor::doubleClick(int para, int position)
> {
>          int paraFrom, indexFrom, paraTo, indexTo;
>          QString selText = Editor->selectedText();
>          if (selText.length() == 0 || !smartSelection)
>          {
>                  updateProps(para, position);
>                  return;
>          }
>          Editor->getSelection(&paraFrom, &indexFrom, &paraTo, &indexTo);
>          selText =  selText.stripWhiteSpace();
>          Editor->setSelection(paraFrom, indexFrom, paraFrom, indexFrom +
> selText.leng
> th());
>          updateProps(para, position);
> }
>
>
> /Andreas
>
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus

-- 
Petr Vanek --------------
petr [at] yarpen [dot] cz
www.yarpen.cz ----------------
Kuolema Kaikille (Paitsi Meille)
-------------------------------
Today is good day to end it all
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050319/7b9f6c27/attachment.pgp 



More information about the scribus mailing list