mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
Editor changes
This commit is contained in:
parent
9cdbd97ad9
commit
67c858017e
3 changed files with 6 additions and 2 deletions
|
@ -326,7 +326,6 @@
|
|||
|
||||
if(dictionaryName != nil)
|
||||
{
|
||||
NSString *key = nil;
|
||||
id value = nil;
|
||||
NSDictionary *dict;
|
||||
|
||||
|
@ -848,6 +847,7 @@
|
|||
NSString *tss = [[tView textStorage] string];
|
||||
if (![tss hasSuffix:@"\n"] && ![tss hasSuffix:@"(gdb) "])
|
||||
{
|
||||
chars = @"\x08";
|
||||
[self typeString: chars];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,5 +67,6 @@ extern NSString *PCDBDebuggerStartedNotification;
|
|||
- (void) setLastFileNameParsed: (NSString *)fname;
|
||||
- (NSUInteger)lastLineNumberParsed;
|
||||
- (void)setLastLineNumberParsed: (NSUInteger)num;
|
||||
- (void)updateEditor;
|
||||
|
||||
@end
|
||||
|
|
|
@ -423,10 +423,13 @@
|
|||
NSString *fileName = [d objectForKey: @"lastFileName"];
|
||||
NSNumber *line = [d objectForKey: @"lastLineNumber"];
|
||||
NSUInteger l = [line integerValue];
|
||||
|
||||
[self openFileAtPath: fileName
|
||||
editorManager: _editorManager
|
||||
editable: YES];
|
||||
[self scrollToLineNumber: l];
|
||||
[self scrollToLineNumber: l];
|
||||
|
||||
NSLog(@"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] %@:%lu", fileName, l);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
|
Loading…
Reference in a new issue