trichview.com

trichview.support




Re: \endash vs. \enspace


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/17/2005 22:04:15


Sorry, I do not understand your question.

Is it how to insert EN or EM spaces in RichViewEdit?


rve.InsertTextW(WideChar($2002)); // En space

rve.InsertTextW(WideChar($2003)); // Em space

(the current text style must be Unicode)


Currently, when exporting to RTF, these characters are saved as \u8194 and

\u8195 (decimal 8194 = hex 2002).

On your request, I changed them to \enspace and \emspace (since v1.9.10.2,

available for registered users).

Actually, these codes are equivalent, \u8194 and \enspace represent the same

character.



>

> Sorry if i'm confusing you, but here is what i'm trying to design.

>

> I'm writing what amounts to a relatively simple editor which outputs RTF

> text.  How can the user enter what amounts to either an EN or EM space in

> the TRichView editor?  That is my ultimate question.  Maybe i'm missing

> something simple since i'm new to TRichView and RTF, and if so i

apologize.






Powered by ABC Amber Outlook Express Converter