Revision: 8277
http://supercollider.svn.sourceforge.net/supercollider/?rev=8277&view=rev
Author: mullmusik
Date: 2008-12-24 20:17:24 +0000 (Wed, 24 Dec 2008)
Log Message:
-----------
Support Cmd-J, Cmd-Y and Cmd-shift-Y in SCTextView
Modified Paths:
--------------
trunk/Headers/app/SCTextView.h
trunk/Source/app/SCTextView.M
Modified: trunk/Headers/app/SCTextView.h
===================================================================
--- trunk/Headers/app/SCTextView.h 2008-12-24 19:08:08 UTC (rev 8276)
+++ trunk/Headers/app/SCTextView.h 2008-12-24 20:17:24 UTC (rev 8277)
@@ -38,4 +38,8 @@
- (void) setLangClassToCall: (NSString*) stringin
withKeyDownActionIndex:(int) downIndex withKeyUpActionIndex:(int)
upIndex ;
- (void) setObjectKeyDownActionIndex:(int) mindex
setObjectKeyUpActionIndex:(int) downIndex;
- (void)setDefaultTabsTo:(float)value;
+- (IBAction)openCode:(id)sender;
+
+- (IBAction)methodTemplates: (id)sender;
+- (IBAction)methodReferences: (id)sender;
@end
Modified: trunk/Source/app/SCTextView.M
===================================================================
--- trunk/Source/app/SCTextView.M 2008-12-24 19:08:08 UTC (rev 8276)
+++ trunk/Source/app/SCTextView.M 2008-12-24 20:17:24 UTC (rev 8277)
@@ -385,5 +385,21 @@
return [super performDragOperation:sender];
}
+
+- (IBAction)openCode:(id)sender
+{
+ [[self delegate] sendSelection: "openCodeFile"];
+}
+
+- (IBAction)methodTemplates: (id)sender
+{
+ [[self delegate] sendSelection: "methodTemplates"];
+}
+
+- (IBAction)methodReferences: (id)sender
+{
+ [[self delegate] sendSelection: "methodReferences"];
+}
+
@end
This was sent by the SourceForge.net collaborative development
platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/