To add a new clip to an existing library:
-
Open the desired Text Clip file in Programmer's Notepad.
-
Create a new line following one of the </clip> tags. Note that clips appear in the same order in which they exist in the Text Clips file.
-
Insert a new <clip> tag and use the name attribute to identify your new text clip. Example: <clip name=”my first clip”>
-
Although not mandatory, to ensure proper parsing of your clip you should embed your text clip inside a <![CDATA[ ]]> tag. Your text clip is inserted between of the inner square brackets and may include line feeds, tabs, angle brackets, and other formatting characters. Example: <![CDATA[This is my first text clip!]]>
-
Complete the text clip by including the closing </clip> tag.
-
Save the file. You must restart Programmer's Notepad before your edit will take effect.