Re: Problem with default values

Doxygen <[email protected]> Mon, 3 Jun 2013 22:51:45 +0200
Newsgroups gmane.text.doxygen.devel
Message-ID <[email protected]>
Hi Robert,

On 3 jun. 2013, at 22:33, Robert Dailey <[email protected]> wrote:

> Hi,
> 
> I'm adding some new config options to Doxygen. Here is my code:
> 
> 
>  cs = cfg->addString(
>                 "WARN_STRING",
>                 "The string that is prefixed to each warning that
> will be printed."
>                );
>  cs->setDefaultValue("Warning: ");

Please add new options to config.xml not to configoptions.cpp which is generated from it.

> 
> Notice I have a trailing space after the colon for the default value.
> I noticed that after ConfigString::substEnvVars() is called, this
> space is removed. I'd like to be able to keep the spaces in the
> default value. How can I do this?

I guess we should fix substEnvVars not to strip the space...

Regards,
  Dimitri


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j