Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: virtuosonic on May 07, 2011, 07:18:07 am
-
hi, i'm trying to write a lexer for rpm, i writed a scintilla lexer (not finished), CodeBlocks_lexer_properties xml file, and i even see the log saying loading, but i don't see it in the highlight mode menu
Scanning for lexers in C:\Documents and Settings\gabriel\Datos de programa\CodeBlocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in C:\Documents and Settings\gabriel\Mis documentos\C++\codeblocks-svn\src\devel/share/codeblocks/lexers/...
Found 44 lexers
Loading lexer_A68k
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_rpm
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
did i forgot something
-
did i forgot something
How to tell? You didn't attach the files to this post.
-
here are the files
-
You have some makefiles and Scintilla files to modify when you want your lexer to be compiled with CB.
-
here is my modified project file (only the windows one), don't get disappointed i have even tested this lexer i'm only starting
-
Ok, I don't use CB to compile itself...
-
when i change the index of the lexer in the xml file to another lexer, like bash (62), it show in the menu
-
Did you fix wxSCI_LEX_LAST in sdk/wxscintilla/include/wx/wxscintilla.h:497, so your lexers index is below or equal it ?
-
:D thanks, now i can start the real work!