I'm looking for a FPC/Lazarus text editor with some simple code editing features.
Nothing fancy - but must provide full PD source code for me to expand on and
be well annotated or documented.
It should be procedural based making minimal use of objects if it must use any.
PD or opensource + gpl/mpl/...?
When you say you are looking for an editor that you can modify...
Do you look for:
1 - an editor component, such a TMemo, TSynEdit, ATSynEdit....
That has no menu, or anything, just the text handling
2 - a app with menu to load/save/copy/paste....
If 2, then does it matter if the component is OO (or otherwise needs experience to read the code)?
There are various editors based on SynEdit/AtSynEdit. They may make a good starting point.
It really depends what feature you want to add.
You may not have to touch the code in SynEdit (And synedit is highly configurable). Though it lacks documentation (there is some doc in Spanish, afaik).