Skip to main content
1-Visitor
May 5, 2015
Question

How to "force" the user to run context checker before closing a document?

  • May 5, 2015
  • 1 reply
  • 2143 views

We would like to ensure that "check completeness" is run on content before AE is closed. Is there a way to do this? Is there anything we should be aware of that could cause issues when implementing this? We would still like the option to turn off this functionality when required.

1 reply

1-Visitor
May 5, 2015

You can start by ensuring that "reportinvalidmarkup" is set to "on" in Arbortext Editor's advance preferences. This will ensure the "Check Completeness" is on when the file is opened and will report issues if found. Then, you can overload the close document event to automatically run "Check Completeness" upon document close. Refer to the ACL Reference manual "check_completeness" command. You might also want to look at the "doc_incomplete" command.

That's all I can offer. I'm still quite new to the Arbortext Editor development environment.


5-Regular Member
May 15, 2015

Hi Kathleen,

Was Timothy's answer helpful to you? Did you have any more questions on this?

Thanks!

1-Visitor
May 19, 2015

We haven't had a chance to try out his suggestion. I'll update here within the next few days.