getNamedAttribute
getNamedAttribute(attName: String): Any;
The getNamedAttribute method of the JadeTextEdit class returns the value of the named attribute specified in the attName parameter. (For details about setting named attributes and those implemented by the JadeTextEdit control, see the setNamedAttribute method.)
The method in the following example shows the use of the getNamedAttribute method.
mnuEditSetIndentwrds_click(menuItem: MenuItem input) updating; vars val : String; begin val := jteSource.getNamedAttribute("smart.indent.words").String; if self.askForStringSetting(self.caption, "Smart Indent Words", val) then jteSource.setNamedAttribute("smart.indent.words", val); endif; end;