<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=EditingFunctions</id>
		<title>EditingFunctions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=EditingFunctions"/>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=EditingFunctions&amp;action=history"/>
		<updated>2026-07-31T02:42:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>http://www.avisynth.nl/index.php?title=EditingFunctions&amp;diff=940&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=EditingFunctions&amp;diff=940&amp;oldid=prev"/>
				<updated>2013-05-09T21:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;1&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;1&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:34, 9 May 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&#039;2&#039; style=&#039;text-align: center;&#039; lang=&#039;en&#039;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://www.avisynth.nl/index.php?title=EditingFunctions&amp;diff=939&amp;oldid=prev</id>
		<title>AlanHK: missing++</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=EditingFunctions&amp;diff=939&amp;oldid=prev"/>
				<updated>2012-01-21T07:32:22Z</updated>
		
		<summary type="html">&lt;p&gt;missing++&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here are some functions I made and added to my plugins directory because I was sick of typing them so much. Hope you find them useful.&lt;br /&gt;
&lt;br /&gt;
    # inserts the clip &amp;#039;inclip&amp;#039; into &amp;#039;old&amp;#039; at index &amp;#039;frame&amp;#039;&lt;br /&gt;
    function Insert (clip old, clip inclip, int frame)&lt;br /&gt;
    {&lt;br /&gt;
        return old.[[Trim]](0, frame - 1) + inclip + old.Trim(frame, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # as above, using aligned splices&lt;br /&gt;
    function AlignedInsert (clip old, clip inclip, int frame)&lt;br /&gt;
    {&lt;br /&gt;
        return old.Trim(0, frame - 1) ++ inclip ++ old.Trim(frame, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # replace &amp;#039;numframes&amp;#039; frames of &amp;#039;old&amp;#039; with &amp;#039;inclip&amp;#039;, starting at &amp;#039;frame&amp;#039;&lt;br /&gt;
    function Replace (clip old, clip inclip, int frame, int numframes)&lt;br /&gt;
    {&lt;br /&gt;
        numframes = ((numframes == 0) || (numframes &amp;gt; inclip.[[Clip_properties|framecount]])) ? inclip.framecount : numframes&lt;br /&gt;
        return old.Trim(0, frame - 1) + inclip.Trim(0, numframes) + old.Trim(frame + numframes, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # as above, using aligned splices&lt;br /&gt;
    function AlignedReplace (clip old, clip inclip, int frame, int numframes)&lt;br /&gt;
    {&lt;br /&gt;
        numframes = (numframes == 0 || numframes &amp;gt; inclip.framecount) ? inclip.framecount : numframes&lt;br /&gt;
        return old.Trim(0, frame - 1) ++ inclip.Trim(0, numframes) ++ old.Trim(frame + numframes, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
[[Category:Shared functions]]&lt;/div&gt;</summary>
		<author><name>AlanHK</name></author>	</entry>

	</feed>