|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
Hi Jim,
with AsYouType activated typing a lot of single quotes (', U+0027) brings AYT to a grinding halt. Not sure if it's the case with any other characters as well.
To reproduce activate AYT and start spamming single quotes. Once you reach ~25 things start to slow down.
A customer had the bright idea to use 80 of them to structure a text. Loading that text brought the program to a hold.
We are using RapidSpell with TX TextControl (v25/X15) via Keyoti.RapidSpell.NET2.TXSupportv25.dll (6.0.17.1124).
Regards, Christian
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
HI Christian, with TX 25 you shouldn`t be using RapidSpellAsYouType anymore, instead you just use RapidSpellDialog and the way it integrates with TX means that the as you type is enabled too. Eg private void Form1_Load(object sender, System.EventArgs e) { dia = new Keyoti.RapidSpell.RapidSpellDialog(); textControl1.ButtonBar = buttonBar1; textControl1.RulerBar = rulerBar1; textControl1.StatusBar = statusBar1; dia.AddTextComponent(textControl1); } For me it works fine like that, and for what it`s worth so does RapidSpellAsYouType with a regular textbox (I didn`t check it with TX since it`s not correct usage). Best Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
Hi Jim,
I meant the feature AYT, i.e. setting the property CheckAsYouType of a RapidSpellDialog instance to true (I wasn't aware that there's a component of that name ... sorry for the confusion).
Regards, Christian
|
|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
After some more testing it seems it depends on the following settings: Code:rapidSpell.DictFilePath = "<SomePath>\DICT-DE-NDE-GermanRechtschreibreform.dict" rapidSpell.LanguageParser = LanguageType.GERMAN
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Thanks, I've found the problem code and will get a new build to you soon. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Sorry for the delay, please try this one https://www.dropbox.com/...2.TXSupportv25.dll?dl=0
You will need to Unblock the file from file->properties in explorer. Also you might need to update or just remove the version info for the file in licenses.licx -your feedback is helpful to other users, thank you!
|
|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
The problem still persists.
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Sorry for the unusual delay, I will get an answer to you on Thursday. -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Here's a demo project, for me it works fine when I type some text and then have 20-30 apostrophes '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' https://www.dropbox.com/...avn8qx3/Simple.zip?dl=0
Could you show me how to reproduce your issue with it please? I didn't bother including a German dictionary because it shouldn't be relevant. Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
I can confirm that it works with the project you provided. However, I can still reproduce the problem with "TX Text Control Words Spell" (the sample project provided with RapidSpell) – and with our application too, of course. Just setting the LanguageParser is enough. Code:public frmMain(string[] Args) { InitializeComponent(); textControl1.ButtonBar = buttonBar1; textControl1.RulerBar = rulerBar1; textControl1.VerticalRulerBar = rulerBar2; textControl1.StatusBar = statusBar1;
fileHandler1 = new FileHandler(this, textControl1); fileDragDrop = new FileDragDropHandler();
if (Args.Length != 0) { fileHandler1.DocumentFileName = Args[0]; m_LoadFileOnCreate = true; }
rapidSpellDialog1.AddTextComponent(textControl1);
//rapidSpellDialog1.DictFilePath = @"DICT-DE-NDE-GermanRechtschreibreform.dict"; rapidSpellDialog1.LanguageParser = Keyoti.RapidSpell.LanguageType.GERMAN; } Cann you confirm this?
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
Are you sure you're using the new version that I sent? I tried our demo project with the German parser, I typed in a lot of apostrophes and some text and then more apostrophes and it seemed fine. -your feedback is helpful to other users, thank you!
|
|
Rank: Member
Groups: Registered
Joined: 1/17/2012 Posts: 23
|
I was using 6.0.18.307; that's the version you uploaded to Dropbox.
Your project contains a different DLL, version 6.0.18.820 ... which explains why it runs just fine.
Anyway, everything's good now.
|
|