Re: [Jmol-users] bugs in set echo and its documentation
Eric Martz wrote: set echo myecho 0% 85% echo hello set echo myecho center # hello remains at left edge, not centered echo blah # echo appears at left edge, not centered I understood that once you are using positioned (named) echos, left / center / right does not define the position, but the justification. So, set echo myecho 20% 85% would acept set echo myecho center, set echo myecho left etc but since 0% is at the edge, justification will not be appreciated (or even used, as Jmol seems to align text to the edge when provided near 0% or 100% positions). To better see how justification works, try multiline echos: echo hello|molecules How would I make a named echo at middle center? set echo username middle center # integer expected set echo myecho 50% 50% Maybe this should be deemed an error? set echo username 85% center # accepted without error, but no display I think that left / center / right cannot be mixed with absolutely (numerically) positioned echos. Use set echo username 85% 50% set echo username center I think that only leaves the set echo on as bugs, right? Documentation: set echo TOP LEFT is mentioned in the paragraph under percentages, but this syntax is not listed under set echo. That's the old Jmol syntax. Yes, it seems to have disappeared from the documentation set echo top/middle/bottom left/center/right 1. cannot be used with user-named echos 2. only one text allowed at each top/middle/bottom positions 3. left/center/right defines both position and justification (page 79 in my book :) the user-named and XY-positioned echos will go in vol.2) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] bugs in set echo and its documentation
Definitely bugs. Please file a bug report. I love the fact that you can name an echo, display it, then operate on a second named echo without affecting the first. This is a super feature! However: The following invalid argument results appear to me to be bugs in set echo, in Jmol applet 11.4.RC1, as it is documented: set echo off # works set echo on # invalid argument set echo username off # works, leaving other usernamed echos displayed set echo username on # invalid argument set echo top off # works, leaving set echo bottom displayed set echo top on # invalid argument - The documentation states: Using percentages allows you to place text anywhere within the window and independently justify the text using set echo myecho LEFT, set echo myecho RIGHT, set echo myecho CENTER. However this is what I observe: set echo myecho 0% 85% echo hello set echo myecho center # hello remains at left edge, not centered echo blah # echo appears at left edge, not centered - How would I make a named echo at middle center? set echo username middle center # integer expected --- Maybe this should be deemed an error? set echo username 85% center # accepted without error, but no display - Documentation: set echo TOP LEFT is mentioned in the paragraph under percentages, but this syntax is not listed under set echo. Thanks, -Eric - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
[Jmol-users] bugs in set echo and its documentation
I love the fact that you can name an echo, display it, then operate on a second named echo without affecting the first. This is a super feature! However: The following invalid argument results appear to me to be bugs in set echo, in Jmol applet 11.4.RC1, as it is documented: set echo off # works set echo on # invalid argument set echo username off # works, leaving other usernamed echos displayed set echo username on # invalid argument set echo top off # works, leaving set echo bottom displayed set echo top on # invalid argument - The documentation states: Using percentages allows you to place text anywhere within the window and independently justify the text using set echo myecho LEFT, set echo myecho RIGHT, set echo myecho CENTER. However this is what I observe: set echo myecho 0% 85% echo hello set echo myecho center # hello remains at left edge, not centered echo blah # echo appears at left edge, not centered - How would I make a named echo at middle center? set echo username middle center # integer expected --- Maybe this should be deemed an error? set echo username 85% center # accepted without error, but no display - Documentation: set echo TOP LEFT is mentioned in the paragraph under percentages, but this syntax is not listed under set echo. Thanks, -Eric - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users