[BUGFIX] t3editor: Add code autocompletion for listNum 93/36793/4
authorFrederic Gaus <gaus@flagbit.de>
Tue, 10 Feb 2015 14:21:54 +0000 (15:21 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 1 Mar 2015 10:33:59 +0000 (11:33 +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/36793
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/t3editor/res/tsref/tsref.xml

index 2bf15b6..48f78a8 100644 (file)
@@ -7393,7 +7393,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!
@@ -7552,7 +7552,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>
@@ -8141,4 +8141,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>