From 9d186d35c19ab8eff4e2bc69c929dda2819ab0c5 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 20 May 2009 08:01:34 +0000 Subject: =?UTF-8?q?=E2=80=A2=20improved=20completion=20suggestion=20for=20?= =?UTF-8?q?variable=20name;=20added=20delimiter=20=E2=80=9C@=E2=80=9D=20fo?= =?UTF-8?q?r=20word=20detection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMTextView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 366adf16..ad66a874 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -695,7 +695,7 @@ YY_BUFFER_STATE yy_scan_string (const char *); // Only parse for words if text size is less than 6MB if([[self string] length]<6000000) { - NSCharacterSet *separators = [NSCharacterSet characterSetWithCharactersInString:@" \t\r\n,()\"'`-!;=+|?:~"]; + NSCharacterSet *separators = [NSCharacterSet characterSetWithCharactersInString:@" \t\r\n,()\"'`-!;=+|?:~@"]; NSArray *textViewWords = [[self string] componentsSeparatedByCharactersInSet:separators]; [possibleCompletions addObjectsFromArray:textViewWords]; } -- cgit v1.2.3