• 1 Votes
    6 Posts
    4k Views
    Pouemes44P

    hello Nabodita

    can you paste here some word that you have to undrstand

  • 0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Your method will mostly work as long as you’ve got Settings > Preferences > Backup correctly enabled, and you have a short enough backup time. If you want to make sure it’s got enough time to register the changes in the file, add a sleep($time) before the check, where $time matches your NPP backup interval.

    I would probably add a test for existence of the backup file, not just it being listed in session.xml. (I just ran an experiment, and a minute after my most recent save, when the backup file was gone, session.xml still listed the backup file). I would also use -M to check the modified-time of both the original and the backup, since I found outdated “backups” in my backup directory that were months out of date (probably remained open after a reboot or crash).

    Also, if you find that the file hasn’t been saved yet, you could also use Win32::OLE or Win32::GuiTest to force NPP to save the file, if you wanted, instead of just pestering yourself with a message box. But that’s up to you.

    PS: Perl is not an acronym: “Perl” is the language, “perl” is the executable/interpreter, “PERL” is a backronym.

  • Shortcut key or toolbar button to quickly toggle Document List Panel?

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    MAPJe71M

    Plugins - LuaScript - Edit Startup Script.

  • Notepad++ hangs when coverting line endings

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    asman2000A

    I checked and on my machine your example file hang Notepad++. But when I started cut your file to smaller one then I figured out that operation just take some “huge” time to convert EOL. On my machine conversion of 16000 lines took about 5 seconds. So you have about 1 000 000 lines so it will takes much more

    I converted this file to UNIX (LF) successfully with other text editor without any “hangs”

  • 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
    991 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
    949 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