Revision: 1298 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1298&view=re... Author: colombanw Date: 2010-04-24 21:48:39 +0000 (Sat, 24 Apr 2010)
Log Message: ----------- GeanyGenDoc: Use new cursor positioning in C filetype configuration
Modified Paths: -------------- trunk/geanygendoc/data/filetypes/c.conf
Modified: trunk/geanygendoc/data/filetypes/c.conf =================================================================== --- trunk/geanygendoc/data/filetypes/c.conf 2010-04-24 21:48:11 UTC (rev 1297) +++ trunk/geanygendoc/data/filetypes/c.conf 2010-04-24 21:48:39 UTC (rev 1298) @@ -43,55 +43,55 @@ enumval.policy = FORWARD;
function = { - template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: \n{end} * \n * \n{if returns} * \n * Returns: \n{end}{if write_since}{if returns} * \n{end} * Since: \n{end} */\n"; + template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: {cursor}\n{end} * \n * {cursor}\n{if returns} * \n * Returns: \n{end}{if write_since}{if returns} * \n{end} * Since: \n{end} */\n"; position = BEFORE; policy = KEEP; } macro = { - template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: \n{end} * \n * \n{if returns} * \n * Returns: \n{end} */\n"; + template = "/**\n * {symbol}:\n{for arg in argument_list} * @{arg}: {cursor}\n{end} * \n * {cursor}\n{if returns} * \n * Returns: \n{end} */\n"; } struct = { - template = "/**\n * {symbol}:\n{for member in children} * @{member}: \n{end} * \n * \n */\n"; + template = "/**\n * {symbol}:\n{for member in children} * @{member}: {cursor}\n{end} * \n * {cursor}\n */\n"; position = BEFORE; policy = KEEP; children = MERGE; matches = member | prototype; } enum = { - template = "/**\n * {symbol}:\n{for enumval in enumval_list} * @{enumval}: \n{end} * \n * \n */\n"; + template = "/**\n * {symbol}:\n{for enumval in enumval_list} * @{enumval}: {cursor}\n{end} * \n * {cursor}\n */\n"; } union = { - template = "/**\n * {symbol}:\n{for member in children} * @{member}: \n{end} * \n * \n */\n"; + template = "/**\n * {symbol}:\n{for member in children} * @{member}: {cursor}\n{end} * \n * {cursor}\n */\n"; children = MERGE; } typedef = { - template = "/**\n * {symbol}:\n * \n * \n */\n"; + template = "/**\n * {symbol}:\n * \n * {cursor}\n */\n"; } define = { - template = "/**\n * {symbol}:\n * \n * \n */\n"; + template = "/**\n * {symbol}:\n * \n * {cursor}\n */\n"; } }
doxygen = { - function.template = "/**\n * {doxygen_prefix}brief: \n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; - macro.template = "/**\n * {doxygen_prefix}brief: \n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; + function.template = "/**\n * {doxygen_prefix}brief: {cursor}\n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; + macro.template = "/**\n * {doxygen_prefix}brief: {cursor}\n{for a in argument_list} * {doxygen_prefix}param {a} \n{end}{if returns} * {doxygen_prefix}returns \n{end}{if write_since} * {doxygen_prefix}since \n{end} * \n * \n */\n"; struct.member = { - template = " /**< */"; + template = " /**< {cursor} */"; position = AFTER; } - struct.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + struct.template = "/**\n * {doxygen_prefix}brief: {cursor}\n * \n * \n */\n"; union.member = { - template = " /**< */"; + template = " /**< {cursor} */"; position = AFTER; } - union.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; - enum.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + union.template = "/**\n * {doxygen_prefix}brief: {cursor}\n * \n * \n */\n"; + enum.template = "/**\n * {doxygen_prefix}brief: {cursor}\n * \n * \n */\n"; enum.enumval = { - template = " /**< */"; + template = " /**< {cursor} */"; position = AFTER; } - typedef.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; - define.template = "/**\n * {doxygen_prefix}brief: \n * \n * \n */\n"; + typedef.template = "/**\n * {doxygen_prefix}brief: {cursor}\n * \n * \n */\n"; + define.template = "/**\n * {doxygen_prefix}brief: {cursor}\n * \n * \n */\n"; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.