Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit Add-On

Started by Tuan Nguyen at 07-30-2008 11:56 . Topic has 5 replies.

Print Search
Sort Posts:    
   07-30-2008, 11:56
Tuan Nguyen is not online. Last active: 21.05.2008 12:45:59 Tuan Nguyen

Top 50 Posts
Joined on 05-19-2008
Posts 14
pinEditSpell Crashes on DBCS text
Reply Quote

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 is not online. Last active: 21.05.2008 12:45:59 Tuan Nguyen

Top 50 Posts
Joined on 05-19-2008
Posts 14
Re: pinEditSpell Crashes on DBCS text
Reply Quote

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 is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: pinEditSpell Crashes on DBCS text
Reply Quote
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 is not online. Last active: 21.05.2008 12:45:59 Tuan Nguyen

Top 50 Posts
Joined on 05-19-2008
Posts 14
Re: pinEditSpell Crashes on DBCS text
Reply Quote

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 is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.571
Re: pinEditSpell Crashes on DBCS text
Reply Quote
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 is not online. Last active: 21.05.2008 12:45:59 Tuan Nguyen

Top 50 Posts
Joined on 05-19-2008
Posts 14
Re: pinEditSpell Crashes on DBCS text
Reply Quote

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