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... » Spell checking on linux
Re: Spell checking on linux [message #26339 is a reply to message #26322] Mon, 26 April 2010 10:41 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
dolik.rce wrote on Sat, 24 April 2010 15:00


[*] Make the files work corectly on Linux - i.e. either convert the basename to uppercase OR change the code in sGetSpeller() to
...
pp << spell_path << ';' << getenv("LIB") << ';' << getenv("PATH") << ';';
String path = GetFileOnPath(ToLower(LNGAsText(lang)) + ".udc", pp);
if(IsNull(path))
	path = GetFileOnPath(ToLower(LNGAsText(lang)) + ".scd", pp);
if(IsNull(path))
	return false;
FileIn in(path);
...




Fix applied.

I believe en-us dictionary should be part of .deb.

I believe it all should be documented, including dictionary creation process.

Also, note that that there is SpellerDictionaries folder on sf.net. Maybe somebody should work on getting more .scd files there Smile

All you need is a plain text list of all correct words for language, then use uppbox/MakeSpellScd to create .scd file.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to define the width of a table?
Next Topic: Using QTF the easiest way (specially for Newbies)
Goto Forum:
  


Current Time: Mon Jun 10 10:38:26 CEST 2024

Total time taken to generate the page: 0.01863 seconds