<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Saving Style Tokens]]></title><description><![CDATA[<p dir="auto">Im sure this has been asked already but I couldnt find specifically what I was looking for. I want to save the style tokens I add to a doc so the next time I open it, everything is still color coded. For context I’m not coding anything, just color coding text to make this easier to look at.  I’ve seen work arounds involving bookmarks and other ways to mark things but nothing that straight up saves the colors you put on text.<br />
<img src="/assets/uploads/files/1697936170240-styletokenhelp.jpg" alt="styleTokenHelp.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">side note:<br />
For anyone who plays this game, i know this is all on the wiki but i hate having to go to 3 different pages to find enemy armor, armor weakness, and how to get that damage type so i put it all in one spot lol. Also also i just find it simpler to have a notepad file open on the second monitor rather than a .docx.  Sorry if this was a weird post, but it couldnt hurt to ask.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25050/saving-style-tokens</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 20:19:12 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25050.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Oct 2023 01:06:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Saving Style Tokens on Mon, 23 Oct 2023 12:54:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/user123413467457" aria-label="Profile: User123413467457">@<bdi>User123413467457</bdi></a> said in <a href="/post/90031">Saving Style Tokens</a>:</p>
<blockquote>
<p dir="auto">If I were to send this file to a friend would it send it with the UDL or would I have to do that separately?</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekopalypse" aria-label="Profile: Ekopalypse">@<bdi>Ekopalypse</bdi></a> gave you the right answer.  However, given the way you phrased that, and re-reading your original question, I think it might help you conceptually if you read <a href="/topic/24852/faq-desk-notepad-is-a-text-editor-not-a-word-processor" title="text editor vs word processor">this FAQ</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/90035</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90035</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Mon, 23 Oct 2023 12:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to Saving Style Tokens on Mon, 23 Oct 2023 07:47:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/user123413467457" aria-label="Profile: User123413467457">@<bdi>User123413467457</bdi></a></p>
<p dir="auto">To make it look the same to others as it does to you, they have to use the same UDL and more or less the same theme.<br />
So you need to send it to them or make it publicly available somehow.<br />
<a href="https://npp-user-manual.org/docs/user-defined-language-system/" rel="nofollow ugc">Here</a> is described how to export and import UDLs.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90034</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90034</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Mon, 23 Oct 2023 07:47:54 GMT</pubDate></item><item><title><![CDATA[Reply to Saving Style Tokens on Mon, 23 Oct 2023 00:45:41 GMT]]></title><description><![CDATA[<p dir="auto">It worked great I really appreciate the help. Last question, If I were to send this file to a friend would it send it with the UDL or would I have to do that separately? I have the UDL and this file using a custom extension, idk if that helps you at all. Thank you</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90031</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90031</guid><dc:creator><![CDATA[User123413467457]]></dc:creator><pubDate>Mon, 23 Oct 2023 00:45:41 GMT</pubDate></item><item><title><![CDATA[Reply to Saving Style Tokens on Sun, 22 Oct 2023 15:39:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/user123413467457" aria-label="Profile: User123413467457">@<bdi>User123413467457</bdi></a> said in <a href="/post/90016">Saving Style Tokens</a>:</p>
<blockquote>
<p dir="auto">Im sure this has been asked already but I couldnt find specifically what I was looking for. I want to save the style tokens I add to a doc so the next time I open it, everything is still color coded.</p>
</blockquote>
<p dir="auto">You’re right: it has been talked about, multiple times.  I found <a href="/post/87327">this discussion</a> which included a script for the PythonScript plugin, plus links to at least three other related topics.  If you read that discussion, you will learn more about the scripting solution.</p>
<p dir="auto">However, for yours, since I’m guessing that the keywords you want to highlight stay the same from time to time, and you probably want them highlighted even when the config for you game has been changed, I would suggest a UDL (“User Defined Language”).  I know you said you’re “not coding anything” – but config files can be syntax highlighted just like programming languages or markup languages, and UDL is not limited to “coding”.</p>
<p dir="auto">The UDL system allows 8 different keyword groups, so you could easily put your keywords into eight different colors.  If your config file has a unique extension, you can just add that extension to the UDL, so it will automatically apply the UDL when you load the file.  Otherwise, you can manually select <strong>Language &gt; <em>GameConfigFileUDLName</em></strong> to get it to do all the highlighting.</p>
<p dir="auto">Using the UDL would probably be easier for you than trying to figure out how to use the scripting solution provided in that other discussion.</p>
<p dir="auto">Good luck.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/90021</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/90021</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 22 Oct 2023 15:39:48 GMT</pubDate></item></channel></rss>