The Formatted Text Control offers besides the
DefaultTabstop value within the FormattedText class also the possibility to add user-defined tabstops with a different width than the DefaultTabstop value to paragraphs. Use the
FTParagraph.addTabStop method. This also works perfectly. However, not only the user-defined values are written to the XML file when saving, but also automatically generated values whose "default" property is set to "true".
This can be quickly remedied. Just put the lines 44/45 in
// Encode the tab stopsa.Append(str(tabStops(i).getTabType) + _TABSTOP_SEPARATOR + str(tabStops(i).getTabStop))
If Not tabStops(i).default Then// Encode the tab stopsa.Append(str(tabStops(i).getTabType) + _TABSTOP_SEPARATOR + str(tabStops(i).getTabStop))End If
replace. This really only writes the user-defined tabstops to the file and reloads them. It also reduces the size of the XML file.
Just write me a private message at the Xojo Forum (https://forum.xojo.com/member/227571) with your valid e-Mail Address. I’ll sent you the invoice about 35 € and after purchasing via PayPal you’ll get the unencrypted source code.
Each single user (computer) needs a separate license. It is not allowed to use the addon on different workstations (computers).