aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CMTextView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index 7fb6ceee..51b2f580 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -508,7 +508,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
BOOL caretMovedLeft = NO;
// Check if caret is located after a ` - if so move caret inside
- if([[self string] length] && caretPos > 0 && [[self string] characterAtIndex:caretPos-1] == '`') {
+ if(!autoCompleteMode && [[self string] length] && caretPos > 0 && [[self string] characterAtIndex:caretPos-1] == '`') {
if([[self string] length] > caretPos && [[self string] characterAtIndex:caretPos] == '`') {
;
} else {