getJadeTextEditOneSetting

getJadeTextEditOneSetting(key: String): String;

The getJadeTextEditOneSetting method of the Application class returns a string containing the JadeTextEdit class setting specified in the key parameter. This method searches the AppSettings table before it searches the GlobalSettings table. Text substitution (that is, $(xxx) replacement) is performed on the value text but it is not performed on the key text.

The following example shows the use of the getJadeTextEditOneSetting method to retrieve the C++ keywords.

vars
    str : String;
begin
    str := jte.getJadeTextEditOneSetting("keywords.$(file.patterns.cpp)");
    write str;
// Do some more processing here...
end;

See also the Application class getJadeTextEditGlobalSettings and updateJadeTextEditAppSettings methods and the JadeTextEdit class applySettings and updateAppSettings methods.