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

Want to implement scintilla: comment.block.at.line.start.python=1 #992

Closed
henrythemouse opened this issue Apr 10, 2016 · 4 comments
Closed

Comments

@henrythemouse
Copy link

I'd like to have my commented lines in python files be commented at the left margin instead at the first non-whitespace character on the line. This scintilla configuration line should do the trick.

From the SciTE manual:
Set comment.block.at.line.start to "1" to place block comment symbols at the start of the lines, instead of just before the first non-blank character of the lines.

I typed it in to the [lexer_properties] area of Geany's filetypes.python file, but didn't get any change in behavior. I'm wondering if these SciTE variables are compatible with Geany? Does Geany only recognize a subset of these variables? Or am I doing something that is impossible or just plain doing it wrong?

TIA,
Gary

@elextr
Copy link
Member

elextr commented Apr 10, 2016

That setting is for Scite, not Scintilla. Geany does not use any Scite code, only Scintilla.

@henrythemouse
Copy link
Author

Well, I thought SciTE used scintilla code.
Do you know of a similar variable in scintilla code?

@elextr
Copy link
Member

elextr commented Apr 10, 2016

Sure Scite uses Scintilla, but Scintilla is only the basic editing widget, language things like this are in Scite.

Nearest in Geany might be the comment_use_indent setting in filetype files.

@henrythemouse
Copy link
Author

That works. Even though the docs say it only works on single lines, when I just tested, it worked fine on multiple selected lines.

I'm beginning to wonder if there is anything that Geany can't do :-)
Thanks for the help, I withdraw what was once intended to be a feature request.

@elextr elextr closed this as completed Apr 10, 2016
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

2 participants