Author Topic: Help Keyword Substitution  (Read 781 times)

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Help Keyword Substitution
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11275
    • Travis build status
Re: Help Keyword Substitution
« Reply #1 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: Help Keyword Substitution
« Reply #2 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)
« Last Edit: May 21, 2018, 06:57:47 pm by headkase »

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: Help Keyword Substitution
« Reply #3 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.

Offline Miguel Gimenez

  • Almost regular
  • **
  • Posts: 136
Re: Help Keyword Substitution
« Reply #4 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/

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11275
    • Travis build status
Re: Help Keyword Substitution
« Reply #5 on: May 23, 2018, 08:12:57 pm »
Fixed in trunk.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: Help Keyword Substitution
« Reply #6 on: May 23, 2018, 09:03:39 pm »