Re: OT? how does the function reference work in katepart?

Andras Mantia <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta
Message-ID <[email protected]>
On Wednesday 31 May 2006 23:30, Brian G. Peterson wrote:
> Quanta also has pop-up tooltips that show what the arguments to a PHP
> function are. These don't show up in Kate, so I assume that they are
> specific to Quanta. Where are these defined?
>
> are these the:
> /usr/kde/3.5/share/apps/quanta/dtep/*/*.tag
> files?  

Yes.

> It looks like these may be the source of the tooltips, but 
> these only seem to define return-types and PHP versions, not calling
> parameters.

They are there as well. It is described in the handbook, but here it is 
again:
<tag name="array_change_key_case" type="function" returnType="array" 
version="PHP 4 &gt;= 4.2.0, PHP 5">
		<attr name="input" type="array" status="required"></attr>
		<attr name="case" type="int" status="optional"></attr>
	</tag>

This described the "array_change_key_case" function that returns an 
array and is available in PHP > 4.2.0 and has the following arguments:
- "input", and array and is required
- "case", an integer and is optional

> I'm asking because I need to develop this same kind of support for
> the R statistical package.  Getting the list of R functions is easy,
> but I don't see how the function parameter reference works at all.

I hope this helps. If you have the package ready, you might want to 
share with others as well. ;-)

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

_______________________________________________
quanta-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBEfpPfTQdfac6L/08RAsL0AKDV+NbMSl2kUk1HBDewb3dhkg35dgCg0WD2
9+JhLgKkp0Zq2AAR71gE6Fw=
=fj8t
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.