• Json search found field not dark enough

    Locked
    2
    0 Votes
    2 Posts
    481 Views
    EkopalypseE

    @bob-kraft

    how can you search using json viewer plugin?
    Afaik, json viewer shows only a tree like view of your current json file.

    If a normal search is meant, you can change the styling via settings->style configurator->global styles->current line background and/or smart highlighting

  • VS2019 debugging of Notepad++ source code yields admin mode

    Locked
    9
    1 Votes
    9 Posts
    1k Views
    PeterJonesP

    @Alan-Kilborn said:

    I did some of that same research.

    I assumed you would have. But I know that often, I just don’t come up with the right combo of keywords for google to give me the answer that I need. Sometimes it just takes another googler to find it for you – well, for me, anway. Obviously, I didn’t find it for you :-)

    I was hoping you would find a solution. There have been hints at work that a project or two down the road (so probably next year), I’ll be switching from my proprietary-program-language-to-support-hardware-A which I’ve been using for the last decade to a VisualStudio/C++ -with-proprietary-libraries-to-support-hardware-B… so if VS is going to be giving RunAsAdmin difficulties, I was going to want someone else to have blazed the trail to a solution for me. :-)

  • How to select *A to *B in Notepad++

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    @pranav-garware said:

    I don’t want to scroll down too long either

    An often overlooked N++ command is Begin/End Select on the Edit menu. Find where you want your eventual selection to start and run that command. Then find where you want the future selection to stop (maybe use a Find action for this…or big scrollbar drag…or whatever…) and invoke the command again. Blammo, you now have a big marked selection.

  • How to get correct syntax highlighting for Python 3 formatted strings

    Locked
    9
    1 Votes
    9 Posts
    3k Views
    Giulio.PortioliG

    Thanks all for the comments. Yes, adding those four lines to stylers.xml worked perfectly.

    I’m glad it will be fixed in the next release. I knew the issue must have already been picked up by someone.

  • Notepad++ crashing on startup

    Locked
    17
    0 Votes
    17 Posts
    6k Views
    PeterJonesP

    @Віталій-Лукіянчук said:

    Only -nosession helps.

    I just deleted AppData\Roaming\Notepad++\session.xml and it seems problem is solved.

    Glad it works for you now. (My guess is that you had either a file that no longer exists, or a file that does exist, but on a network drive rather than a local drive… By ignoring or deleting the old session, it stopped trying to access that file, and was able to properly load Notepad++.)

  • Need Assistance Regarding a Find/Replace

    Locked
    5
    0 Votes
    5 Posts
    687 Views
    Justin E. MillerJ

    I got it.
    Find my requested string:
    ^([A-Z])\w+\s+([A-Z])\w+,

    Replace with:
    \n$0

    Making sure match case is set.
    This separates everything out so that it looks like this:
    Bethys Grimlaw, a capable trapper. Has wild blue
    eyes, straight blond hair, a plain face, and a lean
    build. Described as sympathetic though dull.
    Spouse: Senn. 1 child

    Laval Heldsheath, a talented herder. Has large
    blue eyes, wavy red hair, a smooth face, and a
    stocky build. Described as adventurous though
    stubborn. Spouse: Mirri. 2 children

    Jakov Buckhorn, a talented trapper. Has close-set
    brown eyes, dry brown hair, a sculpted face, and a
    willowy build. Characterized as insecure and
    critical. Spouse: Arveera.

    Gothar Longborn, a competent farmer. Has
    knowing blue eyes, brittle auburn hair, a
    blemished face, and a sinewy build. Said to be
    gentle though coy. Spouse: Shatha. 1 child

    Eliminates the issue with lines with no children.

    Do a find\replace of “\r\n” replacing with nothing, changing to extended search mode.
    This made 2500 lines how I needed it out of a document that was originally 9,982 lines long.

  • Notepad++ generates corrupt files for Linux (Shell script)

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    Meta ChuhM

    @dinkumoil

    oooops, my apologies, i just wrote this from top to bottom, after already having done those settings.
    thanks for the correction before anything happens.

    upsi, klaro … ich sollte besser mitschreiben während ich was einstelle, statt danach aus dem gedächtnis.
    sorry, für meinen senf. war gut gemeint, bringt aber natürlich nichts, wenn dadurch das eol format nicht mitgespeichert wird.
    danke für’s ausbessern, bevor was passiert.

    glg

  • 0 Votes
    8 Posts
    897 Views
    Ricardo E. TrellesR

    UPDATE TWO:
    All my concerns and doubts in this post seem to be solved!

    Original, not modified, versions of NP++ come with style for JavaScript/“operator” set to black/bold. Surprisingly that makes all braces/brackets bold by default! One has to remove that original bold setting to have that match check shown with black/bold.

    It seems there is no way to set a full even background color for a language, except when it is embedded. JS (embedded) can be set, PHP too, actualy PHP is always embedded between <?php ?> tags, even if there is nothing else outside the tags. Contents of a JS file isn;t embedded when you check it by itself.
    I had the wrong impresion code of a JS file was shown in a light blue tint for the background, actually it has a white background (I would like to see it as it is when embedded, though!).

    Finally
    3. If one makes a new installation in a fresh folder and copy config.xml from another installation, this config.xml carries a line like
    <GUIConfig name=“stylerTheme” path=“C:\ …\np++previous\stylers.xml” />
    and previous stylers.xml continue to be used in the fresh new installation.

    So now everything is working basically well for me, I 'm happy, and very thankful to Meta Chu for the quick start.

    But I’ll be back. We need a better way to use sessions than having several installations ( or having to save/load sessions files all the time ).

    Thank you for the attention.

  • Batch delete a RANGE OF LINES in multiple files?

    Locked
    4
    1 Votes
    4 Posts
    1k Views
    Alan KilbornA

    @Mike-Mitchell

    Well…let’s see how it goes on your data…

  • 1 Votes
    3 Posts
    588 Views
    ThomasLeighT

    Looks interesting, thank You. I
    decided to use AutoHotkey as a workaround. I can ascribe a keyboard shortcut for it to insert the current date and time. Interestingly, it acts similarly to the TextFX - i.e. it obeys a user’s OS language. So instead of using native syntax to display a month’s name - I’ve used this:

    formattime, monthvar, , MM if (monthvar=01) (cmonth:="January") if (monthvar=02) (cmonth:="February")

    …and so on. And then, if I want to insert the current month’s name:

    send ...some nice %cmonth%
  • Notepad++ não localiza termo procurado existente em arquivo.

    Locked
    2
    0 Votes
    2 Posts
    730 Views
    Alan KilbornA

    @Leandro-Silva

    Can you provide a screenshot of your data and the Find window so we can see your settings? You haven’t provided much detail in order for someone to give help. Info on how to do a screenshot here is found in this link.

  • Bracket Matching in Batch files (.bat)

    Locked
    4
    0 Votes
    4 Posts
    770 Views
    rinku singhR

    in code of .bat do

    if “%tjkdrrdiiff%”==“” (goto notselecteditem) else (goto selecteditem)
    :notselecteditem
    bin\filebrowse UNPACK_REPACK_V3.8_FINAL file_contexts.bin,file_contexts,boot.img, “boot.img|boot;file_contexts” > bin\fil76elocate.txt
    set /p tjkdrrdiiff=< bin\fil76elocate.txt
    if “%tjkdrrdiiff%”==“” (goto ejhcnnsjdj)
    :selecteditem
    del /S/Q bin\fil76elocate.txt

  • Double click on file fails

    Locked
    3
    0 Votes
    3 Posts
    513 Views
    micstanM

    Removed it and reinstalled 7.7x32 didn’t help. removed and installed 5.86, worked, upgraded several iterations, at 7.7 problem reappeared. Copied my preferences, plugins, etc. to a safe area. Completely removed it, deleted folders, went through regedit and deleted all reference to notepad++. Worked up to 7.5.1 and only a minor issue with the old Coldfusion plugin that I had fixed before. I can work at it again or ignore it for the time being. The ColdFusion plugin is probably part of the problem and me forcing x35 may have messed up the “edit with Notepad++”, it appeared that there was enough of x64 left in the registry that windows was trying to start the x64 but only finding the x32 and could not keep it running.

    Thanks…

  • will notepad++ ever be released for mac?

    Locked
    3
    0 Votes
    3 Posts
    596 Views
  • 64Bit causing problems with windows 10

    Locked
    2
    0 Votes
    2 Posts
    471 Views
    Alan KilbornA

    @Alex-Boyd said:

    I would get a message stating to reinstall NotePadStarter

    AFAIK, something called NotePadStarter isn’t related to Notepad++ so I might look really hard at that for this complaint.

  • How to quick insert Unicode characters in Notepad++

    Locked
    2
    0 Votes
    2 Posts
    14k Views
    PeterJonesP

    @acapi said:

    Do I have to use the Charaters Map program and then past it in the window?

    There are other ways. If you have a small handful, you can build macros and assign keyboard shortcuts. Or you could use something like a pythonscript-based procedure that when it sees a certain set of characters (like \U+2261), it could back up and replace it with the unicode character. (There may even be a plugin that does that; I don’t know.)

    If you know the unicode number, like U+2261, you can use the Windows Alt-±hex notation. For example, hold down Alt, then use the numeric-keypad + key, then type the hex digits (where 0-9 should be on the keypad; a-f must be normal keyboard), then release the Alt key. Thus, Alt-+2261 puts the identical-to character.

  • 0 Votes
    3 Posts
    2k Views
    PeterJonesP

    This FAQ (https://notepad-plus-plus.org/community/topic/16178/faq-desk-why-does-my-docx-file-look-like-junk-in-notepad) explains, in English, why Word documents don’t work in Notepad++.

  • 0 Votes
    2 Posts
    818 Views
    PeterJonesP

    Notepad++ GUI is written with Windows GUI (win32) application calls, so without an interface like Wine which interprets those win32 calls, (from how I understand it) it would require a complete rewrite of Notepad++ to convert it to one of the standard Linux toolkits. At which point, the only real similarity would be that this new application used Scintilla as the underlying editor, and possibly tried to mimic the menus of the Windows Notepad++… That’s not going to happen (*). I’ve heard good things about how well it works in Wine or similar environments, so I think you should give it a chance there.

    (*: at least, not by the current Notepad++ development team; anyone who does it outside of that is really making a new application, and should not use the Notepad++ name.)

    Otherwise, there have frequently been discussions about “what’s the closest editor to Notepad++ in ___”, for MacOS or Linux, so search the forum archives for such. Since I’m not a linux texteditor expert, I don’t know which ones may or may not include bookmarking capability. I think the bookmarking capability may come from the scintilla component, in which case, any scintilla-based editor should have it. I searched for “scintilla based linux editors” and found this page, which lists linux and windows scintilla-based editors.

  • Find all in current document not working in Notepad++ 7.7 version

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    PeterJonesP

    @suruchi-sinha said:

    I have just upgraded to Notepad ++ 7.7 after upgrading I found that Find all in current document is not working . Now two panes are got getting opened.
    What is suggestion here.

    It is working for me, in v7.7 64-bit:

    My guess (you didn’t give much info) is that the Find Results window is not properly docked, and is floating off-screen or behind some other application window. This recent thread gave instructions to help find the window. Combining @andrecool-68’s suggestions with mine:

    Hit F7 (aka Search > Search Results Window) to try to bring the Find Results window into the foreground. If it’s docked in the Notepad++ window, it will show that docked window (similar to the end of my movie). If it’s not docked, it will bring the dialog window to the foreground… If you cannot see it, progress to step 2: Hit Alt+SPACEBAR, which should open up the FindResults title-bar-menu. If it opens the Notepad++ title-bar-menu instead, click in Notepad++ window again, and hit F7 again, then hit Alt+SPACEBAR again. It should bring up your normal Restore / Move / Size / Minimize / Maximize window – even if you cannot see it. If you are in an English-US locale with standard English-US keyboard, you should be able to hit M at this point to “move” the window. If you are in a different language, or have a different keyboard, you may have to use whatever keyboard shortcut is appropriate for “move” in your language. After hitting the Move keyboard shortcut, move your mouse to the center of your Notepad++ window and click. That should bring the Find Results dialog into your active screen. Now you can grab the title bar with your mouse, and drag it to the appropriate edge of the Notepad++ GUI to get it to dock.
  • // Moving my settings from an installation of NP++ to another //

    Locked
    2
    0 Votes
    2 Posts
    393 Views
    Meta ChuhM

    welcome to the notepad++ community, @Ricardo-E.-Trelles

    I don’t even think there are files I can copy from one installation to a new one and carry exactly all my settings. I usually copied session.xml and lately stylers.xml too to the new installation, but they don’t carry all the settings.

    the main settings are inside %AppData%\Notepad++\config.xml on regular installed versions of notepad++.

    to “clone” your complete notepad++, including all your customisations, from one machine to another:

    please install the same version on the second machine (must also be the same, 32 or 64 bit release on both machines) for 32 bit versions: copy the complete folder %ProgramFiles(x86)\Notepad++ from the source machine to the same folder at the target machine. for 64 bit versions: copy the complete folder %ProgramFiles\Notepad++ from the source machine to the same folder at the target machine. copy the complete folder %AppData%\Notepad++ from the source machine to the same folder at the target machine.

    best regards.