Current code editor for SQL property of query components like i.e. TZQuery etc... is rather very poor.
First it could be opened maximized or at least half of screen size.
In Delphi there is a possibility to edit SQL query in source editor.
Coloring syntax could be always very helpful.