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

Toggle Line Commentation makes too much slashes #1558

Closed
ibinshoid opened this issue Jul 25, 2017 · 3 comments
Closed

Toggle Line Commentation makes too much slashes #1558

ibinshoid opened this issue Jul 25, 2017 · 3 comments
Labels

Comments

@ibinshoid
Copy link

edit->format->Toggle Line Commentation makes //// instead of // on c and vala files
edit->format->Comment Line(s) works fine.

@elextr
Copy link
Member

elextr commented Jul 25, 2017

I get "//~", have you set Menu->Edit->Preferences->editor->features->Comment toggle marker to "//"?

@ibinshoid
Copy link
Author

Yes there is a // but when i remove it comments are set right.
It seems like geany set this string additional to the one set in the filetype descryption in /usr/share/geany/filedefs/*

@elextr
Copy link
Member

elextr commented Jul 26, 2017

Correct. It distinguishes comments set by the command with those set by the user. The command does not remove comments set by the user since that would not allow selecting a block of code that included comment lines and simply having it commented out in a reversible manner. It is best to set it to something that does not usually occur in your files, hence the default ~.

@elextr elextr added the invalid label Aug 27, 2017
@elextr elextr closed this as completed Aug 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants