From 3689888c0f5aa4ea30ff7ec8da9659670afc5c9f Mon Sep 17 00:00:00 2001 From: dzenbot Date: Mon, 29 Sep 2014 14:33:23 -0300 Subject: [PATCH] Makes 'foundPrefixRange' property public --- Source/Classes/SLKTextViewController.h | 3 +++ Source/Classes/SLKTextViewController.m | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Classes/SLKTextViewController.h b/Source/Classes/SLKTextViewController.h index 475f2743..8d0b5ec7 100644 --- a/Source/Classes/SLKTextViewController.h +++ b/Source/Classes/SLKTextViewController.h @@ -216,6 +216,9 @@ /** The recently found prefix symbol used as prefix for autocompletion mode. */ @property (nonatomic, readonly) NSString *foundPrefix; +/** The range of the found prefix in the text view content. */ +@property (nonatomic, readonly) NSRange foundPrefixRange; + /** The recently found word at the textView caret position. */ @property (nonatomic, readonly) NSString *foundWord; diff --git a/Source/Classes/SLKTextViewController.m b/Source/Classes/SLKTextViewController.m index 8ad9e34a..0c566643 100644 --- a/Source/Classes/SLKTextViewController.m +++ b/Source/Classes/SLKTextViewController.m @@ -37,9 +37,6 @@ @interface SLKTextViewController ()