Notepad++ Other locations for User Defined Language?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Back a few years ago I added LESS to NPP. I don't remember where or how I added it. I want to change the colors but I can't find where they are defined in the first place. In the C:Program Files (x86)Notepad++ folder I have a color scheme XML that I added, but this was for all NPP languages, and does not include LESS, and there are no other XML files that have it defined that I can see. It is not available in the Settings > Style Configurator Dialog. I can change the colors in the Language > Define your Language... Dialog, but, again, this is not where the colors are defined to start with since they are all "Black on White" in the Dialog where they are showing muted blue/green/black on beige when you read the file.
I can override the colors in the Define your Language... Dialog, but I feel like it is already defined somewhere and I want to edit that file instead.
notepad++ colors
add a comment |
Back a few years ago I added LESS to NPP. I don't remember where or how I added it. I want to change the colors but I can't find where they are defined in the first place. In the C:Program Files (x86)Notepad++ folder I have a color scheme XML that I added, but this was for all NPP languages, and does not include LESS, and there are no other XML files that have it defined that I can see. It is not available in the Settings > Style Configurator Dialog. I can change the colors in the Language > Define your Language... Dialog, but, again, this is not where the colors are defined to start with since they are all "Black on White" in the Dialog where they are showing muted blue/green/black on beige when you read the file.
I can override the colors in the Define your Language... Dialog, but I feel like it is already defined somewhere and I want to edit that file instead.
notepad++ colors
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43
add a comment |
Back a few years ago I added LESS to NPP. I don't remember where or how I added it. I want to change the colors but I can't find where they are defined in the first place. In the C:Program Files (x86)Notepad++ folder I have a color scheme XML that I added, but this was for all NPP languages, and does not include LESS, and there are no other XML files that have it defined that I can see. It is not available in the Settings > Style Configurator Dialog. I can change the colors in the Language > Define your Language... Dialog, but, again, this is not where the colors are defined to start with since they are all "Black on White" in the Dialog where they are showing muted blue/green/black on beige when you read the file.
I can override the colors in the Define your Language... Dialog, but I feel like it is already defined somewhere and I want to edit that file instead.
notepad++ colors
Back a few years ago I added LESS to NPP. I don't remember where or how I added it. I want to change the colors but I can't find where they are defined in the first place. In the C:Program Files (x86)Notepad++ folder I have a color scheme XML that I added, but this was for all NPP languages, and does not include LESS, and there are no other XML files that have it defined that I can see. It is not available in the Settings > Style Configurator Dialog. I can change the colors in the Language > Define your Language... Dialog, but, again, this is not where the colors are defined to start with since they are all "Black on White" in the Dialog where they are showing muted blue/green/black on beige when you read the file.
I can override the colors in the Define your Language... Dialog, but I feel like it is already defined somewhere and I want to edit that file instead.
notepad++ colors
notepad++ colors
asked Mar 10 at 6:06
BillyNairBillyNair
274210
274210
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43
add a comment |
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43
add a comment |
1 Answer
1
active
oldest
votes
The right place to set colors for your user-defined-language is in Language > Define your language...
From my experiments, UDL inherits some of the defaults from Style Configurator -- including "Global Styles > Current Line Background Color", which defines what the active line looks like -- though it only pays attention to the "background" setting for that one; and if you only have one line in the file, it will look like that "current line background color", rather than what's set in the UDL. From what I can tell, UDL doesn't have a setting to override the active-line colors, so it may cause some confusion in that regard.
But if I create a brand-new UDL called "LESS", and don't apply any new settings, the active line of text is a black (set from UDL > Default Style) on muted blue (set from Style Configurator > Global Styles > Current Line Background Color). Any other lines are black on white (set from the UDL > Default Style)
In v7.6.3 and earlier, all UDL information -- names and colors -- are in the userDefineLang.xml (usually in %AppData%notepad++). In v7.6.4, the release notes link to this Community Forum post by the developer, which explains there is a new userDefineLangs subdirectory which can hold any number of .xml files, all of which can contain user defined languages (which makes it easier to copy or import a UDL from someone else).
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412782%2fnotepad-other-locations-for-user-defined-language%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The right place to set colors for your user-defined-language is in Language > Define your language...
From my experiments, UDL inherits some of the defaults from Style Configurator -- including "Global Styles > Current Line Background Color", which defines what the active line looks like -- though it only pays attention to the "background" setting for that one; and if you only have one line in the file, it will look like that "current line background color", rather than what's set in the UDL. From what I can tell, UDL doesn't have a setting to override the active-line colors, so it may cause some confusion in that regard.
But if I create a brand-new UDL called "LESS", and don't apply any new settings, the active line of text is a black (set from UDL > Default Style) on muted blue (set from Style Configurator > Global Styles > Current Line Background Color). Any other lines are black on white (set from the UDL > Default Style)
In v7.6.3 and earlier, all UDL information -- names and colors -- are in the userDefineLang.xml (usually in %AppData%notepad++). In v7.6.4, the release notes link to this Community Forum post by the developer, which explains there is a new userDefineLangs subdirectory which can hold any number of .xml files, all of which can contain user defined languages (which makes it easier to copy or import a UDL from someone else).
add a comment |
The right place to set colors for your user-defined-language is in Language > Define your language...
From my experiments, UDL inherits some of the defaults from Style Configurator -- including "Global Styles > Current Line Background Color", which defines what the active line looks like -- though it only pays attention to the "background" setting for that one; and if you only have one line in the file, it will look like that "current line background color", rather than what's set in the UDL. From what I can tell, UDL doesn't have a setting to override the active-line colors, so it may cause some confusion in that regard.
But if I create a brand-new UDL called "LESS", and don't apply any new settings, the active line of text is a black (set from UDL > Default Style) on muted blue (set from Style Configurator > Global Styles > Current Line Background Color). Any other lines are black on white (set from the UDL > Default Style)
In v7.6.3 and earlier, all UDL information -- names and colors -- are in the userDefineLang.xml (usually in %AppData%notepad++). In v7.6.4, the release notes link to this Community Forum post by the developer, which explains there is a new userDefineLangs subdirectory which can hold any number of .xml files, all of which can contain user defined languages (which makes it easier to copy or import a UDL from someone else).
add a comment |
The right place to set colors for your user-defined-language is in Language > Define your language...
From my experiments, UDL inherits some of the defaults from Style Configurator -- including "Global Styles > Current Line Background Color", which defines what the active line looks like -- though it only pays attention to the "background" setting for that one; and if you only have one line in the file, it will look like that "current line background color", rather than what's set in the UDL. From what I can tell, UDL doesn't have a setting to override the active-line colors, so it may cause some confusion in that regard.
But if I create a brand-new UDL called "LESS", and don't apply any new settings, the active line of text is a black (set from UDL > Default Style) on muted blue (set from Style Configurator > Global Styles > Current Line Background Color). Any other lines are black on white (set from the UDL > Default Style)
In v7.6.3 and earlier, all UDL information -- names and colors -- are in the userDefineLang.xml (usually in %AppData%notepad++). In v7.6.4, the release notes link to this Community Forum post by the developer, which explains there is a new userDefineLangs subdirectory which can hold any number of .xml files, all of which can contain user defined languages (which makes it easier to copy or import a UDL from someone else).
The right place to set colors for your user-defined-language is in Language > Define your language...
From my experiments, UDL inherits some of the defaults from Style Configurator -- including "Global Styles > Current Line Background Color", which defines what the active line looks like -- though it only pays attention to the "background" setting for that one; and if you only have one line in the file, it will look like that "current line background color", rather than what's set in the UDL. From what I can tell, UDL doesn't have a setting to override the active-line colors, so it may cause some confusion in that regard.
But if I create a brand-new UDL called "LESS", and don't apply any new settings, the active line of text is a black (set from UDL > Default Style) on muted blue (set from Style Configurator > Global Styles > Current Line Background Color). Any other lines are black on white (set from the UDL > Default Style)
In v7.6.3 and earlier, all UDL information -- names and colors -- are in the userDefineLang.xml (usually in %AppData%notepad++). In v7.6.4, the release notes link to this Community Forum post by the developer, which explains there is a new userDefineLangs subdirectory which can hold any number of .xml files, all of which can contain user defined languages (which makes it easier to copy or import a UDL from someone else).
edited Mar 10 at 18:37
answered Mar 10 at 18:31
PeterCJPeterCJ
465410
465410
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412782%2fnotepad-other-locations-for-user-defined-language%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try looking in the plugins subdirectory
– DavidPostill♦
Mar 10 at 8:47
To clarify things, you might want to edit your question to include what your theme is (Style Configurator: Select Theme), and add screenshots of what you see in your LESS file for the existing colors. If those contradict my answer below, I will do more research and edit my answer to better suit what you're really seeing.
– PeterCJ
Mar 10 at 18:32
@DavidPostill♦ - All I see in the /plugins/ are files for the installed plugins like spellcheck, FingerText, etc. and XMLs of keywords to languages in the APIs folder. BUT, I did find a DLL in the NppExport that I cant read which reminded me that at one time I tried to export the settings from a previous NPP back like 5 years ago. I dont remember succeeding, but I might have. Do you think this DLL would have a UDL from a previous build? but not accessible through the UDL Wizard?
– BillyNair
Mar 23 at 6:21
@PeterCJ - I changed the colors in the UDL Wizard so that I could read the code enough to get by until I found where it was defined previously. (So, the screenshots would only show what I have now, a "Band-aid fix" and not what I was originally seeing (Black on White showing in the Wizard but nothing close to the muted blues and grays I was seeing) BUT... in your answer I might have found the issue, if I understand what you are saying: You did NOT have a LESS UDL previous to this discussion and you were getting similar colors to mine? if so, then, I dont have LESS defined elsewhere?
– BillyNair
Mar 23 at 6:43