Jump to content
johnliddle

Text Macro anomaly

Recommended Posts

Greetings all,

 

I am using 6.09.

 

I was disappointed to find that when I create a text macro with a leading space, it is saved without that leading space.

 

Is this intentional and if so why?

Share this post


Link to post
Share on other sites

Text macros are stored in the app.ini.

 

[textmacro]

SHIFT+F2=had been married n years

 

Spaces around the "=" are ignored when the data for the variable is read so that leading spaces for the macro aren't possible.

 

variable=data

 

SHIFT+F2=had been married n years

is treated the same as:

SHIFT+F2 = had been married n years

Share this post


Link to post
Share on other sites

Jim,

 

many thanks for the explanation - I am sure there must be some programming logic behind it, but I would rather that it were not so.

 

Regards,

Share this post


Link to post
Share on other sites

Teresa,

 

what a clever girl you are!

 

A non-breaking space is indeed honoured at the start of a text macro. so problem solved.

 

I award you 10 out of 10 AND a Gold Star!

 

Best wishes and grateful thanks,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×