ACPAddIn.ExtensionMode.extendParagraph C# (CSharp) Method

extendParagraph() private method

private extendParagraph ( ) : void
return void
        private void extendParagraph()
        {
            extensionType = Suggestion.PARAGRAPH;
            isCompletingLastSentenceOfPara = false; // reset to false everytime when extending a paragraph

            // if it is extending words and extensionWordPos is not at the last word of the sentence
            if (extensionWordPos != -1 && extensionWordPos != currentExtensionPosWordList.Count-1)
            {
                displayExtension(null, false); // finish extending the current sentence
            }

            retrieveExtendSuggestion();
        }