Reply to topic  [ 3 posts ] 
Expand Glossary problem 
Author Message

Joined: 2007-03-28 07:30:34
Posts: 139
...which seems to be a bug.

Glossary entries expand differently when triggered automatically (such as by the space bar) and when Edit:Expand Glossary is invoked.

Assume the glossary entry "em" expanding to "embodiment".

Type "em[space]" and you get "embodiment." Perfect.
Type "eem[space]" and the glossary does not expand, leaving "eem" in the document. As expected.

However, type "eem" and invoke Edit:Expand Glossary and you get "eembodiment".

I've confirmed this in multiple documents using any glossary entry from multiple glossary files, including new files created by NWP.
If "65" expands to "display panel 65", and you type "265" and call Expand Glossary, you get "2display panel 65".

The first time I noticed it I thought my glossary file was corrupted. Alas, I quit NWP, created a new glossary upon startup, and the problem remained. I've since noticed it with multiple other files and glossary files.

Cliff Bender


2009-06-08 09:06:11
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
I believe this behavior is intentionally provided as a way to have an expansion occur even when there is no whitespace/punctuation delimiting the trigger word. It's especially important for languages that have no such delimiters (eg: Japanese).


2009-06-08 12:26:49
Profile WWW

Joined: 2007-03-28 07:30:34
Posts: 139
Ah. Thank you.

And it works well in Japanese, which is very nice to know.


2009-06-08 13:10:13
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software