<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=TextArea</id>
	<title>TextArea - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=TextArea"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=TextArea&amp;action=history"/>
	<updated>2026-04-21T23:08:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=TextArea&amp;diff=97&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:TextAreaExampleCode}}  ==Inheritance== Panel  ==Constructor== {| class=&quot;wikitable&quot;  !|function !|description |- |TextArea(PanelSize size) | |- |TextArea(PanelSize size, string fileName) | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |{string()} |getOpenFiles() |Return a list of all current opend files. |- |string |getOpenedFile() |Get the current opened file. |-...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=TextArea&amp;diff=97&amp;oldid=prev"/>
		<updated>2025-07-05T14:19:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:TextAreaExampleCode}}  ==Inheritance== &lt;a href=&quot;/index.php/Panel&quot; title=&quot;Panel&quot;&gt;Panel&lt;/a&gt;  ==Constructor== {| class=&amp;quot;wikitable&amp;quot;  !|function !|description |- |TextArea(&lt;a href=&quot;/index.php/PanelSize&quot; title=&quot;PanelSize&quot;&gt;PanelSize&lt;/a&gt; size) | |- |TextArea(&lt;a href=&quot;/index.php/PanelSize&quot; title=&quot;PanelSize&quot;&gt;PanelSize&lt;/a&gt; size, &lt;a href=&quot;/index.php/String&quot; title=&quot;String&quot;&gt;string&lt;/a&gt; fileName) | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |{string()} |&lt;a href=&quot;/index.php?title=TextArea:getOpenFiles()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;TextArea:getOpenFiles() (page does not exist)&quot;&gt;getOpenFiles&lt;/a&gt;() |Return a list of all current opend files. |- |string |&lt;a href=&quot;/index.php?title=TextArea:getOpenedFile()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;TextArea:getOpenedFile() (page does not exist)&quot;&gt;getOpenedFile&lt;/a&gt;() |Get the current opened file. |-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:TextAreaExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Inheritance==&lt;br /&gt;
[[Panel]]&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|TextArea([[PanelSize]] size)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|TextArea([[PanelSize]] size, [[string]] fileName)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|{string()}&lt;br /&gt;
|[[TextArea:getOpenFiles()|getOpenFiles]]()&lt;br /&gt;
|Return a list of all current opend files.&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|[[TextArea:getOpenedFile()|getOpenedFile]]()&lt;br /&gt;
|Get the current opened file.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[TextArea:isTestWorldVisible()|isTestWorldVisible]]()&lt;br /&gt;
|Return true if the test world view area is visible.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[TextArea:getTextHeight()|getTextHeight]]()&lt;br /&gt;
|Return text height.&lt;br /&gt;
|-&lt;br /&gt;
|string&lt;br /&gt;
|[[TextArea:getTextFromRow(int row)|getTextFromRow]](int row)&lt;br /&gt;
|Get the text from the row.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[TextArea:getFirstVisibleRow()|getFirstVisibleRow]]()&lt;br /&gt;
|Return text height.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[TextArea:getNumVisibleRows()|getNumVisibleRows]]()&lt;br /&gt;
|Return num visible rows.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:openFile(Text fileName)|openFile]]([[Text ]] fileName)&lt;br /&gt;
|Open an existing file or create a default template file.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setTextHeight(int textHeight)|setTextHeight]](int textHeight)&lt;br /&gt;
|Set the TextArea textheight.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setReloadCallback(string functionName)|setReloadCallback]](string functionName)&lt;br /&gt;
|Set a function that is called when the reload button is pressed.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setOptionPanelVisible(bool visible)|setOptionPanelVisible]](bool visible)&lt;br /&gt;
|Set if the option panel should be visible (exit and reload button).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setOpenedFile(string fileName)|setOpenedFile]](string fileName)&lt;br /&gt;
|Set witch file to be shown. The file must be loaded.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setRowText(int row, string text)|setRowText]](int row, string text)&lt;br /&gt;
|Set the text on a given row&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setFirstVisibleRow(int row)|setFirstVisibleRow]](int row)&lt;br /&gt;
|move the camera so that this row is the first line shown.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:markRow(int row, Vec3 color)|markRow]](int row, [[Vec3]] color)&lt;br /&gt;
|Mark a row with a given color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setTextColor(Vec3 color)|setTextColor]]([[Vec3]] color)&lt;br /&gt;
|Set text color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setCommentColor(Vec3 color)|setCommentColor]]([[Vec3]] color)&lt;br /&gt;
|Set text comment color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setTextStringColor(Vec3 color)|setTextStringColor]]([[Vec3]] color)&lt;br /&gt;
|Set text string color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setLexemeColor(Vec3 color)|setLexemeColor]]([[Vec3]] color)&lt;br /&gt;
|Set lexeme color Example function, local, for, while ...&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setSelectedColor(Vec3 color)|setSelectedColor]]([[Vec3]] color)&lt;br /&gt;
|Set Selected word color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setSearchMarkerColor(Vec3 color)|setSearchMarkerColor]]([[Vec3]] color)&lt;br /&gt;
|Set search marked word color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setCurrentRowColor(Vec3 color)|setCurrentRowColor]]([[Vec3]] color)&lt;br /&gt;
|Set current row color.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[TextArea:setmarkedWordColor(Vec3 color)|setmarkedWordColor]]([[Vec3]] color)&lt;br /&gt;
|Set marked word color.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>