diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-11-21 19:42:42 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-11-21 19:42:42 +0000 |
commit | 79bf97de1dc30afb75a07958ff99b6f95473383e (patch) | |
tree | f789a43c40c6ff3f4c7868ba0115fc90926f8aea /Source/SPBundleEditorController.m | |
parent | ecba7ac8da8f0f2728bf23815e9103b42ec81729 (diff) | |
download | sequelpro-79bf97de1dc30afb75a07958ff99b6f95473383e.tar.gz sequelpro-79bf97de1dc30afb75a07958ff99b6f95473383e.tar.bz2 sequelpro-79bf97de1dc30afb75a07958ff99b6f95473383e.zip |
• added line numbering and current line highlighting to Bundle Editor's command text view
• made each Bundle in/ouptut file name unique to allow to run different Bundle commands at the same time
• fixed minor issues for Bundle Editor
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r-- | Source/SPBundleEditorController.m | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index 829cff3e..8587082b 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -205,11 +205,6 @@ [keyEquivalentField setCanCaptureGlobalHotKeys:YES]; - if([[NSUserDefaults standardUserDefaults] dataForKey:@"BundleEditorFont"]) { - NSFont *nf = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:@"BundleEditorFont"]]; - [commandTextView setFont:nf]; - } - } #pragma mark - @@ -982,6 +977,14 @@ #pragma mark NSTextView delegates /** + * Update command text view for highlighting the current edited line + */ +- (void)textViewDidChangeSelection:(NSNotification *)aNotification +{ + [commandTextView setNeedsDisplay:YES]; +} + +/** * Traps any editing in editTextView to allow undo grouping only if the text buffer was really changed. * Inform the run loop delayed for larger undo groups. */ |