R/IDENTIFIER missing?
-
This is, I hope, a very simple question …
I use Notepad++ to edit R programs. In Notepad++ version 7.4.5, which is on my home computer, the Style Configuator Language/Style combinations for R include R/IDENTIFIER. (See the screen shot, which is from version 7.4.5.)
Unfortunately, in Notepad++ version 8.4.4, which is on my office computer, R/IDENTIFIER appears to be missing. That particular combination is rather important. (In the screen shot, the identifiers are green.)
How can I find or add the R/IDENTIFIER Language/Style combination in version 8.4.4?
Thank you for your help.

-
The simple answer is that something got deleted from your stylers.xml, because the copy that ships with Notepad++ (including v8.4.4) does include
R: IDENTIFIER.
You might want to compare your active copy of
stylers.xml(which is probably in%AppData%\Notepad++\stylers.xml) to thestylers.model.xml(which is in the same directory asnotepad++.exe, probablyc:\program files\notepad++\stylers.model.xml), and copy any missing entries fromstylers.model.xmltostylers.xml, then re-start Notepad++. (if you have ComparePlugin or ComparePlus Plugin, that will help with the comparison).
-
Hi, @mikel-petty, @peterjones and All,
Sorry, Peter, but in your screenshot of the
stylers.model.xml, I do not see any reference to a green value, as specified by @mikel-petty, for the wordstyleIDENTIFIER?!Best Regards,
guy038
-
@guy038 ,
The point isn’t the color. The point is that the default
stylers.model.xmldoes define the IDENTIFIER style for the R language, and that the GUI does show the IDENTIFIER style for the R langauge. If @Mikel-Petty wants it green rather than the default black, that’s easy to change in the GUI.The other thing to note, for @Mikel-Petty’s information, is that IDENTIFIER was added to
stylers.model.xmlin v7.2.2. So it is possible that the “offline computer” originally had an older copy of Notepad++, and when it upgraded, it did not add that style to the stylers.xml (and thus maybe not to stylers.model.xml, either). In which case, it may be necessary to download stylers.model.xml from the source. -
Hello, @mikel-petty, @peterjones and All,
Oh, my bad !
I was just puzzled about some other wordstyles with a
fgColorvalue different from default black !BR
guy038
-
@PeterJones,
Your solution worked perfectly.
Thank you for your quick and useful response.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login