this should be the solution to @queenidog1 problem too.
Doubtful. As explicitly stated, the original post was about pasting text into a new document (that is, what you get when you open Notepad++ with no previous session open, or what you get from a File>New), whereas your question was how to treat an already-existing file that you open with File>Open or equivalent. Those are two separate things, and the answer I gave to each is the right way of handling those two separate situations.
If you are using Slack, or other teleconference/screen-sharing software – even if you don’t think it’s running right now, try looking in the Ctrl+Alt+Delete > Task Manager (or Ctrl+Shift+Esc) for all tasks on the details page, and stop any active Slack or similar processes, then restart Notepad++ and see if the problem persists; the developer believes that it is Slack (and similar apps) that are causing Windows to not display Notepad++ correctly.
@ten2120 Well again the details are a little hazy but there are a number of programs which have this value. The simplest would be wordpad.exe seeing it is built in to windows, or wmplayer.exe. Also common programs like vlc and irfanview have it (originally I think). I may have used procmon from SysInternals to see what keys are referenced when R-clicking in explorer.
Thanks. Big help, I would check it out (SysInternals). 👍
User Defined Languages do not show up in the alphabetized Language > R or similar… they show up at the bottom of the Language menu, below the Language > User Defined Language > … submenu (for your v8.1.3; or, if you are in as old of a Notepad++ as Steen-Hultin’s UDL screenshots show, below the Language > Define Your Language…).
… in my screenshot, ABC, Markdown (preinstalled), Markdown (preinstalled dark mode), and TI-Basic are all UDL that I can select.
The file UserDefineLangs.xml contains an entry for this UDL.
If that’s true, then Language > reStructuredText should show up near the Markdown entry, and Language > Define Your Language (or in a modern Notepad++, Language > User Defined Language > Define Your Language) should have reStructuredText in the User Language pulldown – see that mine shows the same languages in that pulldown that were in my menu screenshot:
If you cannot figure it out from this, you might want to give us a screenshot of one or both of those locations to aid in debugging, along with going to the ?-menu Debug Info entry, clicking on the Copy debug info into clipboard hyperlink, and paste that into your reply as well.
@alan-kilborn apologies, this forum takes a little getting used to. :(
Pasted here to keep on topic.
Wow, thanks for those picture explanations, Alan, and clueing me into some of Notepa++ functionality I haven’t known about. To be honest, I’m just going beyond using it as a sytax-highlighting general purpose file editor and trying to use it to add a UDL/FunctionList for an old language that hasn’t been done before. That’s why it took so long to respond…I’ve been beating my head trying to learn regex, use the tools this forum recommended, and try and make heads or tails out of the FunctionList structure by looking over the C++ FunctionList…and not getting very far yet. :(
However it was a pleasure to see it laid out simply with pics. I do that a lot myself when trying to explain things to folks so it’s “a thousand words clear” what you are saying. I have never touched the “Run” menu option, so that should give you a hint about how new I am to NPP’s large functional footprint. Thanks again…and if anyone can do the same for the FunctionList explanation of a mixed parser and what needs to go where, it would be greatly appreciated. :)