File: DocumentWindowController.h

package info (click to toggle)
textedit.app 5.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,308 kB
  • sloc: objc: 2,863; makefile: 14
file content (25 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#import <Cocoa/Cocoa.h>
#import "ScalingScrollView.h"

@interface DocumentWindowController : NSWindowController { // <NSLayoutManagerDelegate, NSTextViewDelegate> {
    IBOutlet ScalingScrollView *scrollView;
    NSLayoutManager *layoutMgr;
    BOOL hasMultiplePages;
    BOOL rulerIsBeingDisplayed;
    BOOL isSettingSize;
}

// Convenience initializer. Loads the correct nib automatically.
- (id)init;

- (NSUInteger)numberOfPages;

- (void)doForegroundLayoutToCharacterIndex:(NSUInteger)loc;

- (NSView *)documentView;

- (void)breakUndoCoalescing;

- (IBAction)chooseAndAttachFiles:(id)sender;

@end