Author Topic: Using lexers  (Read 2567 times)

Offline idcarlos

  • Multiple posting newcomer
  • *
  • Posts: 23
Using lexers
« on: March 07, 2006, 12:32:16 am »
Hi.

I'm interested in de NSIS lexer (http://forums.codeblocks.org/index.php?topic=2549.0)

But I have some questions about use it.

-Open dialog don't show .nsis file as know type?
-Can I configure CB to compile NSIS files with Build button?

Un saludo
Carlos GarcÚs

sethjackson

  • Guest
Re: Using lexers
« Reply #1 on: March 07, 2006, 12:36:31 am »
1. The open file dialog will not show it. This is a know limitation of C::B.
2. No I think not...... A developer will have to help you with this one.....

As for opening NSIS files set the file filter in the open dialog to All files. This will allow you to open *.nsi files. Also The lexer doesn't regocnize the *.nsis extension (This is correct behavior. NSIS dropped this a long time ago). The NSIS script extensions need to be *.nsi or *.nsh.

Hope this helps.

Seth

Offline idcarlos

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: Using lexers
« Reply #2 on: March 07, 2006, 12:56:53 am »
Hi.

I'm triying to configure makensis to work with Tools->Configure Tools, but it don't work.

Maybe is a good idea to write a message with the command line launched to the external tool in the messages window....

Un saludo
Carlos Garces

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Using lexers
« Reply #3 on: March 07, 2006, 08:59:53 am »
Maybe is a good idea to write a message with the command line launched to the external tool in the messages window....

You 're right.
Be patient!
This bug will be fixed soon...