Code Monkey home page Code Monkey logo

netspell's Issues

Check spelling in game

Hi, I want to use this to check the spelling inside my game, so I don't need the window that pops up. Is there any way to prevent it form appearing?

NOT an issue , but an improvement : load / save user words

it would be nice to give the user the ability to manage the user words by his own.
the following implementation works.
the new code is between >>> and <<<

    public class WordDictionary : System.ComponentModel.Component
    {
        ...

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    public delegate string [] LoadUserWordsDelegate () ;
    public delegate void SaveUserWordsDelegate ( string [] Words ) ;

    public LoadUserWordsDelegate LoadUserWords { set ; get ; }
    public SaveUserWordsDelegate SaveUserWords { set ; get ; }
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

        public WordDictionary()
        {
            InitializeComponent();
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
            LoadUserWords = null ;
            SaveUserWords = null ;
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        }

	    private void LoadUserFile()
	    {
		    // load user words
		    _userWords.Clear();

      // quit if user file is disabled
		    if(!this.EnableUserFile) return;

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if ( LoadUserWords != null )
{
string [] Words = LoadUserWords () ;
foreach ( string Word in Words )
_userWords.Add(Word, Word);
}
else
{
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// original code
}
}

	    private void SaveUserFile()
	    {

		    // quit if user file is disabled
		    if(!this.EnableUserFile) return;

// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
if ( SaveUserWords != null )
{
List < string > Words = new List < string > () ;
foreach (string tempWord in _userWords.Keys)
Words . Add ( tempWord ) ;
SaveUserWords ( Words . ToArray () );
}
else
{
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
// original code
}
}
}

Add pt_PT dictionary

Hi,

I would like to add pt_PT dictionary to your list, to make it available for Family Tree Maker (FTM).

I tried to find an executable for your DictionaryBuild tool, but no luck. Only found a bunch of files that I don´t understand.

Could you please indicate how to proceed to a non-developer?
I could then fork and create a pull request, if it is how it's done...

Here is an OpenOffice dictionary I have on my repository, with the rest of my ongoing work on a translation memory/collection of tools for Portugal.

Best regards,
Pedro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.