Improve errors reporting

Errors are now displayed in a data view showing:
 - the file
 - the error message
 - A button that allows you to open the errored file in the default system editor
This commit is contained in:
Antoine Mercadal committed 2013-01-24 23:41:25 -08:00
1 parent b44a3c191d
commit 628a4db746
8 files changed
+414 -88

No files matched your search

+3 -1
View File
@@ -20,6 +20,7 @@
#import <CoreServices/CoreServices.h>
#import "PRHEmptyGrowlDelegate.h"
#import "TNXCodeCapp.h"
#import "TNErrorDataView.h"
@interface AppController : NSObject <NSMenuDelegate, NSTableViewDataSource, NSTableViewDelegate>
{
@@ -38,12 +39,14 @@
IBOutlet TNXCodeCapp *xcc;
IBOutlet NSWindow *windowDebug;
IBOutlet NSMenuItem *menuDebug;
IBOutlet TNErrorDataView *dataViewError;
NSImage *_iconActive;
NSImage *_iconInactive;
NSImage *_iconWorking;
NSStatusItem *_statusItem;
PRHEmptyGrowlDelegate *growlDelegateRef;
NSData *_archivedDataView;
}
@property BOOL supportsFileModeListening;
@@ -53,7 +56,6 @@
- (BOOL)validateMenuItem:(NSMenuItem*)menuItem;
- (void)registerDefaults;
- (void)updateErrorTable;
- (void)growlWithTitle:(NSString *)aTitle message:(NSString *)aMessage;
- (void)openCenteredWindow:(NSWindow *)aWindow;