-
Notifications
You must be signed in to change notification settings - Fork 71
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
Change color does not work #31
Comments
Are you saving your notes with a |
@fk128 yes, the files have Closing existing |
Does this happen every time you create a new note? |
No, this only happened once recently after I kept Sublime running for a long time and it crashed. After the crash, the coloring disappeared for both PlainNotes and PlainTasks. |
Same here with ST build 3114 on Ubuntu 14.04. I followed the instructions from cilia without luck. |
I'm a total newb on Sublime Text packages so I don't know the root cause of this issue, but it appears the syntax setting for the .note extension is changing to something notes.py doesn't expect. In notes.py:NoteChangeColorCommand.is_enabled(), you can see that the 'Change Color' command will be enabled if the active window's syntax ends with "Note.tmLanguage". Running the following command in the console shows me that my syntax is set to 'Packages/PlainNotes/Note.sublime-syntax': However, if I change the syntax setting to 'Packages/PlainNotes/Note.tmLanguage' then the 'Change Color' command returns: This is at best a work-around, as the syntax setting goes back to 'Packages/PlainNotes/Note.sublime-syntax' when a new .note file is opened. Perhaps notes.py:NoteChangeColorCommand.is_enabled() should be modified to enable the 'Change Color' command if the syntax setting ends with "Note.tmLanguage" OR "Note.sublime-syntax". |
Hello @baringmo, I made the change and updated my local copy of the I'll observe the behavior in order to see if there are any side effect. Thank your for the tip! |
@carlosprados Hey, I´m using windows, where can I find the file |
'Change Color' is greyed out under the 'Notes' menu, and there is no 'Notes: change color' in the command palette.
Tried uninstalling and reinstalling PlainNotes but still does not work. Anywhere to check what the problem might be?
The text was updated successfully, but these errors were encountered: