<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Textutils.complete</id>
		<title>Textutils.complete - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Textutils.complete"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.complete&amp;action=history"/>
		<updated>2026-07-11T06:36:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils.complete&amp;diff=7092&amp;oldid=prev</id>
		<title>Bomb Bloke at 10:57, 19 July 2015</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.complete&amp;diff=7092&amp;oldid=prev"/>
				<updated>2015-07-19T10:57:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:57, 19 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|args= {{Type|string}} object name [, {{Type|table}} environment]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|args= {{Type|string}} object name [, {{Type|table}} environment]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|returns={{Type|table}} completion list&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|returns={{Type|table}} completion list&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|api=&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fs&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|api=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;textutils&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|addon=ComputerCraft&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|addon=ComputerCraft&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|desc=Added by ComputerCraft 1.74, textutils.complete() can be passed a partial variable name (or that of a key in a table), and returns a numerically indexed table containing strings that could be used to complete it. By default, it searches the environment used to load the textutils API, which contains its functions, and via metatables, access to _G. You can use getfenv() to obtain the environment your current script is working within (which contains ''its'' global variables, and via metatables, access to _G).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|desc=Added by ComputerCraft 1.74, textutils.complete() can be passed a partial variable name (or that of a key in a table), and returns a numerically indexed table containing strings that could be used to complete it. By default, it searches the environment used to load the textutils API, which contains its functions, and via metatables, access to _G. You can use getfenv() to obtain the environment your current script is working within (which contains ''its'' global variables, and via metatables, access to _G).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ccraft_wiki-mw_:diff:version:1.11a:oldid:7091:newid:7092 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bomb Bloke</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils.complete&amp;diff=7091&amp;oldid=prev</id>
		<title>Bomb Bloke: Created page with &quot;{{lowercase}} {{Function |name=textutils.complete |args= {{Type|string}} object name [, {{Type|table}} environment] |returns={{Type|table}} completion list |api=fs |addon=Comp...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.complete&amp;diff=7091&amp;oldid=prev"/>
				<updated>2015-07-19T10:57:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{lowercase}} {{Function |name=textutils.complete |args= {{Type|string}} object name [, {{Type|table}} environment] |returns={{Type|table}} completion list |api=fs |addon=Comp...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=textutils.complete&lt;br /&gt;
|args= {{Type|string}} object name [, {{Type|table}} environment]&lt;br /&gt;
|returns={{Type|table}} completion list&lt;br /&gt;
|api=fs&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Added by ComputerCraft 1.74, textutils.complete() can be passed a partial variable name (or that of a key in a table), and returns a numerically indexed table containing strings that could be used to complete it. By default, it searches the environment used to load the textutils API, which contains its functions, and via metatables, access to _G. You can use getfenv() to obtain the environment your current script is working within (which contains ''its'' global variables, and via metatables, access to _G).&lt;br /&gt;
&lt;br /&gt;
If the element found represents a table, suggestions will have &amp;quot;.&amp;quot; appended to them (in which case a new call, using the old search string concatenated with such a suggestion, would return the contents of that table). If a function, &amp;quot;(&amp;quot; is appended.&lt;br /&gt;
&lt;br /&gt;
See also: [[fs.complete]](), [[shell.complete]](), [[shell.setCompletionFunction]](), [[shell.completeProgram]]() and [[help.completeTopic]]().&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Lists the suffixes of all keys in the current environment table beginning with &amp;quot;pa&amp;quot;.&lt;br /&gt;
|code=&lt;br /&gt;
 [[textutils.tabulate]]( textutils.complete( &amp;quot;pa&amp;quot;, getfenv() ) )&lt;br /&gt;
|output=intutils. irs( rallel. (which could be concatenated to get the names of the [[paintutils (API)|paintutils]] API table, the &amp;quot;pairs&amp;quot; iterator function, and the [[parallel (API)|parallel]] API table).&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Lists suffixes of all keys in the [[colors (API)|colors API]] beginning with &amp;quot;li&amp;quot;.&lt;br /&gt;
|code=&lt;br /&gt;
  textutils.tabulate( textutils.complete( &amp;quot;colors.li&amp;quot;, getfenv() ) )&lt;br /&gt;
|output=ghtBlue ghtGray me&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Bomb Bloke</name></author>	</entry>

	</feed>