Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: headkase on May 21, 2018, 06:03:22 pm

Title: Help Keyword Substitution
Post by: headkase on May 21, 2018, 06:03:22 pm
Settings -> Environment -> Help Files

The "tip" says to use "$$(keyword)" to substitute the word under the cursor.  This does not work on SVN 11400.  What does work is to use "$(keyword)"

Is this a feature or a bug?
Title: Re: Help Keyword Substitution
Post by: oBFusCATed on May 21, 2018, 06:09:22 pm
Probably it is a bug and probably it is already reported.

What version of C::B and which OS are you using?
Title: Re: Help Keyword Substitution
Post by: headkase on May 21, 2018, 06:17:40 pm
Probably it is a bug and probably it is already reported.

What version of C::B and which OS are you using?

The latest Nightly, SVN 11400 64 bit Wx 311, and Windows 10 Pro 64 bit.

Here's what works:

https://imgur.com/TX8WsA6.png

Command used:

http://en.cppreference.com/mwiki/index.php?&search=$(keyword)
Title: Re: Help Keyword Substitution
Post by: headkase on May 21, 2018, 07:32:30 pm
I searched Code::Blocks tickets for "help plugin" and of the six pages of results I did not see this issue.  I'll create a ticket if requested.
Title: Re: Help Keyword Substitution
Post by: Miguel Gimenez on May 21, 2018, 07:43:51 pm
This is very similar to ticket 653, also involving $$: The usage information does not match the reality.

https://sourceforge.net/p/codeblocks/tickets/653/ (https://sourceforge.net/p/codeblocks/tickets/653/)
Title: Re: Help Keyword Substitution
Post by: oBFusCATed on May 23, 2018, 08:12:57 pm
Fixed in trunk.
Title: Re: Help Keyword Substitution
Post by: headkase on May 23, 2018, 09:03:39 pm
Fixed in trunk.

Thank you.