public DefaultHighlightingStrategy(string name) {
			this.mName = name;

			mDigitColor = new HighlightColor(SystemColors.WindowText, false, false);
			defaultTextColor = new HighlightColor(SystemColors.WindowText, false, false);

			// set small 'default color environment'
			mEnvironmentColors["Default"] = new HighlightBackground("WindowText", "Window", false, false);
			mEnvironmentColors["Selection"] = new HighlightColor("HighlightText", "Highlight", false, false);
			mEnvironmentColors["VRuler"] = new HighlightColor("ControlLight", "Window", false, false);
			mEnvironmentColors["InvalidLines"] = new HighlightColor(Color.Red, false, false);
			mEnvironmentColors["CaretMarker"] = new HighlightColor(Color.Yellow, false, false);
			mEnvironmentColors["LineNumbers"] = new HighlightBackground("ControlDark", "Window", false, false);

			mEnvironmentColors["FoldLine"] = new HighlightColor(Color.FromArgb(0x80, 0x80, 0x80), Color.Black, false, false);
			mEnvironmentColors["FoldMarker"] = new HighlightColor(Color.FromArgb(0x80, 0x80, 0x80), Color.White, false, false);
			mEnvironmentColors["SelectedFoldLine"] = new HighlightColor(Color.Black, false, false);
			mEnvironmentColors["EOLMarkers"] = new HighlightColor("ControlLight", "Window", false, false);
			mEnvironmentColors["SpaceMarkers"] = new HighlightColor("ControlLight", "Window", false, false);
			mEnvironmentColors["TabMarkers"] = new HighlightColor("ControlLight", "Window", false, false);

		}
Beispiel #2
0
        public DefaultHighlightingStrategy(string name)
        {
            this.mName = name;

            mDigitColor      = new HighlightColor(SystemColors.WindowText, false, false);
            defaultTextColor = new HighlightColor(SystemColors.WindowText, false, false);

            // set small 'default color environment'
            mEnvironmentColors["Default"]      = new HighlightBackground("WindowText", "Window", false, false);
            mEnvironmentColors["Selection"]    = new HighlightColor("HighlightText", "Highlight", false, false);
            mEnvironmentColors["VRuler"]       = new HighlightColor("ControlLight", "Window", false, false);
            mEnvironmentColors["InvalidLines"] = new HighlightColor(Color.Red, false, false);
            mEnvironmentColors["CaretMarker"]  = new HighlightColor(Color.Yellow, false, false);
            mEnvironmentColors["LineNumbers"]  = new HighlightBackground("ControlDark", "Window", false, false);

            mEnvironmentColors["FoldLine"]         = new HighlightColor(Color.FromArgb(0x80, 0x80, 0x80), Color.Black, false, false);
            mEnvironmentColors["FoldMarker"]       = new HighlightColor(Color.FromArgb(0x80, 0x80, 0x80), Color.White, false, false);
            mEnvironmentColors["SelectedFoldLine"] = new HighlightColor(Color.Black, false, false);
            mEnvironmentColors["EOLMarkers"]       = new HighlightColor("ControlLight", "Window", false, false);
            mEnvironmentColors["SpaceMarkers"]     = new HighlightColor("ControlLight", "Window", false, false);
            mEnvironmentColors["TabMarkers"]       = new HighlightColor("ControlLight", "Window", false, false);
        }