• Notepad++ Editor layout

    3
    0 Votes
    3 Posts
    406 Views
    F

    @Alan-Kilborn Thanks man

  • How to make dspellcheck work when language is set to python?

    4
    0 Votes
    4 Posts
    418 Views
    Alan KilbornA

    @Terry-R said in How to make dspellcheck work when language is set to python?:

    See this post.

    That bit of text might very well result in an issue being logged against Notepad++, despite your follow-on wording. Not the end of the world, but, not appropriate, either.

  • Find dialog keeps opening multiple times when closed

    7
    0 Votes
    7 Posts
    468 Views
    James Dunn 0J

    @PeterJones Think I have found the culprit. Stardock WindowBlinds. If I disable that, the issue disappears.

  • how add specific character in the end of the line after one empty line

    4
    0 Votes
    4 Posts
    288 Views
    Reza SaputraR

    @Terry-R said in how add specific character in the end of the line after one empty line:

    @Terry-R said in how add specific character in the end of the line after one empty line:

    I note that you typed (space), I’m assuming there is an actual space (blank) character there, not the word inside ().

    As I said, I wasn’t certain of your statement so I went with my first solution. If the line you want to add ==== to was the ONLY line starting with a character that’s not the space (\x20) then the following should also work.
    Find What:(?-s)^[^\x20].+
    Replace With:$0====

    Terry

    Thank you so much brother. This is works very well.

  • Can I edit this file in Notepad++?

    5
    0 Votes
    5 Posts
    3k Views
    Terry RT

    @Don-Diegue said in Can I edit this file in Notepad++?:

    You say it’s possible to edit such file with a binary editor. Can you recommend one?

    No, and that’s because as has been mentioned already ( @PeterJones ) there will be a specific format to the data within the file. Changing lengths, or possible delimiters without knowing the exact format contained within will very likely lead to a corrupt file. Having said that again as @PeterJones said, the text portions might be editable without corrupting the file.

    But I would strongly suggest you do not edit this file with anything other than the “owning” application, which you say is Story LANGuage.

    Terry

  • How to set the default view

    13
    0 Votes
    13 Posts
    6k Views
    PeterJonesP

    @Bart-Terryn said in How to set the default view:

    As far as I know the -nosession setting should only prevent Notepad++ from reopening the files that you had last open.
    But apparently it does more than just this.
    Do you think I should open up a ticket for this?

    Download the portable v8.0-RC2 and see if it behaves the same in the newest version. If it does, then I’d say it’s at least worth reporting. If you put in a new issue, make sure to include the Debug Info for both v7.9.5 and v8.0-RC2 and say it happens in both, so that they know it’s not just a regression in v8.0.

  • SpellCheck help 12517 error when DL dictionary

    2
    0 Votes
    2 Posts
    296 Views
    Matt HarasimoM

    Found a workaround/solution myownself; I DLed the ENTIRE LibreOffice/Dictionary repo as a zip, extracted the folder /en from it, and copied ALL the files in that into the C:\Users\User\AppData\Roaming\Notepad++\plugins\config\Hunspell\ directory, overwriting what was there. Reload NPP, now works. Musta missed the file(s) that told NPP/DSpell how to use the .aff/.dic files.

  • Delete blank lines of multiple opened files

    16
    0 Votes
    16 Posts
    2k Views
    Ramanand JhingadeR

    @PeterJones Thank you very much, it worked like a charm!

  • How to delete lines with missing characters in certain positions

    6
    1 Votes
    6 Posts
    895 Views
    Alan KilbornA

    @Bpy72876175 said in How to delete lines with missing characters in certain positions:

    More of a business guy here not a coder, but I used that and just changed the character position as needed to Bookmark those lines

    But you seem to already know your way around Notepad++ pretty well, if you were able to “bookmark” matching lines and delete them.

    For others that might not be so savvy, here’s how it could have been done:

    Use the Mark All command on the Mark tab of the Find window to get lines with a “blank” in the appropriate column to appear in red and have a “blue ball” symbol to their left – the blue ball is the bookmarking symbol:

    Imgur

    Right click on a bookmarking symbol (actually anywhere in the column of the blue balls is fine) and a menu will appear, from which you may then choose Remove Bookmarked Lines:

    Imgur

    After executing that the bookmarked lines (and the blue balls) are gone.

  • Regex: Replace html links framed by html comments

    2
    0 Votes
    2 Posts
    190 Views
    Alan KilbornA

    @Robin-Cruise said in Regex: Replace html links framed by html comments:

    Maybe someone will need this solution

    Let’s please not post solutions to random things not requested by anyone.
    There could be an infinite amount of such things.

  • Add hyphenated word to Hunspell dictionary

    3
    0 Votes
    3 Posts
    365 Views
    Bill RobertsB

    Thanks Terry, that did the trick!

  • 0 Votes
    8 Posts
    410 Views
    Ramanand JhingadeR

    @PeterJones It worked for the files in my folder. Thanks!
    @guy038 I thank you also. You are terrific - the Regex Guru as some are calling you!
    @Alan-Kilborn I searched online and could not find a solution which is why I asked here. Please don’t get irritated. Thanks!

  • Regex: Find duplicate tags/words from some tags

    7
    0 Votes
    7 Posts
    2k Views
    Robin CruiseR

    Much simple solution:

    Search: (<p class="text_obisnuit2"><em>)(.+)</em>(.+)<em>(.+)(</em></p>)
    Replace: \1\2\3\4\5

  • Notepad++ crash by using NppFTP on Android Hotspot

    4
    0 Votes
    4 Posts
    369 Views
    gstaviG

    if the Notepad++ process crashes then there should be “something to do”. Most likely from NppFTP side. It is OK to fail to connect but it should not crash the process.

    Never used NppFTP but if its developer is active and responsive you should contact him and seek help. The ideal way would be for you to provide an easy way to reproduce the issue but that not always feasible. Some developers may provide you with an extra verbose debug version where you reproduce the problem by yourself and provide debug data.

  • openSession from dblclick

    7
    0 Votes
    7 Posts
    594 Views
    Alan KilbornA

    @MysticJay

    I’m not really following your meanings.

    but also forget al pending changes to the files is that session

    What does that mean?
    If you are invoking Notepad++ (from a no-Notepad++ -running situation), what pending changes would there be to “forget”?

    commandline parameters do not seem to be passed correctly to NPP when launching from Windows dblclick

    Well, my first comment on this would be “Notepad++ cannot control how it is invoked, so I’d think if command line arguments are not passed correctly, you should think about blaming whatever is running Notepad++, not Notepad++ itself”.

    However, there should be an easy test for this, as in your earlier post you said:

    The commandline is fine in CMD

    How could I debug what is passed to NPP?

    Do this:

    Close Notepad++ and then invoke the CMD command line and then go to the ? menu in Notepad++ and choose Debug Info. This will show the Command line: that Notepad++ was run with. Copy this data somewhere else.

    Then close Notepad++ and repeat the Debug Info check after running with your “double-click” setup. Compare the results with the CMD line approach’s results.

    But as I learned this is no BUG or feature request forum so there will be no one to fix this.

    We haven’t even determined what there is to fix yet.

  • 0 Votes
    6 Posts
    1k Views
    guy038G

    Hello, @robin-cruise, and All,

    I suppose that, if the sentence contains a single word, followed with a full stop like Paul., it should not be concerned by the replacement, ins’t it ?

    So, the correct regex S/R is :

    SEARCH (?-s)^(\w+)\b(.+)\b(\w+)\.$

    REPLACE \3\2\1.

    Notes :

    The \b assertions ensure that the group \1 and group 3 contain true words, i.e. the first and last character of group 2 are non-word characters

    In group 2 we just can use a greedy quantifier + ( not +? ) as we’re looking for the last word of current line, anyway !

    As the search regex contains three expressions with the + quantifier, this means that each group is not empty. And, in case of the minimal sentence Paul John., the group 2 is just the space char between the two firstnames !

    Best Regards,

    guy038

  • reorganize numbers/words inside punctuations

    3
    0 Votes
    3 Posts
    217 Views
    Handa FlockaH

    Thank you, it has been fixed using some other form, with:

    hello: +(?:\w+\|){N}\K(\w+)\|(\w+)

    to replace with

    $2|$1
  • Menu -> File -> Save session (is doesn't save the Bookmarks)

    10
    0 Votes
    10 Posts
    480 Views
    mere-humanM

    @Vasile-Caraus Works for me in version 7.9.5.
    Which version do you use?
    By the way, if the file was modified since the session has been saved, then the bookmarks would be off.
    This is expected, because the position of the bookmark is a line number. More lines - wrong position.

  • Notepad ++ version 7.9.5

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Thiago-Sasasinho ,

    The problem is, many of your words appear to be English, but when put next to each other, the phrase or sentence doesn’t immediately make sense.

    If English is not your native language, you might want to try writing in your native language, and plug it into an online translator like translate.google.com or deepl.com and paste the English results in the forum. (Before pasting here, you might want to paste it back into the English->NativeLanguage form, and see if it still makes sense.) If English is your native language, then I’m sorry, but we cannot understand you, and you are going to have to work on making sure there aren’t any typos, and that terms that take a special knowledge set are defined, and that you generate full English sentences, with clear subjects, verbs, and objects.

    On to specifics:

    does anyone use Notepad in the Iq option

    I assume you mean Notepad++, not Notepad, because those are two different applications, and this forum is about Notepad++.

    What is “Iq option” or “Iq option platform”?

    what are the commands used to make scrip

    What is “scrip”, and why are we expected to know what commands make it? Or is that a typo for “script”?

    type command of confluences between indicators

    I have no clue what that is trying to say

    and as if it were a hack, and robot

    again, no clue what this is intending to say.

    If I were to hazard a wild guess, I would say that “Iq option” is some other software platform that has a scripting or configuration or option language. So you can edit the text source code for that language in Notepad++. Even more wild guessing, after writing the script in Notepad++, you want to try to run it through whatever compiler / interpreter / executable comes with “Iq option”. If this is the case, then this Forum has FAQ that explains “How do I use Notepad++ to Compile my Source Code (or Convert My Text)?”.

    I hope that helps.

  • remove letters only in text

    3
    0 Votes
    3 Posts
    8k Views
    Handa FlockaH

    @PeterJones said in remove letters only in text:

    [[:alpha:]]

    @PeterJones It worked
    Thank you! and for the explanation I will try to learn from it