I'm sorry, I gave it a good shot but my (probably too clever for its own good) approach isn't working. It's too much of a square peg in a round hole (I'll send it to you if you like).
To answer your question - the dialog is very dumb, but you can modify it to pass in the RapidSpellDialog instance.
eg. from our custom GUI example, where we create the GUI
e.NewView = new CustomDialogViews.FinderDialogView(rapidSpellDialog1);
and modify the .ctor accordingly.
With that object you can get the text boxes (or actually wrappers) like this
Code:
ISpellCheckableTextComponent[] textBoxes = rapidSpellDialog.ThirdPartyTextComponentsToCheck;
//then iterate through them and their text
foreach(ISpellCheckableTextComponent textBox in textBoxes){
string text = textBox.Text;
//change a word
textBox.SelectionStart = 5;
textBox.SelectionEnd = 10;
textBox.SelectedText = "replace";
}
so you can see that even with RTB, we have a very simple interface you can use to find/replace.
Jim
-your feedback is helpful to other users, thank you!Evaluation Downloads -
http://keyoti.com/products-your feedback is helpful to other users, thank you!