Skip to content
Newer
Older
100644 19 lines (12 sloc) 463 Bytes
17ba082 Moving selection methods into the new NSTextView+EditSelectionWithUnd…
Jan Weiß authored Sep 4, 2012
1 //
2 // NSTextView+EditSelectionWithUndo.h
3 // MarkdownLive
4 //
5 // Created by Jan Weiß on 31.08.12. Some rights reserved: <http://opensource.org/licenses/mit-license.php>
6 //
7
8 // Based on DrewThaler’s post at http://www.cocoadev.com/index.pl?UndoSupportForNSTextStorage
9
10 #import <Foundation/Foundation.h>
11
12
13 @interface NSTextView (EditSelectionWithUndo)
14
15 - (void)setSelectedRangeWithUndo:(NSRange)range;
16 - (void)setSelectedRangesWithUndo:(NSArray *)ranges;
17
18 @end
Something went wrong with that request. Please try again.