Script Editors - Edit

“Edit” provides everything you need for a fast workflow while writing scripts. Nevertheless you should be a little careful when pasting scripts from other sources, because of indents and leading spaces. You can also see powerful functions for finding and replacing words or phrases here.

 

 

Undo/Redo

Both actions exactly work as usual.

Cut/Copy/Paste

These three commands are available with all programs and operating systems, and should not need further explanation.

Delete

To use this function it is necessary to mark a section of a script first. Once you have selected the appropriate paragraph, you can remove it with “Delete”.

Select All

If you want to mark the entire script without exception, then please use this function.

Find...

This is actually a “find-and-replace” function. Calling “Find...” opens a new window with several options to search for certain word or phrases and you can replace them with a single click, as you can see from the image below:

 

Find Next

You can look for the next appearance of a word without having to open and use the “Find...” option again.

Replace

A marked section in your script can be replaced with a certain phrase or word, located under “Replace with” from the “Find...” window.

Shift Right Text/Shift Left Text

Indents and leading spaces are very important concepts in Python. The first option works similar to the Tab key on your keyboard, the second one removes a tab.