4 Commits

Author SHA1 Message Date
ad3709529c After reformatting SQL code, unify new lines to Windows line feeds, so the selection's end in SynMemo is correct 2024-01-21 16:10:23 +01:00
5316e2c0da Issue #750: add Andi's reformatter on sqlformat.org as a third option to format the current SQL code 2023-10-02 18:18:01 +02:00
0be3f8a410 Issue #750:
* move code from apphelpers.ReformatSQL to reformatter.ReformatInternal
* remember last used formatter
* use ReformatInternal in texteditor (as previously ReformatSQL)
* display HTTP response content in error dialog (EIdHTTPProtocolException.ErrorMessage)
2023-09-24 18:59:21 +02:00
9e3bb2e51e Issue #750: experimental support for reformatting SQL code per online API, using the engine from https://github.com/doctrine/sql-formatter/ 2023-09-24 13:23:00 +02:00