<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=UIEditW</id>
	<title>UIEditW - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=UIEditW"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=UIEditW&amp;action=history"/>
	<updated>2026-04-07T21:59:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=UIEditW&amp;diff=3264&amp;oldid=prev</id>
		<title>JRAD at 12:06, 21 November 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=UIEditW&amp;diff=3264&amp;oldid=prev"/>
		<updated>2007-11-21T12:06:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOEDITSECTION__&lt;br /&gt;
== Class Tree ==&lt;br /&gt;
* [[:UIObject]]&lt;br /&gt;
** [[:UIObject_Drawable]]&lt;br /&gt;
*** [[:UIWindow]]&lt;br /&gt;
**** [[:UIEditW]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The wide edit window type has the same functionality as the regular edit window, but it supports wide strings for non ASCII input. It is mainly used when typing messages to friends or in the chat window.&lt;br /&gt;
&lt;br /&gt;
Templates are used to decrease the amount of text needed to create an edit box, the _editw/_editw_scroll and _end_edit/_end_editw_scroll templates should be used.&lt;br /&gt;
&lt;br /&gt;
This class may be used in the GUIs. It will inherit all properties, flags, functions and events from [[UIWindow]].&lt;br /&gt;
&lt;br /&gt;
Window type:&lt;br /&gt;
 type editw;&lt;br /&gt;
&lt;br /&gt;
'''Example:'''&lt;br /&gt;
 _editw_scroll( MessageMemberMessage, 0, 0, 100, 60 )&lt;br /&gt;
 	properties {&lt;br /&gt;
 		vec2 textAlignment = TA_LEFT, TA_VCENTER;&lt;br /&gt;
 		float	maxTextLength = 512;&lt;br /&gt;
 	}&lt;br /&gt;
 _end_editw_scroll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
{{:UIEditW Properties}}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
{{:UIEditW Flags}}&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
=== General Functions ===&lt;br /&gt;
 [[UIEditW:clearText|clearText]]                          Clear all window text.&lt;br /&gt;
 [[UIEditW:isWhitespace|isWhitespace]]                       Check whitespaces, ignores all color codes.&lt;br /&gt;
 [[UIEditW:insertText|insertText]]                         Insert text into the edit box.&lt;br /&gt;
 [[UIEditW:surroundSelection|surroundSelection]]                  Select certain substring.&lt;br /&gt;
 [[UIEditW:anySelected|anySelected]]                        Check if any of the edit text is selected.&lt;br /&gt;
 [[UIEditW:selectAll|selectAll]]                          Select all text in the edit box.&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
 [[UIEditW:onInputFailed|onInputFailed]]                      Called if typing any characters that breaks the EF_ALLOW_DECIMAL/EF_INTEGERS_ONLY flags.&lt;br /&gt;
&lt;br /&gt;
[[Category:GUIs]]&lt;/div&gt;</summary>
		<author><name>JRAD</name></author>
		
	</entry>
</feed>