EGSnrc icon indicating copy to clipboard operation
EGSnrc copied to clipboard

Add egs_view egsinp editor with autocompletion

Open rtownson opened this issue 2 years ago • 3 comments

Add a new tab in egs_view that allows for editing and saving egsinp files for egs++.

The new code all over the egs++ library provide a structure by which an external library like egs_view can extract all of the input parameters. It's used for input validation, syntax highlighting, autocompletion, etc.

Application specific inputs are not handled yet. Also not yet run control, transport parameters, media definitions, or view control.

Note that this includes an astyle run on all the sources, geometries and ausgab objects, so it looks like there are more changes than there are. If you view the diff while hiding whitespace, then you will see the real changes.

This replaces PR #710.

rtownson avatar Jul 04 '22 13:07 rtownson

@rtownson can I work to cleanup this branch, or would you rather I hold off?

ftessier avatar Jul 04 '22 14:07 ftessier

@rtownson can I work to cleanup this branch, or would you rather I hold off?

Maybe hold off, I'm just working on documentation so I'll be adding one more commit some time soon.

rtownson avatar Jul 04 '22 14:07 rtownson

Ok @ftessier, you're welcome to clean up this branch now.

rtownson avatar Jul 04 '22 20:07 rtownson