[Scribus] Re: Smart Text Selection

Andreas Vox avox
Thu Mar 17 16:29:24 CET 2005


Petr Van?k wrote:
> On Wednesday 16 of March 2005 0:26, Howard White wrote:
> > In 1.2.1 Story Editor has a new feature, Smart Text Selection. mrdocs
> > doesn't know what it does.
> > Anybody?
>
> hi Howard.
>
> compare the result of the mouse doubleclick with/without this option.
> e.g. text: Lorem ipsum dolor...
> Option disabled, doubleclick in "Lorem" selects "Lorem ".
> Option enabled, doubleclick in "Lorem" selects "Lorem".
> Yes. there is only space on the end as difference.

Hm,this only affects selection, not Cut & Paste?
Apple's HIG describes smart C&P differently:

<quote>
Intelligent Cut and Paste


Intelligent cut and paste is a set of editing features that take into 
account the need for spaces between words. To understand why this 
feature is helpful, consider the following sequence of events in a text 
application without intelligent cut and paste:
	1.  	A sentence in the user?s document reads

Returns are only accepted if the merchandise is damaged.

The user wants to change this to

Returns are accepted only if the merchandise is damaged.


	2.  	The user selects the word only by double-clicking. The letters 
are highlighted, but neither adjacent space is selected.


	3.  	The user chooses Cut from the Edit menu, clicks just before the 
word if, and chooses Paste.


	4.  	The sentence now reads

Returns are 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smalltransparentimage.gif
Type: image/gif
Size: 51 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050317/0789d5c7/attachment.gif 
-------------- next part --------------
accepted onlyif the merchandise is damaged.

To correct the sentence, the user has to remove the extra space between 
are and accepted, and add a space between only and if.


If your application supports intelligent cut and paste, follow these 
guidelines:
	? 	If the user selects a word or a range of words, the selection 
itself is highlighted, but spaces adjacent to the selection are not 
highlighted.


	? 	When the user chooses Cut, if the character preceding the selection 
is a space, cut that space along with the selection. If the character 
preceding the selection is not a space, but the character following the 
selection is a space, cut that space along with the selection.


	? 	When the user chooses Paste, if the character to the left or right 
of the current selection is part of a word (but not inside a word), 
insert a space before pasting.

</quote>


Ciao
/Andreas



More information about the scribus mailing list