Skip to content

Commit 3689888

Browse files
author
dzenbot
committed
Makes 'foundPrefixRange' property public
1 parent 02eb6bd commit 3689888

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Source/Classes/SLKTextViewController.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@
216216
/** The recently found prefix symbol used as prefix for autocompletion mode. */
217217
@property (nonatomic, readonly) NSString *foundPrefix;
218218

219+
/** The range of the found prefix in the text view content. */
220+
@property (nonatomic, readonly) NSRange foundPrefixRange;
221+
219222
/** The recently found word at the textView caret position. */
220223
@property (nonatomic, readonly) NSString *foundWord;
221224

Source/Classes/SLKTextViewController.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ @interface SLKTextViewController () <UIGestureRecognizerDelegate, UIAlertViewDel
3737
// YES if the user is moving the keyboard with a gesture
3838
@property (nonatomic, readonly, getter = isMovingKeyboard) BOOL movingKeyboard;
3939

40-
// Used for Auto-Completion
41-
@property (nonatomic, readonly) NSRange foundPrefixRange;
42-
4340
// The current QuicktypeBar mode (hidden, collapsed or expanded)
4441
@property (nonatomic) SLKQuicktypeBarMode quicktypeBarMode;
4542

0 commit comments

Comments
 (0)