Wrap the text and commands in procedure window
vpratap397
Hi
This is probably a very basic question. How can you wrap the text/commands in the procedure window? In my case, one command is very long, and I have to scroll horizontally back and forth. Its very annoying. I looked in help file, but couldn't find anything.
Thanks.
I don't think there is a wrap-text option for procedure windows (I don't know for sure, though). You could instead, for example, adjust the magnification (ctrl & + and ctrl & -) or you could split up you command into several sub-steps. The latter would probably also make the code more readable and easier to debug. Another option would be to write your code in an external editor of your choice (this is what I do). Igor conveniently updates procedures on-the-fly when they are saved by another program.
May 16, 2020 at 07:33 pm - Permalink
In reply to I don't think there is a… by chozo
Thank you for your help. I'll try other options as you suggested. I hope they bring the functionality.
May 16, 2020 at 07:38 pm - Permalink
In reply to Thank you for your help. I… by vpratap397
DisplayHelpTopic "Line Continuation"
For wrapping comments, see code snippet here.
In most cases rewriting as several commands results in the most readable code.
May 17, 2020 at 04:54 am - Permalink