Giter VIP home page Giter VIP logo

Comments (20)

Predelnik avatar Predelnik commented on August 16, 2024

If you want to spell-check such words you should turn off check box "That Start or End with ' " in group box "Ignore Words". Actually I should have made it turned off by default long ago (since using Aspell was the only way to use plugin), but I forgot :)

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

Is this case you will be unable to find stuff like 'adfsdfgdfsdfgd (Firefox highlight this word correctly right now).
And don't highlight any of this: it's ladies' don't can't
Seems like a very strange workaround.

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

It was not workaround, this check box was added solely because Aspell treated every single word which has apostrophe at the start or in the end, as one spelled incorrectly, plus trying to add it to dictionary or ignore it had no effect at all. For Hunspell this check box better stay off (it was mistake on my side).

If you're asking about plural word forms, ending with apostrophe to be treated as correctly spelled, without adding them (with apostrophe) to user dictionary, well that is reasonable and could be done. I consider adding it in the future version. Though I guess there is pretty limited number of words starting with apostrophe, so I believe they should be added manually if needed.

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

In new version I've made option to ignore apostrophe in the end of words (turned on by default). I hope it will be sufficient. You could check out it here:
http://goo.gl/JU7kL
Browsers behave almost the same way expect what they do the same stuff also for the apostrophe at the beginning, it doesn't seem very logical to me, though maybe I'm missing something.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

This version crash NPP on exit. "UserDict" is being deleted on exit.

I also found logical bug in "Ignore words" option.
If words starts with a quotation (like "Hello, world", then it will be ignored if "Having not first capital letter" is turned on).

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

It crashes every time?
Can you tell me what your DSpellCheck.ini in %appdata%\Notepad++\plugins\config\ contains?

If " is not a delimiter then it would be the case and it would be right, cause " is part of the word then.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

Hmm... It crashed two times, but now it don't crash any more.
I'm using portable install of NPP. Here is the config:

[SpellCheck]
Autocheck=1
Hunspell_Path=.\plugins\Config\Hunspell
Hunspell_Language=en_GB

UserDic.dic is definitely being deleted at exit.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

Well, NPP still crashed from time to time, but I can't say when it
definitely happens.

On 19 June 2013 15:15, Sergey Semushin [email protected] wrote:

It crashes every time?
Can you tell me what your DSpellCheck.ini in
%appdata%\Notepad++\plugins\config\ contains?

If " is not a delimiter then it would be the case and it would be right,
cause " is part of the word then.


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-19677413
.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

It seems that my problems are in Protable mode in NPP — it always uses %APPDATA% folder, even when doLocalConf.xml is present.

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

I can't really reproduce the crash, that sucks :(
Could you check out this version (though probably it will not solve it):
http://goo.gl/OYqRO

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

Btw UserDic.dic shouldn't be used anymore actually but it should be preserved, I hopefully fixed it for portable version in the last link.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

It seems that NPP has a huge bug with portable installation (I've just created a ticket on sourceforge).
I'll run non-portable version now and I'll look at crashes.

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

Well that's pretty strange but if I deploy portable version inside the path where for writing I need admin access (though maybe it's not only defining feature of the folder I'm using), it will be reading plugin settings from %appdata%.

Anyway that crash is really bothering me))

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

I think that the same option should ignore 's ending (like it's).

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

Well I checked that most of the words like this are already in the dictionary so I think it's not needed and also it may interfere with other languages, it's hard for me to check if dictionary is for English or not.

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

Ok, but for now I'm sure that proper spell checking will require language specific tweaks in any case.
Be ready for it :)

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

Well I thought it's a concern of dictionary creators for the most part, but who knows :) After all if someone from Finland would like to use spell-checking in Notepad++ too, I would have to support one more spell-checking library especially for them))

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

I actually figured out why ignoring ' in the beginning also have a sense. When it's used as a quotation mark not as apostrophe, there are some usage examples: http://www.scribendi.com/advice/when_to_use_double_or_single_quotation_marks.en.html
there is no space between the opening quotation mark and first word in them, so it would be spell-checked incorrectly. I guess I'll add it in the next version then)

from dspellcheck.

georgthegreat avatar georgthegreat commented on August 16, 2024

So, if you aren't going to add 's to the same option, I consider this issue closed.

Close it, if you really aren't.

from dspellcheck.

Predelnik avatar Predelnik commented on August 16, 2024

Ok, I think I am not, at least for now)

from dspellcheck.

Related Issues (20)

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.