/****************************************************************************
        *    <placeholder for header>                                              *
        ****************************************************************************/
        public CheckinMessageBuilder(EditSummaryStyle anEditSummaryStyle)
        {
            mWordList  = new List <correctedWord>();
            mScratchSB = new StringBuilder(200);

            mEditSummaryStyle = anEditSummaryStyle;
        }
        }     //formatLookupList()

        /****************************************************************************
        *    <placeholder for header>                                              *
        ****************************************************************************/
        private static void formatLookupListWithCurrentStyle(
            List <correctedWord> aWordList, StringBuilder aScratchSB,
            EditSummaryStyle aEditSummaryStyle)
        {
            EditSummaryEnum currentEditStyle = aEditSummaryStyle.getCurrentStyle();

            switch (currentEditStyle)
            {
            case EditSummaryEnum.standard:
                formatLookupList(
                    aWordList,
                    "Copy edited (e.g. ref. ", "). ", true, true,
                    aScratchSB);
                break;

            case EditSummaryEnum.Stack_Overflow:
                formatLookupList(
                    aWordList,
                    "Active reading [", "].", false, true,
                    aScratchSB);
                break;

            case EditSummaryEnum.oldStyle:

                //Alternative: append directly to mScratchSB,
                //             and use an empty prefix for
                //             formatLookupList()
                string prefix = "Added link";
                int    len    = aWordList.Count;
                if (len > 1)
                {
                    prefix += "s";
                }
                prefix += " to ";

                formatLookupList(
                    aWordList,
                    prefix, " [Wikipedia]. ", true, false,
                    aScratchSB);
                break;

            default:
                Trace.Assert(false, "Switch fall-through...");
                break;
            }
        } //formatLookupListWithCurrentStyle()