Armel Asselin wrote:
I attempt to deal with this by using static_cast<unsigned char>() when
pulling chars from a buffer with SafeGetCharAt() or "styler[]" accesses...
once a char is out of the buffer and safely in an int, you do not have to
worry any longer - well, as long as your ints are at least 32 bits. :)
yes,yes,yes... i start to understand, i did not get it at first... this is
just a problem of having a 'char' as a param of some if the functions to
test the type, everything else is probably ok in fact... just have to find
the 'char' in the lexers and make them 'int'...
but i fear that i may to modify several lexers though... (asm, avenue,
mmixal at least)

thank you very much

For an example of how little may need to be changed, you could look at LexCaml.cxx and see how often static_cast<unsigned char>() gets used... not very much. :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to