|
|
pinEdit Add-On
Started by Tuan Nguyen at 07-30-2008 11:56 . Topic has 5 replies.
 
 
|
|
Sort Posts:
|
|
|
|
07-30-2008, 11:56
|
Tuan Nguyen
Joined on 05-19-2008
Posts 14
|
pinEditSpell Crashes on DBCS text
|
|
|
|
|
|
Hi Hans-Peter,
I have the pinEditSpell add-on v6.0.0.612 installed. It crashes the application when spell checking is applied to DBCS text.
My questions are:
1. Is there an update to pinEditSpell that will support DBCS?
2. If not, is there anyway to capture this exception or disable spell checking when editor content is DBCS text?
Thanks, Tuan
|
|
|
|
|
Report
|
|
|
|
07-31-2008, 12:29
|
Tuan Nguyen
Joined on 05-19-2008
Posts 14
|
Re: pinEditSpell Crashes on DBCS text
|
|
|
|
|
|
The error is stack overflow. Following are the last 2 calls on the call stack:
mscorlib.dll!System.Collections.ArrayList.ArrayList(int capacity) + 0x18 bytes pinEditSpell.dll!Pintexx.Components.Web.pinEdit.Spell.SpellChecker.FindSuggestions(string word = "ひらがな", bool searchLowerCase = true) + 0x1a7 bytes
Thanks, Tuan
Tuan Nguyen wrote: | |
Hi Hans-Peter,
I have the pinEditSpell add-on v6.0.0.612 installed. It crashes the application when spell checking is applied to DBCS text.
My questions are:
1. Is there an update to pinEditSpell that will support DBCS?
2. If not, is there anyway to capture this exception or disable spell checking when editor content is DBCS text?
Thanks, Tuan |
|
|
|
|
|
|
Report
|
|
|
|
07-31-2008, 8:58
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: pinEditSpell Crashes on DBCS text
|
|
|
|
|
Hello Tuan,
which version/technology do you use ?
1. What is DBCS ?
2. You can enable/disable spell checking yourself.
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
07-31-2008, 3:58
|
Tuan Nguyen
Joined on 05-19-2008
Posts 14
|
Re: pinEditSpell Crashes on DBCS text
|
|
|
|
|
|
Hi Hans-Peter,
As mentioned in the first post, I'm using version 6.0.0.613 of the .NET pinEditSpell control.
1. Here's a quick quote from Wikipedia wrt DBCS.
DBCS stands for Double Byte Character Set. This term has two basic meanings:
- In CJK computing, the term "DBCS" traditionally means a character set in which every graphic character not representable by an accompanying SBCS is encoded in two bytes; Han characters would generally comprise most of these two-byte characters.
- The term "DBCS" can also mean a character set in which all characters (including all control characters) are encoded in two bytes.
2. How can you do enable/disable spell checking? This is probably the easier task. Since it does not look like the pinEditSpell control can handle DBCS text, I need to know when DBCS text is added to disable spell checking accordingly.
3. Also, the problem lies in the FindSuggestions(string, boolean) method. Do you anticipate any efforts in fixing this method to handle double-byte characters?
Thanks, Tuan
|
|
|
|
|
Report
|
|
|
|
07-31-2008, 4:42
|
Pintexx Support
Joined on 08-30-2005
Posts 1.571
|
Re: pinEditSpell Crashes on DBCS text
|
|
|
|
|
Hi Tuan,
you can turn spell checking with
editor.SpellOff()
Then you can disable spell button with
editor.EditToolbarSetObjectEnabled("SPELL",false)
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
07-31-2008, 7:56
|
Tuan Nguyen
Joined on 05-19-2008
Posts 14
|
Re: pinEditSpell Crashes on DBCS text
|
|
|
|
|
|
Thanks, Hans-Peter.
As for question #3, you could reply to me privately.
Thanks, Tuan
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit Add-On » Re: pinEditSpell Crashes on DBCS text
|
|
|
|