[Mozile] White space handling
James A. Overton
james at overton.ca
Thu Jun 1 13:49:38 EDT 2006
Thanks for the suggestion. I think it would be good to add the shift-
key features you suggest.
The key drawback is that it isn't intuitive to a first-time user.
You expect a word-processor to insert and display a space each time
you press the space bar. On the other hand, XML collapses white space.
I think there has to be a mode which will insert white space in a
way which works like a word processor. IE already does this, but
Mozilla will have to be made to do it.
James
On 2006-Jun-01, at 12:08 PM, Josef Hahn wrote:
> Hi James,
>
> what about this idea:
>
> When the space bar is pressed in combination with the 'shift'-key a
> 'nbsp' is inserted and there will be as much 'nbsp' inserted as the
> user wants. If he hits just the space bar, only one whitespace is
> inserted regardless how often the space key is pressed.
>
> A similar behaviour of the 'enter'-key would be eligible: If the
> user hits 'enter' in a list-element (or any other block element)
> the element will be split, otherwise if he hits shift+enter a
> linebreak ('<br>'+new textnode) is inserted.
>
> Best regards, Josef
More information about the Mozile
mailing list