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

Don't comment global content unless it is Conf #3576

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

techee
Copy link
Member

@techee techee commented Oct 5, 2023

When using Tools->Config Files to open a user file that doesn't exist. This fixes the first line of geany.css being wrongly uncommented (and the rest unchanged) due to toggle comment being used and CSS not having a line comment.

(Verbatim copy-paste of Nick's description of the previous version of the patch, thanks :-)

This is a replacement of #3450 which was done against an older version of Geany and the affected code was modified in the meantime.

When using Tools->Config Files to open a user file that doesn't exist.
This fixes the first line of geany.css being wrongly uncommented
(and the rest unchanged) due to toggle comment being used and CSS
not having a line comment.

(Verbatim copy-paste of Nick's description of the previous version
of the patch, thanks :-)
@techee techee merged commit 8521ad5 into geany:master Oct 6, 2023
3 of 4 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants