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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 3 Jan 2024 13:15:23 +0000 (14:15 +0100)
commitef1255372d01302e5605c005dfb37749f714ed18
treeff4a75c40ab4a5cd72f1151d8ed67f5d0e545060
parentb242a03a30943eda94762374e3526b14c2f57ebd
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>
(cherry picked from commit f9b3866ebfa78b39dcf6aac6ef4c0e1a5679f7f9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt