Sounds like you are constructing an IDE with the old Borland look and feel. I have a huge appreciation for Turbo Pascal, so I am interested if my suspicion is right and if affirmative how far you've got.
-- <https://forum.pspad.com/read.php?2,78535,78590> PSPad freeware editor https://www.pspad.com