Home » U++ Library support » RichText,QTF,RTF... » Spelling Dictionary?
Re: Spelling Dictionary? [message #21874 is a reply to message #21871] |
Mon, 08 June 2009 23:04 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
jeremy_c wrote on Mon, 08 June 2009 13:50 | I'm not sure what you mean by calling SetQtf("
|
OK. Typical situation, you have DB app that processes some texts. In the process, there has to be some phase that some text is NEW. Perhaps you will have some dialog/window that will implement inserting new text. This way, you can tell that the language of first empty paragraph of text is en-us. Anything else you will write there will be en-us, until you will change it using language control in the toolbar.
That way, unless you change the language deliberately, all your text will inherit en-us.
Quote: |
And isn't that a incomplete Qtf call?
|
QTF officially tolerates missing ']'
Quote: |
Also, what about the data that already exists in the editor or a language setting that may be present in the doc?
|
Well, that might be a sort of trouble. I would recommend "repair procedure" to the database if it is already in use and important. OTOH, if you are fixed in en-us, maybe ugly patch adding "[%en-us " before any stored text would do too...
Mirek
[Updated on: Mon, 08 June 2009 23:04] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 19 17:58:12 CEST 2024
Total time taken to generate the page: 0.00854 seconds
|