Change the color of active line of code in Designer's script editor

This user recently discovered that the color of the current line of code in the script editor of the Designer can be changed.

I've accidentally discovered that the color of the current line of code in script editor of the Designer can be changed. The current line of code is the line that is just being changed by the user, i.e. the line whose syntax hasn't yet been checked by the Designer's script parser.

To change the color, just create a new button on the Designer's toolbar with the following formula (look in Designer Help for other colors' keywords):

@Command([TextSetFontColor]; [DarkGreen])

Do you have comments on this tip? Let us know.

This tip was submitted to the tip exchange by member Marko Bonaci. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

This was last published in June 2005

Dig Deeper on LotusScript

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...