Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash Function List fails to list functions following a HEREDOC containing a one single quote #13849

Open
RobMahn opened this issue Jun 30, 2023 · 0 comments

Comments

@RobMahn
Copy link

RobMahn commented Jun 30, 2023

Description of the Issue

The bash Function List fails to list functions following a HEREDOC containing a one single quote when there is a following function that also contains single quotes.

Sample script to demonstrate the problem:

: <<'EOF'
HEREDOC with a single ' quote
EOF

function unlisted_function1 { :
}

function break_listing1 { :
	echo 'Text in single quotes breaks listing all functions between HEREDOC and here.'
}

function unlisted_function2 { :
}

function break_listing2 { :
	echo 'Text in single quotes breaks listing all functions between HEREDOC and here.'
}

function listed_function1 { :s
}

Debug Information

Notepad++ v8.5.3 (64-bit)
Build time : May 15 2023 - 06:09:36
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "D:\Users\RobMa\My Tresors\RFMDoc\UTILS\Linux\utils\Add WSL utils to PATH.sh"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 22H2
OS Build : 22621.1848
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
ComparePlus (1.1)
HexEditor (0.9.12)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant