olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.78k stars 236 forks source link

Feature Request: custom spellcheck dictionary included in the file #798

Open qantravon opened 4 years ago

qantravon commented 4 years ago

I'm working on a file across two computers, synced with Google Drive. After adding words to my custom dictionary on one computer, they then show up as incorrect again on the other. Would it be possible to have a custom dictionary associated with each file? This could be a way to help make 755: Automatically add character names to spellcheck dictionary work.

obw commented 4 years ago

If you mean each Project, because I do not use the single file option. I use SVN for versioning of my Stories.

This is something, which didn't knew I'm missing;)

dmjohnsson23 commented 3 years ago

Having just spent some time working with the spellchecking module (working on the aforementioned #755), it appears based on the source code that this should be pretty doable. And also a good idea, since it would make sense for one novel to have a different set of custom names than another. I think all that would need done is to overwrite BasicDictionary.getCustomDictionaryPath() to point to the project folder. I will experiment with this while I work on #775.