Skip to content

Commit

Permalink
Bug fixes, added URL detection
Browse files Browse the repository at this point in the history
  • Loading branch information
devindoty committed May 23, 2011
1 parent af59493 commit 742361a
Show file tree
Hide file tree
Showing 10 changed files with 11,287 additions and 8,992 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,6 @@
<Bucket
type = "1"
version = "1.0">
<FileBreakpoints>
<FileBreakpoint
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
isPathRelative = "1"
filePath = "EGOTextView_Demo/EGOTextView/EGOTextView.m"
timestampString = "326243466.109062"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "631"
endingLineNumber = "631"
landmarkName = "-characterRangeAtIndex:"
landmarkType = "5">
</FileBreakpoint>
</FileBreakpoints>
<SymbolicBreakpoints>
<SymbolicBreakpoint
shouldBeEnabled = "Yes"
Expand Down
5 changes: 5 additions & 0 deletions EGOTextView_Demo/EGOTextView/EGOTextView.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>
#include <objc/runtime.h>

@class EGOTextView;
@protocol EGOTextViewDelegate <NSObject, UIScrollViewDelegate>
Expand All @@ -39,6 +40,8 @@

- (void)egoTextViewDidChangeSelection:(EGOTextView *)textView;

- (void)egoTextView:(EGOTextView*)textView didSelectURL:(NSURL*)URL;

@end

@class EGOCaretView, EGOContentView, EGOTextWindow, EGOMagnifyView, EGOSelectionView;
Expand All @@ -49,10 +52,12 @@
BOOL _editing;
BOOL _editable;
BOOL _spellCheck;
BOOL _dataDetectors;

NSRange _markedRange;
NSRange _selectedRange;
NSRange _correctionRange;
NSRange _linkRange;

CTFramesetterRef _framesetter;
CTFrameRef _frame;
Expand Down
Loading

0 comments on commit 742361a

Please sign in to comment.