Indention

I’m sure this has been covered before but I’m not finding it.

I want to paste scripts (such as AppleScript) as text either individually and/or inserted into the middle of a text field of Note Pad and still retain the indented format of the individual lines as applicable. All I seem to get are flush lines to the left edge.

Is this possible to do without retyping each line and tabbing?
Thanks.

Disregard-
I figured out the problem.