diff --git a/ChangeLog b/ChangeLog index 2f93c44..0f89455 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-05-22 Riccardo Mottola + + * Modules/Editors/ProjectCenter/PCEditorView.h + * Modules/Editors/ProjectCenter/PCEditorView.m + Comply to protocol. + 2016-05-15 Riccardo Mottola * Modules/Debuggers/ProjectCenter/PCDebugger.m diff --git a/Modules/Editors/ProjectCenter/PCEditorView.h b/Modules/Editors/ProjectCenter/PCEditorView.h index 931d6c6..19617f5 100644 --- a/Modules/Editors/ProjectCenter/PCEditorView.h +++ b/Modules/Editors/ProjectCenter/PCEditorView.h @@ -4,7 +4,7 @@ Interface declaration of the EditorTextView class for the ProjectManager application. - Copyright (C) 2005-2014 Free Software Foundation + Copyright (C) 2005-2016 Free Software Foundation Saso Kiselkov Riccardo Mottola @@ -42,7 +42,7 @@ + (NSFont *)defaultEditorItalicFont; + (NSFont *)defaultEditorBoldItalicFont; -- (void)setEditor:(PCEditor *)anEditor; +- (void)setEditor:(NSObject *)anEditor; - (void)createSyntaxHighlighterForFileType:(NSString *)fileType; diff --git a/Modules/Editors/ProjectCenter/PCEditorView.m b/Modules/Editors/ProjectCenter/PCEditorView.m index 35bb6a4..bf09f26 100644 --- a/Modules/Editors/ProjectCenter/PCEditorView.m +++ b/Modules/Editors/ProjectCenter/PCEditorView.m @@ -4,7 +4,7 @@ Implementation of the PCEditorView class for the ProjectManager application. - Copyright (C) 2005-2014 Free Software Foundation + Copyright (C) 2005-2016 Free Software Foundation Saso Kiselkov Serg Stoyan Riccardo Mottola @@ -429,12 +429,12 @@ static int ComputeIndentingOffset(NSString * string, unsigned int start) [super dealloc]; } -- (void)setEditor:(PCEditor *)anEditor +- (void)setEditor:(NSObject *)anEditor { - editor = anEditor; + editor = (PCEditor *)anEditor; } -- (PCEditor *)editor +- (NSObject *)editor { return editor; }