OK, Rolf and Angel, and other who may use messageCallbacks to parse for errors:
I've checked in code that should do the trick. This will be part of
Jmol 11.7.17.
errorCallback(app, message, objectID, untranslatedError)
scriptCallback(app, message, statusID, untranslatedError)
These two callbac
If you set up a messageCallback, then translation is supposed to be
turned off by default for all error messages. You see this message in
the Java console upon applet startup:
Note -- Presence of message callback will disable translation; to
enable message translation use jmolSetTranslation(true)
I understood that there was a mechanism (setting) to prevent error
messages from being translated. From the recent discussion, I am not
clear as whether that is not working as I thought it would.
-
This SF.Net email is spon
Robert Hanson wrote:
> Rolf, what sort of error message parsing are you trying to do that the
> translation is messing up? I've just checked in bug fixes that allow
> the script error messages to be translated to the new language when
> the language is changed. So now in principle we could also all
Rolf, what sort of error message parsing are you trying to do that the
translation is messing up? I've just checked in bug fixes that allow
the script error messages to be translated to the new language when
the language is changed. So now in principle we could also allow for
an English-only versio
errorCallback is implemented. See
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and checked
in code.
You are correct that in general the actual message is translated. I've
implemented an initial module-locator, but it's still a problem.
On Wed, Dec 3, 2008 at 11:06 AM, Rolf Huehne <[EM
Robert Hanson wrote:
> I'm so glad to see that the resizing does that. Yes, that's right --
> for now at least an error in rendering is not sent out in any other
> way -- there could be hundreds of these as the applet continues to try
> to repaint during resizing. Question: Did it go back to normal
I'm so glad to see that the resizing does that. Yes, that's right --
for now at least an error in rendering is not sent out in any other
way -- there could be hundreds of these as the applet continues to try
to repaint during resizing. Question: Did it go back to normal after
you resized it back to
Robert Hanson wrote:
> Jmol users:
>
> I think we have some reasonable out-of-memory error handling now. In
> this business nothing is perfect, but please check out
>
> http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm
>
> and files in
>
> http://chemapps.stolaf.edu/jmol/docs/example
Jmol users:
I think we have some reasonable out-of-memory error handling now. In
this business nothing is perfect, but please check out
http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm
and files in
http://chemapps.stolaf.edu/jmol/docs/examples-11/jmol-11.jar
Jmol 11.7.16 now tries
10 matches
Mail list logo