Revision: 2885
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2885&view=rev
Author:   hofman
Date:     2007-09-10 16:14:56 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
Reimplement delete in outline view in keydown.

Modified Paths:
--------------
    trunk/SKOutlineView.m

Modified: trunk/SKOutlineView.m
===================================================================
--- trunk/SKOutlineView.m       2007-09-10 22:25:35 UTC (rev 2884)
+++ trunk/SKOutlineView.m       2007-09-10 23:14:56 UTC (rev 2885)
@@ -96,6 +96,8 @@
         [self scrollToBeginningOfDocument:nil];
     } else if (eventChar == NSEndFunctionKey && (modifierFlags & 
~NSFunctionKeyMask) == 0) {
         [self scrollToEndOfDocument:nil];
+       } else if ((eventChar == NSDeleteCharacter || eventChar == 
NSDeleteFunctionKey) && modifierFlags == 0 && [self canDelete]) {
+        [self delete:self];
     } else {
         [super keyDown:theEvent];
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to