autocomplete.XYZ.ignorecase=1 ignored

Jos <[email protected]> Tue, 14 Mar 2023 13:02:52 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
I think we lost the functionality of setting the 
autocomplete.XYZ.ignorecase for a specific language in the latest 
version(s). The code in SciTEProps.cxx  was changed to:




*sval = props.GetNewExpandString("autocomplete.*.ignorecase"); 
autoCompleteIgnoreCase = sval == "1"; sval = 
props.GetNewExpandString(Join("autocomplete.", "*", ".ignorecase")); if 
(sval != "") autoCompleteIgnoreCase = sval == "1";*
Which use to be:






* sprintf(key, "autocomplete.%s.ignorecase", "*"); sval = 
props.GetNewExpandString(key); autoCompleteIgnoreCase = sval == "1"; 
sprintf(key, "autocomplete.%s.ignorecase", language.c_str()); sval = 
props.GetNewExpandString(key); if (sval != "") autoCompleteIgnoreCase = 
sval == "1";*
As you can se we lost the link to the current language.
Shouldn't this code do do it like done with callTipIgnoreCase?:


*sval = FindLanguageProperty("autocomplete.*.ignorecase"); 
autoCompleteIgnoreCase = sval == "1";*

Cheers,
Jos

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/0adb0664-6250-4585-a011-b50e4d6ef983n%40googlegroups.com.