Comply to protocol

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39797 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2016-05-22 19:39:04 +00:00
parent f06ea6a5b6
commit 2dff311c2a
3 changed files with 12 additions and 6 deletions
ChangeLog
Modules/Editors/ProjectCenter

View file

@ -1,3 +1,9 @@
2016-05-22 Riccardo Mottola <rm@gnu.org>
* Modules/Editors/ProjectCenter/PCEditorView.h
* Modules/Editors/ProjectCenter/PCEditorView.m
Comply to protocol.
2016-05-15 Riccardo Mottola <rm@gnu.org>
* Modules/Debuggers/ProjectCenter/PCDebugger.m

View file

@ -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 <CodeEditor> *)anEditor;
- (void)createSyntaxHighlighterForFileType:(NSString *)fileType;

View file

@ -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 <CodeEditor> *)anEditor
{
editor = anEditor;
editor = (PCEditor *)anEditor;
}
- (PCEditor *)editor
- (NSObject <CodeEditor> *)editor
{
return editor;
}