-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New DFM Editor CnPack #182
Comments
The key problem is, an "External“ editor is hard, almost impossible, to integrate in Delphi, and let Delphi think it's its editor itself, including code or dfm. In a word, the Delphi Editor deeply integrated with Delphi itself. |
I thought that since you can intercept Delphi's AutoComplete in PAS it would also be possible to do the same with DFM |
Taking a closer look, I think it wouldn't be complicated for a reason, the DFM will always have the same name as the PAS file and this way, when you click the other mouse button on the DFM and choose the option "View as Text CnPack" it will open the file |
I created this other post #180
However, I believe implementing it in the Delphi editor itself is difficult, not to say impossible.
I believe that creating a new DFM editor will be more interesting than what could be accessed using PopupMenu in DFM
"View as Text CnPack"
using SynEdit
"https://github.com/SynEdit/SynEdit/blob/master/Source/SynEditCodeFolding.pas"
It is easy to do code folding and also complete the code
The most difficult thing I see is integrating with Delphi because when you save it you have to detect if there are errors in DFM
The text was updated successfully, but these errors were encountered: