https://bugs.kde.org/show_bug.cgi?id=440360

            Bug ID: 440360
           Summary: bash's syntax highlighting (SHL) gets confused with
                    variable indirection in array definition
           Product: kate
           Version: 20.12.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: mdi...@grulic.org.ar
  Target Milestone: ---

Created attachment 140373
  --> https://bugs.kde.org/attachment.cgi?id=140373&action=edit
broken SHL

SUMMARY

Any code after:

foo=(${!6})

or:

foo=("${!6}")

or maybe other variations, has it SHL confused. Full example in the sshots:

function import_keytool_certificate_to_keystore() {
    local x_keytool_cmd="${1?}"
    local x_keystore_file="${2?}"
    local x_cert_name_prompt="${3?}"
    local x_cert_signature="${4?}"
    local x_multiple_cert="${5?}"
    local x_error_messages=("${6}")
    local x_cert_alias_default="${7}"

    local x_status=0

    while [ true ]; do
        local x_ca_certfile
        get_user_input x_ca_certfile "$x_cert_name_prompt" ""
        if [ "x${x_ca_certfile}" = "x" ]; then
            log_message "${x_error_messages[0]}" "$ERROR_LEVEL" "1" "1"
            x_status=8
            break
        fi



ALSO: no SHL component in the BTS?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to