Dear Bob, Both Frieda Reichsman and I, in unrelated Jmol projects, have needed to be able to color portions of an echo line differently.
Each of us has written code (independently) to color individual lines in what would otherwise be a single echo string, using Y axis pixel offsets between lines and sending each line as a separate echo command with its own offsets. A snapshot from my own work is here: http://www.umass.edu/microbio/chime/beta/temporary/label_colors.gif Although whole lines are different colors in this example, it would be more accurate to color individual words within a line. Also, it would be useful to color certain lines in the echo at the left as well as the one at the right, but time consuming to implement as I use different font sizes depending on the length of the list. How complicated would it be to provide a mechanism enabling color changes within a single echo string? We and likely others would find this useful in many contexts. Thanks, -Eric /* - - - - - - - - - - - - - - - - - - - - - - - - - - - Eric Martz, Professor Emeritus, Dept Microbiology U Mass, Amherst -- http://www.umass.edu/molvis/martz Biochem 3D Education Resources http://MolviZ.org See 3D Molecules, Install Nothing! - http://firstglance.jmol.org Protein Explorer - 3D Visualization: http://proteinexplorer.org Workshops: http://workshops.proteinexplorer.org World Index of Molecular Visualization Resources: http://molvisindex.org ConSurf - Find Conserved Patches in Proteins: http://consurf.tau.ac.il Atlas of Macromolecules: http://atlas.proteinexplorer.org PDB Lite Macromolecule Finder: http://pdblite.org Molecular Visualization EMail List (molvis-list): http://bioinformatics.org/mailman/listinfo/molvis-list - - - - - - - - - - - - - - - - - - - - - - - - - - - */ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

