[Github-comments] [geany/geany] Incorrecting Folding and Marking for << (#1063)

blooregardskotch notifications at xxxxx
Thu Jun 9 19:37:36 UTC 2016


Sample Code in Bash below.
The problem is with <<EOL.
All text after the <<EOL is green and a fold point is created.
The fold point and green text only ends if I put EOL at the beginning of a line. If there is any space or tab geany does not register the EOL and continues to use green text.

function myFunction() {
	echo "This is my function"
	if [ -n "${LEGACY+1}" ]; then
		OUTPUT="command1\n"
		OUTPUT+="command2"
		someinput_program <<EOL
			$(echo -e $OUTPUT)
			quit
		EOL
	else
		OUTPUT="command1 with command2"
		anotherinput_program $OUTPUT
	fi
	echo -e $OUTPUT
}

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1063
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160609/30acdab9/attachment.html>


More information about the Github-comments mailing list