Author |
Topic  |
|
Phoenix
New Member

8 Posts |
Posted - Mar 20 2013 : 12:03:42 PM
|
Accidently I have told the spell checker to ignore a misspelled word. Now this word is not underlined anymore at other places.
Can I reset the ignored words? Or delete a specific word from the ignore list? |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Mar 20 2013 : 2:35:34 PM
|
If you simply restart the IDE the ignored words are now underlined as spelling errors once more.
If this does not help then you might have added this misspelled word to your custom dictionary, which is stored in the file:
%APPDATA%\\VisualAssist\\Dict\\UserWords.txt
which you can simply edit in a text editor, to remove any unwanted entries. |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Mar 21 2013 : 03:17:22 AM
|
Mmmmh, interesting. Just in case it has something to do with the specific word - it's "Praemie". In the comments I would like it to be spelled "Pr+?mie". Actually this works with other words that contains umlauts, e.g. I right-click "Einschluesse" and can choose to correct it to "Einschl++sse".
Now, %AppData%\\Roaming\\VisualAssist\\Dict contains three files. UserWords.txt, de_DE_frami.dic, and de_DE_frami.aff. I downloaded the two de_DE... files some time ago.
Restarting the IDE doesn't change the behaviour and none of the above files contains "Praemie". But none of the files contain "Einschl++sse" neither! What the dic file does contain though is "Pr+?mie/Nm" and "Einschluss/Tpm".
A wild guess: An umlaut and its vocal+e form is considered equivalent if the umlaut is explicitly written in the .dic file. But if the umlaut is generated from the affix table then it cannot be replaced by the other form. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Mar 22 2013 : 4:55:44 PM
|
Which IDE and version of VA are you using?
Using VS2010 and VA 1929, running under Windows 7 64bit, I have downloaded and installed the de-DE-frami dictionary files from here:
http://wiki.openoffice.org/wiki/Dictionaries#German_.28Germany.2C_....29
and I am using the following test comment block, which notes my results:
// test German word without umlauts is Praemie - underlined // correct form of word is Pr+?mie - no underlining // lets try different spellings, Pr+?miee, Pramie, Premie - all three underlined
I just downloaded the first German dictionary in that block, renamed the .oxt to a .zip file, and extracted the files I wanted. I got a zip file with size 4,606,812 bytes.
Can you please try backing up and then replacing your current German dictionary files with this version, and see if you get the same results I am with this sample comment? |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Mar 25 2013 : 03:17:23 AM
|
VS2012 and VA 1929 here, Windows 7 64 bit.
I downloaded and installed the dictionary files just as you did. Same result. Praemie is not underlined while Pr+?miee, Pramie, Premie are underlined.
Then I started VS2010 (yeah, I have both) and still I got Praemie not underlined.
I even checked UserWords.txt again because I don't trust myself anymore :-). But Praemie is not contained.
Not a big thing, but strange enough. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Mar 25 2013 : 2:44:38 PM
|
Are you trying the same code file in both IDE's? Even if you are using the same comment block, I am wondering if there could be something about the file that makes a difference.
Using Windows 7 64bit and VA 1929 I am seeing the same underlining in both VS2010 and VS2012 with this test comment block and this German dictionary. There is no userwords.txt file on this test machine, so that's not a factor. |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Mar 26 2013 : 03:10:13 AM
|
I put the test comment block in a file and load this file from both 2010 and 2012. Additionally I removed userwords.txt (after creating a back up) from the dict directory. 2012 has the behaviour as described above.
2010 underlines all wrong words including Praemie. I tried right-clicking Premie and clicking "Ignore all occurrences". So the underlining for that word vanished but after a restart it appeared again. Then I made the same test for 2012. Ignoring Premie, restarting, Premie is underlined again.
Now I deleted even the german dictionaries (after backing up) and restarted 2012. As expected Pr+?mie is underlined now. But still Praemie is not underlined. oO
OK, I simply have no clue what this is all about. I have also tried to switch the default system language without any effect. If you have an idea what else I could try, I will do that. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Mar 26 2013 : 10:25:00 PM
|
This is very odd. You don't have any other dictionary files installed do you? Any other languages?
Is the test file you are using on a local drive or some form of network share?
Do you have:
IDE tools menu -> Options -> Environment -> Documents -> Check for consistent line endings on load
turned On or Off? If this is turned Off can you please try turning it on and load this test file in the IDE where you have turned this on. Are you getting any warning about the line endings in the file?
Are you using a localised version of Windows or any of the IDE's? |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Mar 27 2013 : 03:37:28 AM
|
My VisualAssist/dict directory is empty and I don't have any other dictionaries installed or in access via network.
The line endings check is already turned on. Turning it off has no effect and in neither case I get warnings or any other message.
I'm using a german Windows 7 and an English installation of VS2012.
In the task bar there is a language selection (the leftmost icon of the system tray on the right hand). Normally this shows "DE" (german), I can switch to "EN" / "English (USA)". But this doesn't matter, too. (In my last post I referred to that as "default system language". I just wasn't sure if that point was clear.) |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Mar 27 2013 : 2:50:04 PM
|
To be honest I have no idea what is going wrong here.
If you create a new default C++ solution in VS2010 and type a test comment into one of the files, are you still seeing this problem? If so, can you please send me this test solution, so I can try it here?
If so please submit the files via the form:
http://www.wholetomato.com/support/contact.asp
including this thread ID or URL in the description, so we can match it up. |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Apr 02 2013 : 02:13:41 AM
|
Wow, in the default solution I just created this error is not reproducable, i.e. "Praemie" is indeed underlined as expected.
What does that mean? |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Apr 02 2013 : 10:21:53 AM
|
I am not sure to be honest, but this is interesting. It suggests either a file or solution trigger.
In the solution where you see the problem can you open VA's Find Symbol dialog, Alt-Shift-S and type in "Praemie" and see what happens? Is VA listing a symbol with this name? If VA is then this is probably the cause, since this is a known symbol name VA thinks you are talking about this symbol, rather than introducing a spelling error. |
zen is the art of being at one with the two'ness |
 |
|
Phoenix
New Member

8 Posts |
Posted - Apr 03 2013 : 01:54:47 AM
|
Yeah, that's it, Praemie IS a symbol, a class name in fact.
And I'm a very tiny little bit embarrassed because I didn't think of that before. Thank you very much for your help. :-) |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19187 Posts |
Posted - Apr 03 2013 : 08:25:09 AM
|
To be fair, I did not think of it at first either, even though it is now "obvious" I am glad we have gotten to the bottom of this problem  |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|