diff options
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r-- | Source/CMTextView.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 7787f41e..fe1af726 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -1183,7 +1183,9 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse) currentSnippetIndex--; if(currentSnippetIndex < 0) { - currentSnippetIndex++; + currentSnippetIndex = 0; + while(snippetControlArray[currentSnippetIndex][0] == -1 && currentSnippetIndex < 20) + currentSnippetIndex++; NSBeep(); } |