Neil wrote: > Sticking the first flag just after an enumeration is rather >constraining. For the line, I would have defined another type like >SC_MARGIN_SPACER and filled that margin with a line drawing colour >(probably STYLE_DEFAULT.fore). Then the client code may define light, >dark, or grey lines or areas independently. If there are flags then it >should be at, say, 16 or 32 to allow expansion of the enumeration >part. OK, I think I got it. Something like: SC_MARGIN_SYMBOL = 0 // as now SC_MARGIN_NUMBER = 1 // as now SC_MARGIN_TYPEMASK = 0x1f // Mask for allowed types
SC_MARGIN_SPACER = 32 // STYLE_DEFAULT background SC_MARGIN_FILLER = 64 // STYLE_DEFAULT foreground SC_MARGIN_TYPEFLAG = 0xffffffe0 If you confirm that this is OK, I'll get on and do it. Greg _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
