ACAT.Lib.Extension.AlphabetScannerCommon.formatWord C# (CSharp) Method

formatWord() private method

Formats the prediction word with the index
private formatWord ( int index, String word ) : String
index int index of the word in the list
word String the word itself
return String
        private String formatWord(int index, String word)
        {
            string text;
            if (EvtFormatPreditionWord != null)
            {
                text = EvtFormatPreditionWord(index, word);
            }
            else
            {
                text = (index % 10) + ": " + word;
            }

            return text;
        }