Stumpii / ScintillaNET-FindReplaceDialog

A ScintillaNET v5 Find & Replace Dialog + Goto Dialog + Incremental Search
MIT License
38 stars 29 forks source link

Question: How do I get the FindReplace dialog's current search string from its public inteface? #1

Open bryanedds opened 8 years ago

bryanedds commented 8 years ago

I want to invoke FindReplace.FindNext() when the user hits F3 outside of the FindReplace dialog, but I can't figure out how to capture its current values so that I can pass it into the method call.

Is there a property on the FindReplace type that I could use?

Stumpii commented 8 years ago

You couldn't, but you can now. Look at the code example at the bottom which I have updated and also the latest commit. Basically, key strokes are now sent back from the Find and Replace dialog back to the owner form and can be processed.

Steve