[BUGFIX] t3editor: Add code autocompletion for listNum 00/37400/2
authorFrederic Gaus <gaus@flagbit.de>
Tue, 10 Feb 2015 14:21:54 +0000 (15:21 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 1 Mar 2015 10:36:38 +0000 (11:36 +0100)
Add code autocompletion for property listNum and property
preIfEmptyListNum in t3editor.

Resolves: #25732
Releases: master, 6.2
Change-Id: I13c15e2e262a926e8444d7f50933823b27cdcd9d
Reviewed-on: http://review.typo3.org/37400
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/t3editor/res/tsref/tsref.xml

index 6e1c338..d104d2d 100644 (file)
@@ -7657,7 +7657,7 @@ Output will be "Ich bin..." instead of "I am..."]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="listNum" type="string">
+               <property name="listNum" type="listNum">
                        <description><![CDATA[Explodes the content with "," (comma) and the content is set to the item[value].
 
 Special keyword: "last" is set to the last element of the array!
@@ -7816,7 +7816,7 @@ Supplied by Jens Ellerbrock]]></description>
                        <default><![CDATA[
 ]]></default>
                </property>
-               <property name="preIfEmptyListNum" type="string">
+               <property name="preIfEmptyListNum" type="listNum">
                        <description><![CDATA[(as "listNum" below)]]></description>
                        <default><![CDATA[
 ]]></default>
@@ -8405,4 +8405,16 @@ The userfunction must return an <A>-tag.]]></description>
 ]]></default>
                </property>
        </type>
+       <type id="listNum">
+               <property name="splitChar" type="string">
+                       <description><![CDATA[Defines the string used to explode the value. If splitChar is an integer, the character with that number is used (e.g. "10" to split lines...).
+
+                               Default: "," (comma)]]></description>
+                       <default><![CDATA[,]]></default>
+               </property>
+               <property name="stdWrap" type="stdWrap">
+                       <description><![CDATA[stdwrap properties of the listNum...
+]]></description>
+               </property>
+       </type>
 </tsRef>