• Scripts: Creating & Editing

    7
    0 Votes
    7 Posts
    27k Views
    MAPJe71M

    CS-Script plugin - uses C#-script language and is available for both 32 and 64 bit Notepad++.

  • TWO RESULTS IN A SAME LINE

    Locked
    2
    -1 Votes
    2 Posts
    839 Views
    Herb MartinH

    Can’t figure out what you want to replace exactly (from the description) but based on the title and general idea I 'll give an example that you might modify to achieve your real goal:

    I want to find lines starting with abc and change MISTeak later in the line to CORRECTED without changing anything else, using Replace dialog with Regular expresions:

    Find: ^(abc.*)MISTeak

    Replace: $1CORRECTED

    ^ start of line match only
    ( ) parens “capture” whatever is between them, you must write ( or ) if you need to match a real paren
    abc – match literally abc
    .* any characters, as many as are found including NONE.
    MISteak : those literal characters (can be marked case sensitive or not)

    $1 replace what you found in FIRST paren set, if you had () and () the $2 would be 2nd capture etc.

    Save your doc, try it, use undo if you make a mistake and if you seriously foul it up reload the saved doc from disk.

    Weakness (which can be fixed): What if MISTeak appears more than once in the line – there are ways to fix that too.

  • 0 Votes
    2 Posts
    804 Views
    Herb MartinH

    Two ideas:

    If you have Line numbers enabled then clicking out there selects an entire line and allows you to easily drag mark multiple lines.

    I didn’t know that until trying to answer your question so thanks for helping me learn something.

    When I select in the FIRST column and drag it marks lines – it’s easy to mark just on line that way or a long section, but then thatn’s the way I have been doing it for years, maybe decades (How long has NP++ been around?)
  • Failure in displaying Chinese characters

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • RegExpr search for utf8 chars not working anymore?

    Locked
    9
    0 Votes
    9 Posts
    3k Views
    EsboutiqueE

    @MAPJe71 Hi, you are quite right! Sorry for being such an IT-nitwit. But I will remember this for future questions, so thanks.

    Wasn’t my intention to get anyone to do my job, but I have spend to many days searching how to work with Notepadd++ that I have run out of time (so I put in my time and effort to get it down, but I cannot get aquinted with npp so quickly).

    I am really not good at forums and asking for help. I guess this was just a random panic reaction (also speaking the same language did it for me).
    I just found out that I can delete my messages so I will do so in order not to disturb the topic that I am posting this on. But just for getting this out to you, I quickly put it here.

    Thanks again and sorry for messing this topic up a little!

    Bye

  • Are there any plugins?

    Locked
    2
    -3 Votes
    2 Posts
    859 Views
    Jim DaileyJ

    … or even looking for them with a web search.

  • Problem with Encoding

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    PeterJonesP

    Based on the data you posted, I’d say your file was the binary format rather than the ASCII format – you might want to see if you can configure it to output ASCII instead. If it’s a binary file, then likely no general-purpose text editor (be it Notepad++, MSWin notepad, vi, emacs, …) will be able to natively recognize it. It’s not an “encoding” issue, in the same way that UTF-8 vs ISO 8859 vs Win-1252 vs …

    I think this question has nothing to do with Notepad++ (in that I think any other text editor – be it windows notepad.exe, vi, emacs, … – would give similar results when trying to open a binary file).

    I just spent 5 minutes via search engines and https://www.openfoam.com, and couldn’t quickly find a description of the output format(s) available. Sorry, that’s all the time I have to devote to it.

    My searches also revealed a forum at https://www.cfd-online.com/Forums/ . You may be able to post your question there: they might be able to help you either natively output to an ASCII text file, or to point you to a converter or post-processing manipulator to give you access to the coordinates.

  • how to move notepad++ on another PC

    Locked
    4
    0 Votes
    4 Posts
    17k Views
    Johnny De OliveiraJ

    Thank you for your answers, it work fine so.

  • Help- My PC crashed while editing and deleted my whole document

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Merav MooreM

    Thank you, I appreciate your response. Will try to follow the steps suggested there and see what happens :)

  • Copying contents between a specific string and a character

    Locked
    4
    2 Votes
    4 Posts
    1k Views
    Viktoria OntapadoV

    As usual, I really appreciate the answers, thank you so much to both of you for the solutions, explanations.
    The link to the other thread is invaluable as well to me, cheers for that.

  • documentation

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Loji_me95L

    @chcg what i mean is that i have to write a documentation about the bug and how i fix it , so i need to know the format and tha style that i have to follow because i have a project about notepad++ and i have to write how i fix it in a documentation

  • 0 Votes
    1 Posts
    720 Views
    No one has replied
  • WHY there is no PluginManager after v7.5.1???

    Locked
    2
    -1 Votes
    2 Posts
    2k Views
    chcgC

    See https://github.com/bruderstein/nppPluginManager/issues/80. donho doesn’t like the ad of the server sponsor.

    At least you could download if from https://github.com/bruderstein/nppPluginManager/releases and do a manual installation of the PM. Otherwise it should work as before.

  • TextFX- Error Messages

    Locked
    1
    0 Votes
    1 Posts
    731 Views
    No one has replied
  • Fontfont

    Locked
    2
    0 Votes
    2 Posts
    807 Views
    PeterJonesP

    Settings > Style Configurator > Style = Default Style, Font Style = [choose font from dropdown]

  • How to copy just (visible) collapsed text?

    Locked
    1
    0 Votes
    1 Posts
    840 Views
    No one has replied
  • Open with ... does not present Notepad++ as an option

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    PeterJonesP

    Are you using the 32bit or 64bit Notepad++?

    If it’s the 64bit, my guess is that this thread will solve your problem.

    Regarding being “verging on useless”: you do know that most apps, including Notepad++, have this File > Open dialog? Or that most (including Notepad++) have the ability to drag a file from an explorer window into the Notepad++ window, and it will automatically open it? Personally, I have Notepad++ almost always running, so it’s nearly as easy to drag the file as to right-click to open.

    But you are right, having file associations work properly is nice (which is why, back in the XP days, I quickly learned how to manipulate file associations in the registry myself, so that I could fix it when greedy programs assumed you always wanted it to be the default for all the file types it recognized, or when I otherwise wanted to customize things).

    If you aren’t on 64bit Notepad++, or if you are on 64bit but the other thread doesn’t help, please post more details: For example, please go to the ? > Debug Info..., click on copy debug info to clipboard, paste it into an empty Notepad++ tab, Ctrl+A to select all, TAB to indent, Ctrl+C to copy, and then paste it into your reply.

  • Format Lines or Words

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Steven-Rampmeyer

    For these functions you want a Word Processor not a Text Editor.
    What you have in Notepad++ is a Text Editor.

  • User Defined Language_NCL

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Since you didn’t link us to the NCL language style .xml file, or quote it here, or provide a sample NCL source code so we could see if it worked for us, there’s not a lot you should expect us to be able to help you with. (As always, with any user discussion group or other help forum, the more relevant details you give, including concrete examples of what works and what doesn’t work, the easier it is for someone to help you.)

    You said .../AppData/Notepad/userDefinedLang.xml. Did you really put it there, or did you put it into .../AppData/Roaming/Notepad++/userDefineLang.xml? Because those are two very different paths (on the first, you probably would have had to create the folders yourself; on the second, they should have already existed; and there shouldn’t be a lowercase “d” in the userDefineLang.xml).

    Please go to the ? > Debug Info..., click on copy debug info to clipboard, paste it into an empty Notepad++ tab, Ctrl+A to select all, TAB to indent, Ctrl+C to copy, and paste it into your reply. That will give us more information to help you, like whether you have a normal config (where the userDefineLang.xml should go in the AppData hierarchy), or a “local config” (aka standalone or portable installation, where userDefineLang.xml will be in the same directory as the Notepad++ executable).

    Looking for possible problems with your installation of the UDL (User Defined Language): If you look in the Language menu, does it list NCL (or similar) somewhere near the bottom, or does it go directly from Define Your Language... to User-Defined? If you click on Language > Define Your Language..., and then select either NCL (or similar, if it’s listed) or User Define Language (if NCL isn’t listed), and go through the various tabs in that interface, are there any keywords, number, formats, or operators listed? If there isn’t an NCL listed, and there isn’t anything in the User Define Language definitions, you haven’t actually installed the UDL like you think you have.

    In good instructions for installing a specific User Defined Language, the author/distributor should instruct you to use the Language > Define Your Language... > IMPORT button to load in their specific language. It will then show up under a specific name in the Language menu below the Define Your Language... but above User-Defined. This way, they aren’t telling you to delete all other UDL you’ve already defined.

    For example, I did a quick search for “NCL notepad++ UDL” and found this ncl.ucar.edu page, which has downloads for both a User Defined Language (syntax highlighting) and Auto-Completion. Those instructions explicitly use the “import” method for installing the syntax highlighting. Assuming that site is for the same “NCL” language that you’re mentioning (we cannot know, because you didn’t define what NCL is, either), then you might try to use those instructions with their definition.

    I hope all my random guesses as to what you wanted were able to in some way help, or at least point you in a new direction. If not, we may be able to help you better if you provide us with more information.

  • nul nul nul problem notpad++

    Locked
    6
    0 Votes
    6 Posts
    6k Views
    Sagor Ali BDS

    I am using installed version of Notpad++
    And i checked by run> %APPDATA% path and found the file when i opened this it is also showing was same condition.