APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 47 forks source link

Script editor should have find/replace capability #1388

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1958 Author: Eric Date: 2014-09-18 12:42:03 +0000 UTC

The Script editor in ApsimX should provide "standard" interface methods for the user to find and replace text. Example code for doing this sort of thing with the ICSharpCode.TextEditor is available at http://www.codeproject.com/Articles/30936/Using-ICSharpCode-TextEditor

ApsimBot commented 5 years ago

Author: zur003 Date: 2014-09-18 15:20:00 +0000 UTC

I've now implemented this, using standard key combinations (ctrl-F, F3, etc.) to access find and replace functions. I'll leave the task open a while longer, as it could be extended to providing a popup-menu, bookmarking functions, etc.