Author |
Message |
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| |
Registered: March 18, 2007 | Reputation: | Posts: 1,646 |
| Posted: | | | | Quoting GSyren: Quote: I have been playing with the idea of rewriting OverviewCheck to use Hunspell for spell checking instead of using the one built-in to the WPF textbox. Since Hunspell uses the same dictionaries as OpenOffice and LibreOffice it is much easier to add dictionaries. And I really hate how the current program cannot tell British English from US English, for example.
There are several stumbling blocks, though. I would have to use a RichTextBox since there is no way to programmatically set any kind of underlining in a normal textbox. And using a RichTextBox adds quite some complexity to the whole thing, not least how to add an appropriate underlining. Normal underlining is a solid line the same color as the text. Not good enough. I tried to find a way to do a nice red squiggly underlining, but I couldn't find a way to do it that looked good. But after much googling and some trial and error I came up with a dashed underline that seemed to work.
It looks like it is going to be quite a lot of work to put all this together. It's hard to resist a challenge, but at the same time there is a limit to how much time I'm willing to spend when the current program still works fairly well. So no promises. Which Rich Edit DLL are you using; msftedit.dll? Here are a few references, in case you haven't seen these. About Rich Edit ControlsRichtextbox wavy underlinesHow to change underlining color in a Rich Edit control (Win32/C) | | | Last edited: by rdodolak |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | Thanks rdodolak!
However, I believe that those refer to Winforms, not to WPF. I am not using any DLL, just the WPF RichTextBox control. I think the dashed underline will have to do. | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 18, 2007 | Reputation: | Posts: 1,646 |
| Posted: | | | | Quoting GSyren: Quote: Thanks rdodolak!
However, I believe that those refer to Winforms, not to WPF. I am not using any DLL, just the WPF RichTextBox control. I think the dashed underline will have to do. My misunderstanding. Are you using a FlowDocument wrapped with the RichTextBox? This might be more suitable: Wavy underlines in a FlowDocument |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| |
Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | Could you use the SelectedFont property to temporarily change the font of a portion of text to one of those ready made editing fonts? | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | Quoting mediadogg: Quote: Could you use the SelectedFont property to temporarily change the font of a portion of text to one of those ready made editing fonts? I wasn't aware that there are ready made editing fonts. That's something that might be worth investigating. Do you have any more info on those? That said, I think the dashed underline works quite well, so I might decide to stick with that. But I'm always open to explore new possibilities. You can teach old dogs a few new tricks ... | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | Quoting GSyren: Quote: Quoting mediadogg:
Quote: Could you use the SelectedFont property to temporarily change the font of a portion of text to one of those ready made editing fonts? I wasn't aware that there are ready made editing fonts. That's something that might be worth investigating. Do you have any more info on those?
That said, I think the dashed underline works quite well, so I might decide to stick with that. But I'm always open to explore new possibilities. You can teach old dogs a few new tricks ... You are probably using most of what I was talking about - various properties of fonts including underline, strike-thru, shadow, fill, etc. But I thought I had seen a code page somewhere that included proofreading symbols. Sort of like this reference to "PDF stamps." If I find a better reference, I will post it. Obviously one could edit a Wingdings or some other font to add the symbols, but I thought it had already been done. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | TA-DA!OverviewCheck version 3All new!All powerful!Read all about it here! Note that OverviewCheck 3 comes in a folder named OverviewCheck3, so you can install it in parallell to the old version to try it out. And if - heaven forbid - you like the old version better, you can still use that one. | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | I should mention that you can copy over verified.txt from the old program to the new, so you don't have to re-verify overviews, if you use that feature. | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 29, 2007 | Reputation: | Posts: 4,479 |
| Posted: | | | | Quoting GSyren: Quote:
All new! All powerful! Just tested it on about 100 profiles (all the job was already done with previous version). Seems to work very well ( I have not found any spelling mistake not seen previously.) Many thanks for the good job!!! | | | Images from movies |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | As so often happens, once I had release version 3.0.0 I got a case of "Oh, I should have ..."I realized that a) The internal list of supported localities was old and did not cover all localities. b) I have a problem with multilingual localities. Example in point, Switzerland wasn't in my list, and even if it had been, what language would I associate with Switzerland? French, German or Italian? And I also realized that I didn't know which language was appropriate for my neighbor country Norway; Bokmål or Nynorsk. My list has the language code no_NO, which I believe is Nynorsk. But maybe no_NO is a no-no? (Sorry, the pun was too obvious to avoid ) So, I decided that the only viable solution was to let the user decide. So, in the next version there will be an external list, a text file, that you can modify to select which language is appropriate for a certain locality. Matching locality and language will never be perfect, there could be overviews in different languages for different profiles within the same locality. But locality is the only indicator we have, so it's the best I can do. So version 3.1 will be coming. Let me know if you find anything that needs to be fixed, or if you have any suggestions for improvement that I can implement at the same time. | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 29, 2007 | Reputation: | Posts: 2,751 |
| Posted: | | | | This is great, but I can't get it to remember where I was the last time. | | | Marty - Registered July 10, 2004, User since 2002. |
|
Registered: March 14, 2007 | Reputation: | Posts: 4,694 |
| Posted: | | | | Quoting mreeder50: Quote: This is great, but I can't get it to remember where I was the last time. HKEY_CURRENT_USER\Software\Gunnar Syrén\OverviewCheck\FromNum Or you could just have started up the old program if you still had it, to check the starting number. The new program has it's own registry key, which for some obscure reason is called OverviewCheck2. (If a brainfart can be called obscure ). | | | My freeware tools for DVD Profiler users. Gunnar |
|
Registered: March 29, 2007 | Reputation: | Posts: 2,751 |
| Posted: | | | | Today is the first time I have used it. | | | Marty - Registered July 10, 2004, User since 2002. |
|
Registered: March 29, 2007 | Reputation: | Posts: 2,751 |
| Posted: | | | | I found the way around it...don't use Auto verify. I should also say, I only number the 1 copy of each movie including the parent for TV series. This program is extra great. | | | Marty - Registered July 10, 2004, User since 2002. | | | Last edited: by mreeder50 |
|