There's a problem with long lined sql queries in PMA, because textarea name="sql_query" (and in querywindow.php too) is not resizable (manually or automatically), so the whole sql query needs widget to be scrolled to take view in.
Additionally, when clicking "Edit" (http://phpmyadmin/tbl_sql.php?db=test&table=groups&sql_query=SELECT+%2A+FROM+%60groups%60+where+id+%3D+2&show_query=1&...#querybox) the query should be formatted with new lines like the import.php does in browse view.
did you try $cfg['TextareaCols'] and $cfg['TextareaRows'] ?
That's not the point. Do you know how long your sql query will be? No. Secondly, imagine PMA for 100 people, one can use small queries (he don't need TextareaRows=30), and one long...
When you type new (or edit) the best way is to manually grab and resize area (like wordpress' post editor) or http://lojjic.net/script-library/TextAreaResizer-test.html, or http://tuckey.org/textareasizer/
Was this feature request worked on?
Resizing text areas is supported in Chrome, Safari, Firefox and Opera.