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
permanent setting #335
Comments
I do not know what "command" you are referring to but to make something permanent you usually create a script and name it |
Thank you for your reply. I have created a file containing :
I've :
Without success. |
No, the startup.py that is supplied with the plugin must remain. The "user" startup.py must be created in addition. editor1.setProperty...
editor2.setProperty... the Do you have changed the Python Script Configuration from |
No, this is a Lexer property that you want to set. This must be done differently. def on_buffer_activated(args):
# check if the file needs to have the setting and then
# call editor.setProperty('lexer.css.scss.language', 1)
# something like
# if editor.getLexer() == whatever_number:
# editor.setProperty('lexer.css.scss.language', 1)
notepad.callback(on_buffer_activated, [NOTIFICATION.BUFFERACTIVATED]) |
Hello,
I'm a new PythonScript user. I'm not a geek and I don't know Python.
On the Notepad++ forum I was recommended to install PythonScript to solve a CSS problem with Lexilla.
A command was provided. I tested it in the console; it's operational but temporary.
I haven't found a way to make it permanent when I launch Notepad++. How would this be possible?
Thank you for your reply.
The text was updated successfully, but these errors were encountered: