Beispiel #1
0
            Custom         = -1000; // 自定义类型分界线

        public HCStyle()
        {
            FTempCanvas       = CreateStyleCanvas();
            FTempStyleNo      = HCStyle.Null;
            FBackgroundColor  = Color.FromArgb(255, 255, 255);
            FSelColor         = Color.FromArgb(0xA6, 0xCA, 0xF0);
            FLineSpaceMin     = 8;
            FShowParaLastMark = true;
            FStates           = new HCStates();
            FUpdateInfo       = new UpdateInfo();
            FTextStyles       = new List <HCTextStyle>();
            FParaStyles       = new List <HCParaStyle>();
            FDefaultTextStyle = new HCTextStyle();
        }
Beispiel #2
0
            Custom         = -1000; // 自定义类型分界线

        public HCStyle()
        {
            FTempCanvas             = CreateStyleCanvas();
            FTempStyleNo            = HCStyle.Null;
            FBackgroundColor        = Color.FromArgb(255, 255, 255);
            FSelColor               = Color.FromArgb(0xA6, 0xCA, 0xF0);
            FLineSpaceMin           = 8;
            FFormatVersion          = 2;
            FShowParaLastMark       = true;
            FDrawHotDomainRegion    = true;
            FDrawActiveDomainRegion = true;
            FStates           = new HCStates();
            FUpdateInfo       = new UpdateInfo();
            FTextStyles       = new List <HCTextStyle>();
            FParaStyles       = new List <HCParaStyle>();
            FDefaultTextStyle = new HCTextStyle();
            FDefaultTextStyle.ApplyStyle(FTempCanvas);
        }