User forums > Nightly builds

The 11 November 2008 build (5309) is out.

<< < (4/9) > >>

Loaden:
let's help-plugin support execute help.

--- Code: ---D:\ycdeng\qpcb\codeblocks\src\plugins\contrib\help_plugin\help_plugin.cpp
line: 612
add:
    if (ext.CmpNoCase(_T("exe")) == 0)
  {
      helpfile += _T(" ") + keyword;
      wxExecute(helpfile);
      return;
  }

--- End code ---

Could you tell me: how to advise C::B team apply this patch?
Thanks!

Jenna:

--- Quote from: Loaden on November 16, 2008, 11:36:37 am ---let's help-plugin support execute help.

--- Code: ---D:\ycdeng\qpcb\codeblocks\src\plugins\contrib\help_plugin\help_plugin.cpp
line: 612
add:
    if (ext.CmpNoCase(_T("exe")) == 0)
  {
      helpfile += _T(" ") + keyword;
      wxExecute(helpfile);
      return;
  }

--- End code ---

Could you tell me: how to advise C::B team apply this patch?
Thanks!

--- End quote ---

If I understand correctly, you want an executable be specified as helpfile and want to execute it with the keyword as argument.

You can do this already:

* goto "Settings -> Environment -> Help Files"
* Click "Add" and name your new help entry.
* Choose "Yes" when prompted to browse for a help file.
* Browse for the executable.
* Add " $(keyword)" to the end of path.
* Check the boxes for "This is the default help file (shortcut: F1)" (optionally) and "This line represents a full command to be executed" (needed)
* Click "Ok"
Partly taken from the wiki (http://wiki.codeblocks.org/index.php?title=Using_devhelp_as_a_help_viewer) and slightly modified.

Loaden:

--- Quote from: jens on November 16, 2008, 01:11:39 pm ---If I understand correctly, you want an executable be specified as helpfile and want to execute it with the keyword as argument.

--- End quote ---
This is my hope to do. thanks!

webbesen:
Nightly 11. Nov. 2008 on WinXP:

C/C++ syntax highlighting seems to be semi-broken.
It works on my .p files but not on my .inc files (embedded development using the PAWN compiler) even when I set the filemask to include these type of files.
It works in CB rel. 8.02.

Does anyone have any good ideas why I can't get this to work in the Nightly build?

I really want that fix to block paste so keeping rel. 8.02 is not really an option.

Thanks in advance.
Webbesen

Jenna:

--- Quote from: webbesen on November 17, 2008, 10:05:28 pm ---Nightly 11. Nov. 2008 on WinXP:

C/C++ syntax highlighting seems to be semi-broken.
It works on my .p files but not on my .inc files (embedded development using the PAWN compiler) even when I set the filemask to include these type of files.
It works in CB rel. 8.02.

Does anyone have any good ideas why I can't get this to work in the Nightly build?

I really want that fix to block paste so keeping rel. 8.02 is not really an option.

Thanks in advance.
Webbesen

--- End quote ---
Is there no highlighting at all, or is the highlighting incorrect.

I don't know the pawn-language, but I downloaded some source-lines of a pawn tutorial and had no problems with highlighting, after adding "*.p" and "*.inc" to the c/c++ filemask.

What happens, if you chose the highlighting mode from "Edit -> Highlight mode" ?
If you open this submenu you can see which highlight mode is actually in use for the file and chose another one.
Maybe you have an entry for "*.inc" in another languages filemask (it's used for pascal on my system), that is tested before the c/c++ filemask.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version