• How Do I Set Lines In Alphabetical Order?

    Locked
    7
    0 Votes
    7 Posts
    22k Views
    Matthew BullM

    It worked, thank you once again lol. :D

  • UDL comment folding problem for EOL (LF)

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Claudia FrankC

    @asman2000

    it looks like it is also related to the delimiter.
    Using your latest example, if I add a space after each “a” it is set correctly.
    And if you play with removing this space you see the opening folding sign jumping.

    Cheers
    Claudia

  • Help to set point

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Claudia FrankC

    @Jesus-Heras

    ¡De nada!

    Cheers
    Claudia

  • How to enter Greek characters

    Locked
    4
    0 Votes
    4 Posts
    10k Views
    PeterJonesP

    Wikipedia::Alt Code gives some history on the techniques.

    It should be noted that the + (and sometimes the numbers) in the ALT-(+3a3) sequence need to be on the numeric keypad.

    Oh, right, I’d also forgotten that Registry Key HKCU\Control Panel\Input Method\ value EnableHexNumpad must be set to 1 (create it as a String Value (REG_SZ)). After setting that and rebooting (or at least logging in), the ±sequences for unicode should work.

  • search function not working properly

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    WestJcW

    @Daniel-Fuchs

    I managed to find it by dragging.

    It was ’ hidden ’ behind the script screen.

    But is there also a button / button combination to press; to make it show up?

    And how could it just disappear anyway?

  • Can't set up backups

    Locked
    1
    0 Votes
    1 Posts
    984 Views
    No one has replied
  • Can I use "save as" with text saved to the clipboard within a macro?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ opening odd files

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    SonOfDiabloS

    Wow the fact that it wasn’t harder kinda annoys me o.0

    Thanks @AngryGamer I can stand to use Notepad++ once again :D

  • get notications

    Locked
    1
    0 Votes
    1 Posts
    944 Views
    No one has replied
  • 0 Votes
    6 Posts
    3k Views
    Linus F.L

    I’ll be damned! Just tried it again, and now it works as expected…

    Screenshot

    No idea, what has changed since the last time… Maybe just a glitch?
    Thanks anyway for your assistance.

  • Help with manually configuring theme

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Richard SteinbergR

    Never mind. I figured it out. XML tells you where in Style Configurator to find settings.

  • User-Defined Language: cannot make Extras2 work with Suffix1

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    The difference is probably because 'b and 'd will have normal digits (0-1 or 0-9) both before and after the 'b or 'd, whereas 'h will also have letters after. And since UDL defines it as a suffix, not an infix, it gets confused once there’s a non-numeric after the suffix. You might try to define all the hex prefixes you generally use in your Verilog in the Prefix 2 entry:

    <Keywords name="Numbers, prefix2">1&apos;h 2&apos;h 3&apos;h 4&apos;h 5&apos;h 6&apos;h 7&apos;h 8&apos;h 12&apos;h 16&apos;h 32&apos;h 64&apos;h</Keywords>

    However, if you happened to have an 11-bit segment you tried to access as 11’h75A, but hadn’t included 11&apos;h in your prefix 2, it wouldn’t highlight for you.

    Is there a reason you aren’t using the built-in Verilog lexer? It defaults to Verilog for extensions v, sv, vh, and svh; I added vams (using Settings > Style Configurator > Verilog > User Ext).

    I’m not a huge user of Verilog and its variants, but in the times I have been editing such files, I haven’t noticed any significant deficiency. It properly highlights any bitness for hex, binary, and decimal that I’ve noticed, and the other syntax I’ve used has looked reasonable.

    If there are words that aren’t getting marked up using the Verilog lexer, you can use the Style Configurator to add custom words: both INSTRUCTION WORD and KEYWORD have a User-defined box for extending what gets highlighted.

  • Selected Text Surround with quotes

    Locked
    6
    0 Votes
    6 Posts
    11k Views
    Key7iK

    Thanks @Claudia-Frank for explaining. Macro is working fine now…
    And thanks @dail . yes. that is the one.

    Appreciated

  • Search and replace

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Parpaluck209P

    @Helloiam-Thomas

    The easiest way, without regex:

    Select the bloc you wanna replace and press Ctrl+H. Npp fills the Find what box automatically, with the proper codes inserted (although invisible, unless you try Find in files first; the results panel will show the Find string with the \r\n codes inserted properly).

    Select the text to Replace with. Unfortunately, Notepad++ does NOT fill the box with the proper codes automatically. You need insert the \r\n codes at the end of each line manually.

    some text**\r\n**
    some other text**\r\n**
    Comments**\r\n**
    Comments**\r\n**
    \r\n
    (Value 1<)\r\n

    Go to the end of each line and press Delete (it deletes the EOL codes, LF or CRLF).

    It is a one line bloc now. Select the new bloc of text and paste it into the Replace with box:

    some text**\r\nsome other text\r\nComments\r\nComments\r\n****\r\n***(Value 1<)*\r\n

    Voilà!

  • How to show Emoji in npp?

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    Claudia FrankC

    @hh-hh

    Fonts are part of the operating system, so try to find one which fits your needs and install it.
    Afterwards use Settings->Style Configurator or define an UDL and choose the font you installed.
    Never tried it myself, but I assume it should work.

    Cheers
    Claudia

  • langs.xml missing when starting notepad++ from batch script

    3
    0 Votes
    3 Posts
    2k Views
    johann woeckingerJ

    After some pausing & thinking i digged into the problem again and i think i was hit by https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3088. After reinstalling with (or better “without” the dont-use-APPDATA-option) it works like a charm.
    Sorry for bothering you,
    br johann

  • UDL limitations -- what's the alternate for syntax highlighting?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @fuhrmanator

    may I ask for what you need to define the blank lines?
    If I understand this correctly, it is only used to let the GIFT engine know when
    an new question starts.
    Even if it could be done, it doesn’t get visualized.

    What am I missing?

    Cheers
    Claudia

  • i want to copy same pregraph paragraph 5 time

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Jackson-Bruch

    for the sample data provided you could use a regular expression to search and replace
    Find what:

    (?s)G1 .*?G92 E0 ; reset extrusion distance\R

    and
    Replace with:

    $0$0$0$0$0

    This matches everything starting with G1 and ending with
    G92 E0 ; reset extrusion distance followed by an eol char (make sure
    you last line posted has this as well)

    5x $0 means 5 copies from what has matched.

    Cheers
    Claudia

  • open file shown in find results

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    jonhpJ

    thanks, the one thing I didn’t try. works great. jon

  • Regex matching two lines and results

    3
    0 Votes
    3 Posts
    5k Views
    iyxI

    Thanks a lot!!

    Works great.

    (“Bookmark line” need to be checked, but that’s obvious)