| 1 |
|
|---|
| 2 |
@interface JVMarkedScroller : NSScroller { |
|---|
| 3 |
NSMutableSet *_marks; |
|---|
| 4 |
NSMutableArray *_shades; |
|---|
| 5 |
unsigned long long _nearestPreviousMark; |
|---|
| 6 |
unsigned long long _nearestNextMark; |
|---|
| 7 |
unsigned long long _currentMark; |
|---|
| 8 |
BOOL _jumpingToMark; |
|---|
| 9 |
} |
|---|
| 10 |
- (void) setLocationOfCurrentMark:(unsigned long long) location; |
|---|
| 11 |
- (unsigned long long) locationOfCurrentMark; |
|---|
| 12 |
|
|---|
| 13 |
- (IBAction) jumpToPreviousMark:(id) sender; |
|---|
| 14 |
- (IBAction) jumpToNextMark:(id) sender; |
|---|
| 15 |
- (void) jumpToMarkWithIdentifier:(NSString *) identifier; |
|---|
| 16 |
|
|---|
| 17 |
- (void) shiftMarksAndShadedAreasBy:(long long) displacement; |
|---|
| 18 |
|
|---|
| 19 |
- (void) addMarkAt:(unsigned long long) location; |
|---|
| 20 |
- (void) addMarkAt:(unsigned long long) location withIdentifier:(NSString *) identifier; |
|---|
| 21 |
- (void) addMarkAt:(unsigned long long) location withColor:(NSColor *) color; |
|---|
| 22 |
- (void) addMarkAt:(unsigned long long) location withIdentifier:(NSString *) identifier withColor:(NSColor *) color; |
|---|
| 23 |
|
|---|
| 24 |
- (void) removeMarkAt:(unsigned long long) location; |
|---|
| 25 |
- (void) removeMarkAt:(unsigned long long) location withIdentifier:(NSString *) identifier; |
|---|
| 26 |
- (void) removeMarkAt:(unsigned long long) location withColor:(NSColor *) color; |
|---|
| 27 |
- (void) removeMarkAt:(unsigned long long) location withIdentifier:(NSString *) identifier withColor:(NSColor *) color; |
|---|
| 28 |
- (void) removeMarkWithIdentifier:(NSString *) identifier; |
|---|
| 29 |
- (void) removeMarksGreaterThan:(unsigned long long) location; |
|---|
| 30 |
- (void) removeMarksLessThan:(unsigned long long) location; |
|---|
| 31 |
- (void) removeMarksInRange:(NSRange) range; |
|---|
| 32 |
- (void) removeAllMarks; |
|---|
| 33 |
|
|---|
| 34 |
- (void) setMarks:(NSSet *) marks; |
|---|
| 35 |
- (NSSet *) marks; |
|---|
| 36 |
|
|---|
| 37 |
- (void) startShadedAreaAt:(unsigned long long) location; |
|---|
| 38 |
- (void) stopShadedAreaAt:(unsigned long long) location; |
|---|
| 39 |
|
|---|
| 40 |
- (void) removeAllShadedAreas; |
|---|
| 41 |
|
|---|
| 42 |
- (unsigned long long) contentViewLength; |
|---|
| 43 |
- (float) scaleToContentView; |
|---|
| 44 |
- (float) shiftAmountToCenterAlign; |
|---|
| 45 |
@end |
|---|