Bug 35498: Allow tab to indent lines and trigger autocomplete
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 6 Dec 2023 15:13:20 +0000 (15:13 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 12 Dec 2023 14:04:53 +0000 (15:04 +0100)
commitf9b3866ebfa78b39dcf6aac6ef4c0e1a5679f7f9
tree82241afb0603f9bf10f29d341527fe32808a7450
parente756faf860c7475e2761e45f3ebc152c34a2d036
Bug 35498: Allow tab to indent lines and trigger autocomplete

This patch allows the tab key to indent lines as well as trigger autocomplete.

Test plan:
1) Apply patch, navigate to reports and create a new SQL report
2) Click in the text editor and press tab, it should indent and then trigger the autocomplete options
3) Type something to select from the autocomplete box and press tab - it should autocomplete that option
4) Type any word and then press space. Now press tab and it should indent again

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt