• Some characters are not displayed [Unicode]

    Locked
    21
    1 Votes
    21 Posts
    31k Views
    jablkaJ

    @Nazipa-M-m
    Hi all,
    just by chance, I have found the solution here:
    https://community.notepad-plus-plus.org/post/67983
    Simply in Settings | Preferences | MISC.
    enable the option “Use DirectWrite”…
    And restart Notepad++.

    We definitely needed this!

  • How to delete a mysterious line.

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Patrick-Laughter ,

    That’s a known issue with an underlying library. it has been reported to the library developers, but until that upstream library is fixed, it cannot be fixed in Notepad++.

    As a workaround, if you add the macro described in my post here, you can then use Ctrl+Shift+H to toggle the history off before printing, then toggle it back on when done printing (though, unfortunately, after toggling it back on, you may have to restart Notepad++). The other option would be to save, restart Notepad++, and then do the print (because the change history will be reset to no changed lines). Whichever workaround will help you get through your printing until the bug in the library can be fixed so that Notepad++ can be updated so that the problem is actually solved.

  • Specific Column Value to Rows

    4
    0 Votes
    4 Posts
    955 Views
    Shaun HillS

    @Terry-R

    Thank you for your response Terry. I’ll dig into @PeterJones comments as well as your advice. Appreciate the quick responses and will follow up as soon as I can.

    Shaun

  • CASE statement help lines

    7
    0 Votes
    7 Posts
    927 Views
    rvw80R

    @PeterJones
    now i see what you mean with that
    Settings > Style Configurator > Global Styles > Fold active color setting
    hadnt noticed that! that helps
    thanks for you replies!

  • Good old highlighting issue topic

    15
    0 Votes
    15 Posts
    843 Views
    SabuzakiS

    @PeterJones @Alan-Kilborn

    Thanks for fabulous help, case solved :)

  • column mode misbehaving?

    4
    1 Votes
    4 Posts
    301 Views
    dull riderD

    Than you all for your comments.

    It did turn out to be bettermultiselection - an update has fixed

  • Help with JSON and Scintilla Lexer

    14
    1 Votes
    14 Posts
    2k Views
    PeterJonesP

    For future readers:

    Approximately two years later, someone put in feature request #11713 to request this toggle. (They also put in a separate request #11676 to add all the features of JSON5/JSONC, not just comments.)

    update: This request was implemented and released in v8.4.9 in January 2023 (see release notes item 3)

  • Auto Backup and Recovery not working

    11
    0 Votes
    11 Posts
    2k Views
    xomxX

    @Geoff-Winkless said in Auto Backup and Recovery not working:

    It pops up the “waiting to close” window because of some other app that needs saving.

    Good info, but I am still not able to reproduce that with it (and get my session.xml emptied).

    I am working on this issue - could you please follow the instruction here?

    (then you can post content of your “nppLogNulContentCorruptionIssue.log” file here, if you do not have a GitHub account)

  • 0 Votes
    5 Posts
    2k Views
    Anton ReshetnikovA

    @PeterJones, thank you again! I appreciate your assistance.

  • Notepad++ Randomly Reset and I lost a project

    6
    0 Votes
    6 Posts
    745 Views
    himno2222H

    @Terry-R All right. Thank you for being so kind and answering.

    Have an amazing day!

  • Not saving when saving as, whether it is a new file or an edit

    6
    0 Votes
    6 Posts
    4k Views
    PeterJonesP

    @kip ,

    Another experiment: run MS Windows’ notepad.exe (not as Admin) and try to edit the file; see if it works. If it does work, then exit that, and try again to run Notepad++ (not as Admin) and try to edit the same file. If notepad works but Notepad++ does not, then something weird is going on.

    In that case, you might try to download a portable zip and unzip to a folder on your desktop. Then run that portable Notepad++ (close any other Notepad++ window first; then run the portable Notepad++ not as Admin) and try to edit the same file.

  • How to get search text's key value in xml file

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @ganesan-govindarajan, @terry-r and All,

    How are you ? Fine, I hope so ! Although I may have completely misunderstood your goal, I found out a very simple solution :

    Just follow carefully this road map :

    Open your XML file, containing your list of tasks, in Notepad++

    Delete any possible trailing list of references, located at the very end of your file

    => So, we start with that INPUT text :

    <task breaknbr="00" chapnbr="71" chg="U" func="100" key="TASK-712101100800" pgblknbr="601" revdate="20190915" sectnbr="21" seq="800" subjnbr="01"> <effect effrg="TAY/ALL" efftext="TAY/ALL"></effect> <title>title</title> <subtask chapnbr="71" chg="U" func="860" key="SUBTASK-712101860003" pgblknbr="601" revdate="20190915" sectnbr="21" seq="003" subjnbr="01"> <title>Data</title> <list1> <l1item> <para>para</para> </l1item> <l1item> <para>para</para> <unlist> <unlitem> <para>para</para> <para>para</para> </unlitem> </unlist> </l1item> <l1item> <para>para</para> <unlist> <unlitem> <para>TASK 71-21-01-100-80 para continues.</para> </unlitem> </unlist> </l1item> </list1> </subtask> </task> <task breaknbr="00" chapnbr="71" chg="U" func="100" key="TASK-712101100801" pgblknbr="601" revdate="20190915" sectnbr="21" seq="800" subjnbr="01"> <effect effrg="TAY/ALL" efftext="TAY/ALL"></effect> <title>title</title> <subtask chapnbr="71" chg="U" func="860" key="SUBTASK-712101860003" pgblknbr="601" revdate="20190915" sectnbr="21" seq="003" subjnbr="01"> <title>Data</title> <list1> <l1item> <para>para</para> </l1item> <l1item> <para>para</para> <unlist> <unlitem> <para>para</para> <para>para</para> </unlitem> </unlist> </l1item> <l1item> <para>para</para> <unlist> <unlitem> <para>TASK 71-21-01-200-801 para continues.</para> </unlitem> </unlist> </l1item> </list1> </subtask> </task>

    Move to the very beginning of your XML file

    Open the Mark dialog ( Ctrl + M )

    Type in (?-s)(?<=key=")TASK-.+?(?=")|(?<=<para>)TASK\x20[\d-]+ in the Find what : field

    Untick all box options

    Check the Purge for each search and Match case options

    Select the Regular expression search mode

    Click on the Mark All button

    => You’ll get the message : Mark: 4 matches from caret to end-of-file

    Click on the Copy Marked Text button

    Go to the very end of your file ( Ctrl + End )

    Enter few line-breaks, hitting the Enter key

    Then, paste the clipboard contents ( Ctrl + V )

    => From the INPUT text, you should get this temporary output below, after your XML contents :

    TASK-712101100800 TASK 71-21-01-100-80 TASK-712101100801 TASK 71-21-01-200-801

    Now, move the caret at the beginning of this new pasted text

    Open the REPLACE dialog ( Ctrl + H )

    Untick all box options

    Type in (?-s)^(.+)\R(.+) in the Find what : field

    Type in \2\t\1 in the Replace with : field

    Click on the Replace All button

    => Here you are ! You’ll get the final expected OUTPUT, below, under your XML contents :

    TASK 71-21-01-100-80 TASK-712101100800 TASK 71-21-01-200-801 TASK-712101100801

    Best Regards,

    guy038

  • Automatic insertion of line numbers into the text?

    2
    0 Votes
    2 Posts
    292 Views
    Alan KilbornA

    @NDCTechSupport

    Is there a Notepad++ macro or some such that I can use to automatically insert the current line number as text into a text file?

    Well, no, but probably something can be created to make it work.

    …would want the inserted line number to update when lines above the trace statement are added or deleted.

    Okay, but that would demand a pattern to this data; if it is ONLY a number per your request (“inserted line number”), then after the first replacement there is no pattern remaining to tell where this data should be adjusted… unless there are absolutely no other numbers appearing in your file.

    Such an automatic line number would most-commonly be used within a quoted string that’s being output.

    Instead of beating around the bush, why not just give a sample of what your ideal trace statement would look like? And then we’ll see what kind of help we can provide to get you there, or what kind of compromises you’ll need to make to make it feasible.

  • How Do I Customize the Toolbar?

    24
    0 Votes
    24 Posts
    21k Views
    PeterJonesP

    @Troglo37 ,

    No, it does not need to be changed to 24 hours. There is a good reason for a timeout on editing posts – namely, it can be used to “change the past”, and change the meaning of conversations, which is a bad thing. If you disagree, that’s your prerogative, but the timeout is going to remain – and it’s going to remain short relative to 24 hours (on the order of a few minutes).

    This timeout also encourages that users make use of the PREVIEW panel, which is enabled by default and shows how your post renders. And deleting posts – as long as it doesn’t change the flow or meaning of the conversation – is the acceptable way to remove information that has passed the 5min edit timeout.

  • E-mail (Mail.to) Plugin Feature

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Troglo37 said in E-mail (Mail.to) Plugin Feature:

    I’ll just have to use the long way you pointed out.

    The “long way”, which is only one click more than having to navigate down into the menu system in Notepad++ to find the menu entry that the plugin creates, or maybe two clicks more than just clicking the toolbar button that the plugin adds.

  • Lost important document after upgrade to v8.4.6 (64 bit)

    6
    0 Votes
    6 Posts
    401 Views
    Alan KilbornA

    @Alan-Kilborn said in Lost important document after upgrade to v8.4.6 (64 bit):

    Maybe that is a perfectly reasonable place

    (again, for a noob)

  • How to remove vertical red lines

    9
    0 Votes
    9 Posts
    7k Views
    Alan KilbornA

    @Snabel42 said in How to remove vertical red lines:

    the site could probably benefit from some more “marketing” around new features

    Or, users could notice something new and think “wow, Notepad++ developers have added something new, I need to find out what it is and how it this help me” As opposed to just screaming “I have no clue what it is but tell me tell me tell me how to TURN IT OFF!”

    I think people with the latter attitude would be lost on anything presented “with fancy pictures and blink-tags”.

    Sigh; human nature…for some humans.

  • 0 Votes
    2 Posts
    323 Views
    PeterJonesP

    Topic restarted in separate thread

  • remove hyperlink

    3
    0 Votes
    3 Posts
    380 Views
    Richard BulmerR

    @PeterJones thanks

  • How to turn off (again?) light grey background color at left border?

    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    If you want to switch off all good functionality in Notepad++, perhaps consider using this alternative, which comes with Windows:

    c73117b9-0e79-49c9-9e8b-9208cc7f76b6-image.png

    Go to the Windows menu, and type notepad.exe and press Enter.