This commit is contained in:
Riccardo Mottola 2021-07-13 22:31:02 +02:00
parent b3a968b8a3
commit 08cd658b6d
2 changed files with 0 additions and 20 deletions

View file

@ -170,7 +170,6 @@
tSelCol, NSForegroundColorAttributeName,
nil];
[ev setSelectedTextAttributes:selAttributes];
[ev setSelectedTextAttributes:selAttributes];
// Activate undo
[ev setAllowsUndo: YES];

View file

@ -470,25 +470,6 @@ static int ComputeIndentingOffset(NSString * string, unsigned int start)
return editor;
}
- (void)awakeFromNib
{
/* NSData * data;
NSUserDefaults * df = [NSUserDefaults standardUserDefaults];
drawCrosshairs = [df boolForKey: @"DrawCrosshairs"];
if (drawCrosshairs)
{
if ((data = [df dataForKey: @"CrosshairColor"]) == nil ||
(crosshairColor = [NSUnarchiver unarchiveObjectWithData: data]) == nil)
{
crosshairColor = [NSColor lightGrayColor];
}
[crosshairColor retain];
}
guides = [NSMutableArray new];*/
}
- (void)drawRect:(NSRect)r
{
if (highlighter)