Community
    • Login
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • T

      Font weight different than normal and bold?

      Watching Ignoring Scheduled Pinned Locked Moved font weight
      3
      0 Votes
      3 Posts
      319 Views
      T

      Alright, thanks.

    • Handa FlockaH

      Regular expression ( remove everything but leave certain code/word )

      Watching Ignoring Scheduled Pinned Locked Moved
      7
      0 Votes
      7 Posts
      3k Views
      Handa FlockaH

      Thanks @PeterJones
      instruction very clear and it works
      appreciated

    • Mainio MoosesM

      Notepad++ stuck in administrator mode [Solution]

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      578 Views
      PeterJonesP

      @mere-human said in Notepad++ stuck in administrator mode [Solution]:

      Should we add this somewhere into the user’s manual?

      Interesting thought. Selecting Administrator mode or not, and whether your shortcut or executable have that selected, is really more of a Windows OS question, not a Notepad++ - specific question.

      But if you had a good idea where in the manual to put it, I wouldn’t immediately reject an issue to add that (especially if it came with an accompanying PR).

    • James HobsonJ

      how to Disable scrolling beyond the last line? (v7.9.2 and later)

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      2k Views
      PeterJonesP

      @James-Hobson

      Uncheck Settings > Preferences > Editing > ☐ Enable scrolling beyond last line

    • lee bruceL

      About column mode

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      260 Views
      lee bruceL

      You can try it yourself and see if there is a problem

    • mplusplusM

      In each line, how to delete everything after the second occurrence of the slash?

      Watching Ignoring Scheduled Pinned Locked Moved regex regex regex occurance
      2
      0 Votes
      2 Posts
      682 Views
      PeterJonesP

      @mplusplus

      You say “after”, but then your example shows deleting everything before and including. I will assume your data, not your description, are correct.

      FIND = (?-s)^(?:.*?/){2} finds two groups of anything (zero or more characters) up to a slash and the slash itself
      REPLACE = leave empty
      SEARCH MODE = regular expression

      3beb0b3a-c1a8-474a-9c52-20aead7eb6b0-image.png

    • cll142C

      How do I make the numbers inside the parentheses a different color? Examples provided

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      188 Views
      cll142C

      @PeterJones Thanks I got it. I had to nest it and I was able to have numbers stay blue instead of turning purple along with the delimiter.

    • cll142C

      Is it possible to have a * as an operator and as a comment?

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      0 Votes
      8 Posts
      499 Views
      PeterJonesP

      @cll142 ,

      Please note that UDL is not an infinitely-configurable solution; there are times that your desired styling for a language goes beyond what UDL can offer.

      At that point, your choices are to write a full lexer plugin which can be distributed as a DLL or through the Plugins Admin; if that’s beyond your scope, you might get the extra highlighting you want by using the Python Script plugin and the script EnhanceAnyLexer.py that @Ekopalypse shares in his github repo, which allows you to add extra highlighting to a builtin lexer (like the HTML lexer) or to a User Defined Language (UDL) using regexes.

      So if you cannot get the UDL “good enough”, do as much as you can, then try Eko’s script. If that still doesn’t cover your needs, writing a lexer plugin is the next option.

    • cll142C

      What is the difference between 1st, 2nd, 3rd group in keywords list?

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      235 Views
      PeterJonesP

      @cll142 ,

      The UDL provides multiple keywords lists so that you can style different groups of keywords with different colors, similar to the way that the builtin lexers have multiple lists of keywords (like C has one style for commands like case and if, and a different style for data types like int and double)

      read the docs: https://ivan-radic.github.io/udl-documentation/

    • cll142C

      Does anyone know why keywords are being highlighted in non keywords? | UDL

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      265 Views
      cll142C

      @PeterJones Thanks for helping me get a better understanding of how the different folding style works and why keywords were being highlighted in non keywords.

    • plasmaster09P

      File tab on menu bar suddenly way too large

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      313 Views
      Alan KilbornA

      @plasmaster09 said in File tab on menu bar suddenly way too large:

      But all of a sudden, the File tab covers half the screen when clicked on for seemingly no reason, making things quite a bit harder. What do I do?

      Best to do would have been to paste a screenshot of it, so people don’t have to guess at what you’re talking about.

    • freeflight guyF

      Where has the Run in chrome option gone?

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      154 Views
      Alan KilbornA

      @freeflight-guy

      From version 8.1.3:

      6873e3f2-f906-439f-9980-9379cf0ca8fe-image.png

    • Paul WormerP

      Multi-editing and F3

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      249 Views
      Paul WormerP

      @Alan-Kilborn Thank you. I’ll give your solution (window in corner) a try.

    • HellhavensH

      Tail -f freezing notepad++

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      704 Views
      PeterJonesP

      @Hellhavens ,

      I’ve never tried that intensive an applicatino of the tail-f monitoring feature in Notepad++.

      You might want to play with various options in Settings > Preferences > MISC > File Status Autodetection to see if there’s a combo that makes the tail-f mode work better for you.

    • Chris Tanguay 0C

      NOT a REGEX question! - Anything like this Text Frequency tool from NT PRO?

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      595 Views
      Chris Tanguay 0C

      @Alan-Kilborn Thank you for this offer. I will very likley take you up on it!
      First, I need to get it installed, then spend some sit-down time familarizing myself with what it is, what it does, what it can do, how it does it, all that cool stuff. I’ll hit you back when I’m there.

    • Chris Tanguay 0C

      Insert Date only, x/x/xx format?

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      513 Views
      Alan KilbornA

      @Chris-Tanguay-0

      Another thing that has been done via PythonScript for years, not sure why Notepad++ sees the need to add that now…

    • Steven SmithS

      Not remembering backup files when opening

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      3k Views
      Adrian WalkerA

      Thanks to both @Steven-Smith and to @PeterJones as I had exactly the same question.

      I changed my username slightly with the new system and so, although I had copied session.xml, it was silently failing due to the different username in the file paths.

    • unDrac86U

      Adding New Commands for PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      764 Views
      PeterJonesP

      @unDrac86 said in Adding New Commands for PowerShell:

      I’m looking for a way to edit or add to the lang.xml (or user saved configuration files to dump all of the commands in).

      For some languages, you can just edit the langs.xml. Just follow the config-file editing advice. For the CMDLET style, it’s under the instre2 group of keywords.

      51b389e1-881c-48f0-8816-953e696dd45e-image.png

      … but I’ve never tried adding 1650 words (so probably 8k bytes) to one of the existing keywords groups; so I don’t know whether the langs.xml will process an entry that big. But you can try it.

    • Chris Tanguay 0C

      Is there a possible way to REGEX "Trim Leading Space"?

      Watching Ignoring Scheduled Pinned Locked Moved
      9
      0 Votes
      9 Posts
      9k Views
      Alan KilbornA

      @Stefan-Pendl

      I guess you missed this from the OP’s first posting:

      So, Notepad++ has the “EDIT —> BLANK OPERATIONS --> TRIM LEADING SPACE” function, which takes care of all those pesky leading spaces & tabbed spaces. But, even as a MACRO, I have to run that function one file at a time, and it’s slower than I’d like.

      I was hoping there might be a way to REGEX this, so I can use the FIND/REPLACE along with the “REPLACE ALL IN ALL OPENED DOCUMENTS”.

    • ISMAIL ISMAILI

      CTRL+H Help Me Please

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      2 Votes
      6 Posts
      284 Views
      ISMAIL ISMAILI

      @Alan-Kilborn @Nuri-UTKU

      Thanks Nuri, I’ll take that into consideration.

    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors