Keep a leading space in a Segment in Heading


#1

Dear Supporters,

I can not figure out the problem:

We need bullet and hyperlink so using Heading and Segments for hyperlink and plain text. e.g.

. www.nhs.uk for health care ... needs a hyperlink Segment and a plain text Segment.

How can I keep the leading space in the plain text segment? IsSpace is only work for Text class.

Regards,

Mark

2.


#2

Dear Mark,

I used the following xml to test and got correct result:



www.nhs.uk"
IsUnderline="true">www.nhs.uk
for health care

If it still won't work for you, please provide you code.


#3

It is working, Tommy.

I am studying your code, wonderful!

Mark