I'm using BCB5. Is it possible to browse/edit source code from within a property editor?
Yes and no:
Yes = You have access to the ToolsAPI that contains interfaces to IOTAEditBuffer
with methods like CreateReader / CreateUndoableWriter (read code/ write code)
and IOTAEditView with methods like SetCursorPos / GetCursorPos.
No= There is no CodeDOM so you can say: go to class x. method y and
insert a line of code. You'll have to parse code yourself to find insertion positions.
Other than that it should work OK.
But it's far from trivial.
Check the link below fo rwhat can be done through the ToolsAPI.
If you deceide to give it a try you'll find lots of examples on the GExperts homepage.
Gerrit Beuze
ModelMaker Tools
Boost your productivity in the Delphi IDE with ModelMaker Code Explorer:
http://www.modelmakertools.com/code-explorer/index.html