remove some debug logs

This commit is contained in:
Riccardo Mottola 2021-12-13 23:49:56 +01:00
parent 2c1c01f807
commit 7e64e50cda
2 changed files with 1 additions and 10 deletions

View file

@ -141,8 +141,6 @@
RELEASE(_intStatusField);
RELEASE(_intScrollView);
NSLog(@"%@", _intStatusField);
NSLog(@"%@", [_intStatusField superview]);
/*
* Setting up ext view / scroll view / window
*/
@ -722,7 +720,6 @@
}
else if (choice == NSAlertAlternateReturn)
{
NSLog(@"Self");
if ([self revertFileToSaved] == YES)
return NO;
NSLog(@"reload failed");
@ -1195,7 +1192,7 @@ willChangeSelectionFromCharacterRange:(NSRange)oldSelectedCharRange
selLine = nlCount + 1;
}
NSLog(@"%u corresponds to %u", (unsigned int)selection.location, (unsigned int)selLine);
if (selLine != NSNotFound)
{
[_intStatusField setStringValue: [NSString stringWithFormat:@"%u", (unsigned)selLine]];

View file

@ -185,8 +185,6 @@ static int ComputeIndentingOffset(NSString * string, NSUInteger start)
}
}
NSLog(@"index: %li start: %li", index, line_start);
return line_start > index ? index : line_start;
}
@ -204,8 +202,6 @@ static int ComputeIndentingOffset(NSString * string, NSUInteger start)
}
}
NSLog(@"index: %li end: %li", (long)index, (long)line_end);
return line_end < string_length ? line_end : string_length;
}
@ -218,8 +214,6 @@ static int ComputeIndentingOffset(NSString * string, NSUInteger start)
prev_line_start = [self lineStartIndexForIndex:cur_line_start-1
forString:string];
NSLog(@"index: %li prev_start: %li", (long)index, (long)prev_line_start);
return prev_line_start;
}