Interesting.  What font are you using?  Does it do the same in other  
fonts?

I ask because, by definition, an em-space for any given font should  
be the same width as the letter 'm' in that font.  (And an en-space  
should be the same width as the letter 'n'.)

Also by definition, an em-space, en-space and simple space should all  
be the same width in a mono-spaced font.

So I'm asking, is this behavior a font thing (based on the font  
you're using) or a RealBasic thing?

Kirk


On Mar 28, 2007, at 10:47 AM, [EMAIL PROTECTED] wrote:

> Unicode &h2003 is the "Em Space" character.  It's a whitespace
> character that's significantly longer than your typical space
> character.  The code above intercepts any press of the Tab key and
> inserts an Em Space instead.
>
> The result is pretty encouraging — at the beginning of a line, at
> least, this does a very convincing impression of a tab that's about  
> 3-4
> characters wide (depending on the font).  It properly highlights when
> you select it, gets deleted or cursored-over as a single character,  
> etc.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to