Sylvain Ruard-dumaine:

> I'm tring to make a Lua debugger, then i need to define new (nice !?)
> column markers,
> And unfortunatelly it always crash at init ...
> Some ideas where i'am wrong ?

   Probably the '"' before 'static'. 

   The XPM format is is itself a C initialisation statement so you
don't have to stringify it. Just copy it from the XPM file like this:

static char * arrow2_xpm[] = {
"12 12 3 1",
"       c None",
".      c #000000",
"+      c #808080",
"            ",
"    ..+     ",
"    ...+    ",
"    ....+   ",
"    .....+  ",
"    ......+ ",
"    ......+ ",
"    .....+  ",
"    ....+   ",
"    ...+    ",
"    ..+     ",
"            "};
SintillaCmdChar(SCI_MARKERDEFINEPIXMAP,SC_MARKNUM_STACK_TRACE,arrow2_xpm);

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to