Wrap the text and commands in procedure window


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.



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.