apps-projectcenter/Modules/Editors/ProjectCenter/LineJumper.h

22 lines
444 B
C
Raw Permalink Normal View History

#import <Foundation/NSObject.h>
#import <Protocols/CodeEditorView.h>
@interface LineJumper : NSObject
{
IBOutlet NSTextField *lineField;
IBOutlet NSButton *goToButton;
}
+ (id)sharedInstance;
- (NSPanel *)linePanel;
/* Gets the first responder and returns it if it's an NSTextView */
- (NSTextView<CodeEditorView> *)editorViewToUse;
/* panel UI methods */
- (void)orderFrontLinePanel:(id)sender;
- (IBAction)goToLine:(id)sender;
@end