git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

HexFiend/HFTextRepresenter_Internal.h

      1 #import <HexFiend/HFTextRepresenter.h>
      2 
      3 @interface HFTextRepresenter (HFInternal)
      4 
      5 - (NSArray *)displayedSelectedContentsRanges; //returns an array of NSValues representing the selected ranges (as NSRanges) clipped to the displayed range.
      6 
      7 - (NSDictionary *)displayedBookmarkLocations; //returns an dictionary mapping bookmark names to bookmark locations. Bookmark locations may be negative.
      8 
      9 - (void)beginSelectionWithEvent:(NSEvent *)event forCharacterIndex:(NSUInteger)characterIndex;
     10 - (void)continueSelectionWithEvent:(NSEvent *)event forCharacterIndex:(NSUInteger)characterIndex;
     11 - (void)endSelectionWithEvent:(NSEvent *)event forCharacterIndex:(NSUInteger)characterIndex;
     12 
     13 // Copy/Paste methods
     14 - (void)copySelectedBytesToPasteboard:(NSPasteboard *)pb;
     15 - (void)cutSelectedBytesToPasteboard:(NSPasteboard *)pb;
     16 - (BOOL)canPasteFromPasteboard:(NSPasteboard *)pb;
     17 - (BOOL)canCut;
     18 - (BOOL)pasteBytesFromPasteboard:(NSPasteboard *)pb;
     19 
     20 // Must be implemented by subclasses
     21 - (void)insertText:(NSString *)text;
     22 
     23 // Must be implemented by subclasses.  Return NSData representing the string value.
     24 - (NSData *)dataFromPasteboardString:(NSString *)string;
     25 
     26 // Value between [0, 1]
     27 - (double)selectionPulseAmount;
     28 
     29 - (void)scrollWheel:(NSEvent *)event;
     30 
     31 - (void)selectAll:(id)sender;
     32 
     33 @end

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.