IntelliJ Idea with the I-Pascal plugin is also quite nice. It does lack a few things, and Idea isn't really a 'small' editor, but it's usable. I just don't like IDE;s, most of them tend to clutter the screen with information I do not need, and as a worst case scenario you have Lazarus with that multiple window setup. 99% of the time I edit code, and I want a streamlined yet powerful editor, preferably extendable like emacs, vim or atom/vs-code.