I could make it work by setting the attributes after scintilla is mapped, inside the MAP_CB. It seems that only some of them were working when i was setting the attributes before mapping, but now (with the exact same set of IupSetAttribute code in the map_cb) all of them are working.So, not an issue anymore.
Le mardi 4 juin 2019 à 22:32:34 UTC+2, Antonio Scuri <antonio.sc...@gmail.com> a écrit : Hi, I would recommend you to take a look at the IupLuaScripterDlg code in the folder "iup\srclua5\scripter". It uses different colors for some fgcolor styles. IUP works very close with the Scintilla specs, so each IUP attribute is almost a direct map to a Scintilla message. You can also take a look at the Scintilla documentation: https://www.scintilla.org/ScintillaDoc.html Best,Scuri Em ter, 4 de jun de 2019 às 14:12, Johann Philippe via Iup-users <iup-users@lists.sourceforge.net> escreveu: Hello, I'm using IupScintilla today, and i'm having some issues with the autocompletion. I copied the example code to my cpp project, and it seems that the STYLEFGCOLOR only works on the 10th style. So, operators have the right color, but everything else is black. I tried to put the STYLEBGCOLOR5 to 255 0 255 and it works (the keywords have a bg color)... so it seems related only to the STYLEFGCOLOR attribute. Any idea ? Thanks _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users