Пример #1
0
 public BasicEditorSettings()
 {
     AutoLineNumbering  = true;
     StartRowNumber     = 10;
     RowNumberIncrement = 10;
     BackgroundColor    = new TvcStudioColor(Colors.White);
     ForegroundColor    = new TvcStudioColor(Colors.Black);
     KeywordColor       = new TvcStudioColor(Colors.Blue);
     StringColor        = new TvcStudioColor(Colors.Red);
     NumberColor        = new TvcStudioColor(Colors.Magenta);
     EditorFontName     = "Consolas";
     EditorFontSize     = 18;
 }
Пример #2
0
 public BasicEditorSettings()
 {
     AutoLineNumbering  = true;
     StartRowNumber     = 10;
     RowNumberIncrement = 10;
     BackgroundColor    = new TvcStudioColor(Colors.White);
     ForegroundColor    = new TvcStudioColor(Colors.Black);
     KeywordColor       = new TvcStudioColor(Colors.Blue);
     StringColor        = new TvcStudioColor(Colors.Red);
     NumberColor        = new TvcStudioColor(Colors.Magenta);
     CommentColor       = new TvcStudioColor(0xff, 0x00, 0x80, 0x00); //green
     UserMethodColor    = new TvcStudioColor(0xff, 0x00, 0x80, 0x80); // teal
     RowSymbolColor     = new TvcStudioColor(Colors.Gray);
     EditorFontName     = "Consolas";
     EditorFontSize     = 18;
 }
 public AssemblyEditorSettings()
 {
     AutoCodeFormating            = true;
     AutoCodeAnalization          = true;
     CodeFolding                  = true;
     MarkInactiveCode             = true;
     BackgroundColor              = new TvcStudioColor(255, 255, 255, 255);     // white
     ForegroundColor              = new TvcStudioColor(255, 0, 0, 0);           //black
     ClockCycleColor              = new TvcStudioColor(0xff, 0xff, 0, 0);       //red
     CommentColor                 = new TvcStudioColor(0xff, 0x00, 0x80, 0x00); //green
     StringColor                  = new TvcStudioColor(0xff, 0xff, 0x00, 0xff); // magenta
     ProcessorInstruction         = new TvcStudioColor(0xff, 0x00, 0x80, 0x80); // teal
     RegisterColor                = ProcessorInstruction;
     AssemblerInstruction         = new TvcStudioColor(0xff, 0x80, 0x80, 0x00); // olive
     PreprocessorInstructionColor = new TvcStudioColor(0xff, 0xff, 0x00, 0x00); // red
     ExpressionColor              = new TvcStudioColor(0xff, 0x00, 0x00, 0xff); // blue
     InactiveCodeColor            = new TvcStudioColor(0xff, 0xd3, 0xd3, 0xd3); //light gray
     WrongCodeBackgroundColor     = new TvcStudioColor(0xff, 0xd3, 0xd3, 0xd3); //light gray
     EditorFontName               = "Consolas";
     EditorFontSize               = 18;
 }