On 2011-06-29, Jürgen Spitzmüller wrote:
> Guenter Milde wrote:
>> why should it get special treatment?

> Because it's a "space" variant. 

No, \textvisiblespace is an ordinary symbol (that stands for an ASCII
space character or for the action "Press the Space key"). In the second
sense, it is similar to

   1761: 0x2196 "Home"                     "" "" "\\nwarrow" "amssymb" # 
Qt::Key_Home, NORTH WEST ARROW
   1762: 0x2198 "End"                      "" "" "\\searrow" "" # Qt::Key_End, 
SOUTH EAST ARROW
   1765: 0x21de "Option-Up Arrow"          "" "" "" # Qt::Key_PageUp, UPWARDS 
ARROW WITH DOUBLE STROKE = page up
   1766: 0x21df "Option-Down Arrow"        "" "" "" # Qt::Key_PageDown, 
DOWNWARDS ARROW WITH DOUBLE STROKE = page down
   1767: 0x21e4 "Shift-Tab"                "" "" "" # Qt::Key_Backtab, 
LEFTWARDS ARROW TO BAR = leftward tab
   1768: 0x21e5 "Tab"                      "" "" "" # Qt::Key_Tab, RIGHTWARDS 
ARROW TO BAR = rightward tab
   1769: 0x21ea "Caps Lock"                "" "" "" # Qt::Key_CapsLock, UPWARDS 
WHITE ARROW FROM BAR = caps lock
   1813: 0x2326 "Delete"                   "" "" "" # Qt::Key_Delete, ERASE TO 
THE RIGHT = delete to the right key
   1815: 0x232b "Backspace"                "" "" "" # Qt::Key_Backspace, ERASE 
TO THE LEFT = delete to the left key
   1816: 0x238b "Escape"                   "" "" "" # Qt::Key_Escape, BROKEN 
CIRCLE WITH NORTHWEST ARROW = escape


> If it's covered by InsetSpace, it can be easily toggled from/to other
> space types.

Most of the time, toggling would involve ordinary spaces or NBSP (and not
just one but *all* in some text portion). I don't think it is easier to
toggle a set of visible spaces via inset dialogue compared to
find/replace.

> This doesn't mean that the unicode glyph couldn't be supported anyway,
> via unicodesymbols (and the symbols dialog). We also support NO-BREAK
> SPACE and EN DASH both via Inset and unicode. That's pretty orthogonal,
> IMHO.

IMO, it is rather a remnant from the pre-Unicode days of LyX. Also,
drag-and-dop of a NO-BREAK SPACE inset into another application results a
plain space instead of a NBSP character.

Günter

Reply via email to