Changeset 12103


Ignore:
Timestamp:
May 21, 2009, 2:13:47 AM (10 years ago)
Author:
rme
Message:

Don't color the altconsole output text red. Make user input bold.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/altconsole/AltConsoleDocument.m

    r12097 r12103  
    3939      dict = [[NSMutableDictionary alloc] initWithCapacity: 3];
    4040      [dict setObject: [NSFont fontWithName: @"Courier" size:12.0] forKey: @"NSFont"];
    41       [dict setObject: [NSColor redColor] forKey: @"NSColor"];
    4241      [dict setObject: [NSParagraphStyle defaultParagraphStyle] forKey: @"NSParagraphStyle"];
    4342      system_output_attributes = dict;
    44       dict = [NSMutableDictionary dictionaryWithDictionary: dict];
     43      dict = [dict mutableCopy];
     44      [dict setObject: [NSFont fontWithName: @"Courier-Bold" size:12.0]
     45            forKey: @"NSFont"];
    4546      [dict setObject: [NSColor blackColor] forKey: @"NSColor"];
    46       local_typing_attributes = [dict retain];
     47      local_typing_attributes = dict;
    4748      outpos = 0;
    4849    }
Note: See TracChangeset for help on using the changeset viewer.