Пример #1
0
        internal static bool CheckLineNumbersForTextLenght(Form1 form, String text, bool suppressMessage = false)
        {
            if (ConfigUtil.GetBoolParameter("LineNumbersVisible") && StringUtil.AreLinesTooMuchForPasteWithRowLines(text))
            {
                CheckLineNumbers(form, false, true);
                if (!suppressMessage)
                {
                    ShowInfoBox(form, LanguageUtil.GetCurrentLanguageString("LineNumbersDisabled", className), true);
                }
                return(true);
            }

            return(false);
        }