Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Speller routine
Speller routine [message #56003] Mon, 11 January 2021 15:10 Go to next message
BetoValle is currently offline  BetoValle
Messages: 74
Registered: September 2020
Location: Brasil Valinhos SP
Member
when the user activates spellcheck in the RichEdit editor, depending on the configured language, the system searches for the .udc file.
The point is that here in my country, from time to time, the dictionary grows.
In this way it is necessary (in my case) that the user can have access (in a friendly way) to the words in this dictionary.
(in my delphi applications I used it in the component editor trichedit / www.trichview.com / to update the custom dictionary that was loaded from an editable database).
(a) Is there a structure defined in U ++ / RichEdit allowing the dictionary to be editable?
(b) What is the internal structure of a .udc file (probably compressed)? (I think this would be the easiest way to adapt).

Thanks!
Re: Speller routine [message #56008 is a reply to message #56003] Tue, 12 January 2021 20:27 Go to previous messageGo to next message
BetoValle is currently offline  BetoValle
Messages: 74
Registered: September 2020
Location: Brasil Valinhos SP
Member

Could someone give me a light? thanks
Re: Speller routine [message #56011 is a reply to message #56008] Wed, 13 January 2021 14:14 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 74
Registered: September 2020
Location: Brasil Valinhos SP
Member
There is a situation to expand the dictionary, which is to create a file similar to that of spell (.udc), but with the extension ".usp" saved inside the application folder, where new words are added (edit a text file where each new word is on a line). After this addition, the user will have to close the application to reestablish this update.
Couldn't a routine be created in this situation to read the '.usp' file again as a "SpellerRefresh"? So it would not be necessary to close and load the program again (I don't know how to do this, because the structure is complex ... Maybe someone from there with good will can do it).
Well as I understand it, there is a lack of a routine to remove from the '.udc' file, the words that are eventually discarded by an orthographic reform (this exists!)
Previous Topic: Report Perform() and printing
Goto Forum:
  


Current Time: Tue Jan 19 10:42:58 CET 2021

Total time taken to generate the page: 0.01488 seconds