Not sure how you write the code browser. Great work, as you can make the program small and powerful.
I am using scintilla-based editor for analysing legacy fortran code. and I found that the folding function is great as it folds code based on the syntax of the file.
I wounder if code folding and user-defined folders can be combined into code browser. Together with line-numbering, code-browser will be a perfect tools for developers of all.
Of course, adding another text editing component into existing code is difficult. I think migrate the existing code to a plugin architecture is a good thing. It will also let other to develop plugins for extending the functionality of the code browser.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Syntax-based folding and marker-based folding cannot be combined in code browser. SciTE can do it, you can use //{ and //} to fold explicitely a section in a C/C++ file, there should be an equivalent for fortran.
A plugin system is not a bad idea, especially because code browser is written with an exotic programming language limiting drastically potential contributors. But I would prefer to embed a scripting language for easier portability of extensions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Marc,
Not sure how you write the code browser. Great work, as you can make the program small and powerful.
I am using scintilla-based editor for analysing legacy fortran code. and I found that the folding function is great as it folds code based on the syntax of the file.
I wounder if code folding and user-defined folders can be combined into code browser. Together with line-numbering, code-browser will be a perfect tools for developers of all.
Of course, adding another text editing component into existing code is difficult. I think migrate the existing code to a plugin architecture is a good thing. It will also let other to develop plugins for extending the functionality of the code browser.
Syntax-based folding and marker-based folding cannot be combined in code browser. SciTE can do it, you can use //{ and //} to fold explicitely a section in a C/C++ file, there should be an equivalent for fortran.
A plugin system is not a bad idea, especially because code browser is written with an exotic programming language limiting drastically potential contributors. But I would prefer to embed a scripting language for easier portability of extensions.