5 // Copyright (c) 2005 A. Karl Keller (http://karlk.net)
7 // This code is open-source, free software, made available without warranty under
8 // the terms of the GNU General Public License, either version 2 or later (see
9 // http://www.gnu.org/licenses/gpl.html or included copy); as such, it may be
10 // redistributed and/or modified in accordance with that document.
14 #import <Cocoa/Cocoa.h>
17 @interface RTKTigerTextView
: NSTextView
19 IBOutlet NSWindow
* window
;
20 IBOutlet NSTextView
* nextTextView
;
22 NSMutableString
* originalString
;
24 NSDictionary
* characterSwaps
;
26 BOOL limitEditingToSpecifiedRange
;
27 NSRange allowedEditingRange
;
31 - (void)insertText
:(id
)aString
;
32 - (void)setCharacterSwaps
:(NSDictionary
*)theCharacterSwaps
;
33 - (void)setOriginalString
:(NSMutableString
*)theOriginalString
;
35 - (void)setAllowEditing
:(BOOL
)allow
;
36 - (void)setAllowedEditingRange
:(NSRange
)range
;