Example #1
0
        internal void SetBackColorInternal(Color value)
        {
            NativeScintilla.StyleSetBack(_index, Utilities.ColorToRgb(value));
            Scintilla.ColorBag[ToString() + ".BackColor"] = value;

            if (_index == (int)StylesCommon.CallTip)
            {
                NativeScintilla.CallTipSetBack(Utilities.ColorToRgb(value));
            }
        }
Example #2
0
        internal void SetBackColorInternal(Color value)
        {
            if (value == SystemColors.Info)
            {
                Scintilla.ColorBag.Remove("CallTip.BackColor");
            }
            else
            {
                Scintilla.ColorBag["CallTip.BackColor"] = value;
            }

            NativeScintilla.CallTipSetBack(Utilities.ColorToRgb(value));
        }