• Can i only use Google, FB and so on to create account / log in here?

    6
    1 Votes
    6 Posts
    254 Views
    J

    @PeterJones OK thx.

  • Can't receive dragged text from the latest Notepad++ release

    18
    0 Votes
    18 Posts
    761 Views
    gerdb42G

    Glad it helped ;-)

  • I need to riduce my text. Easy problem

    2
    0 Votes
    2 Posts
    189 Views
    PeterJonesP

    @Alberto-Massaro ,

    Sorry, I guess I don’t quite understand what you want – or rather, I’m not sure why choosing “xml” isn’t sufficient. Clicking on the +/- next to a collapsible section is the way to collapse a single level (or you can use the View > Collapse/Uncollapse Level submenus to affect all levels at the same time.

    Are you saying that you don’t actually have XML-like <> around the Boy and Woman, and you still want the ability to collapse? That’s doable with a UDL, but it would take knowing what your file format really looked like to know for sure.

    For example, if your file format looked like

    * Boy | mick | patrick | steave end * Woman | Erika | Giudith end

    Then you could set up a UDL (user defined language), where yould define * as the start of folding and end as the end of the folding block. (Unfortunately, I don’t know a way to set a blank line as the end of a UDL folding block, sorry.)

    9797ed65-1a9c-40bf-a6d2-c6cb1a6c1ffe-image.png

    If your data looks different than that, then you’ll have to give an example – after tying the example data, select it all and hit the </> toolbar button in the forum, so it goes in black box, like my example data above does

    With example data, we might be able to come up with a UDL folding definition that would work for you. But there are limits as to what will and won’t work.

  • Line sorting not working in some cases

    5
    0 Votes
    5 Posts
    341 Views
    PeterJonesP

    @Alan-Kilborn ,

    Maybe it should also say what I said, how to convert the lines.

    https://github.com/notepad-plus-plus/npp-usermanual/pull/219

    So the sort and duplicates EOL paragraphs now direct you to read EOL Conversion to find out how to do the fix, and the EOL Conversion paragraph mentions converting once or twice to fix the mixed-eol situation.

  • 0 Votes
    25 Posts
    5k Views
    Joe HalleckJ

    @Softone_
    Same issue here with latest version of Windows 10 and Notepad++
    I opened an issue with my build details.
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9850

  • Panel layout corruption after power loss

    3
    0 Votes
    3 Posts
    545 Views
    Ron PrestenbackR

    @PeterJones OK, thanks - I’ll follow up in one of those threads.

  • 0 Votes
    20 Posts
    1k Views
    Alan KilbornA

    @ImSpecial said in UTF-8 encoding for new documents - This a bug, an oversight or intended behavior?:

    My concern with upgrading files other then 0 byte ones, is that I very often will have my own copy of something and like to compare it against the original, which might be in ANSI, and when doing compares with the notepad++'s Compare plugin, it will complain that the encodings are different when doing so.

    So, again, this “upgrade” will only take place if there are no characters in the file that would make the file ANSI. Meaning, there are no characters with byte values from 128 to 255.

    If you intentionally work in ANSI most of the time, presumably your files WILL contain characters with byte values from 128 to 255 (because otherwise, why work in ANSI).

    Thus, with your “compare” scenario, your fears probably aren’t realized, as you pull the first (base) file in, it is detected and shown as ANSI. Same thing when you pull the second (changed) file in. So when you go to do the compare there is no encoding difference.

    Perhaps that’s not the reality of it, but that’s how I see it. :-)

  • An experience to share

    4
    0 Votes
    4 Posts
    314 Views
    PeterJonesP

    @W-TX said in An experience to share:

    At the following comment, I hoped that Notepad++ to have a function that can simplify search and reverse search a keyword using 1 keystroke:
    https://community.notepad-plus-plus.org/topic/19879/double-clicking-over-a-word-function-works-great-but-it-can-be-much-greater-than-ever

    It can, as we already told you in that other thread. That keystroke is Shift+Ctrl+F3 (Select and Find Previous) or Ctrl+Alt+Shift+F3 (Select and Find Previous - Volatile). Keystrokes with modifiers are still considered a “single keystroke” in the Windows world. If you disagree with that definition, fine. Then just use *Preferences > Shortcut Mapper to change the keystroke for Select and Find Previous. We told you this in August of last year. What part of that advice did you not understand.

    After long discussions with some experts here, they show no interest in it, but I really need the function.

    I have no interest in you asking the Notepad++ developers to break a feature that I use on a daily basis; instead, I want you to use the feature that you asked for that already exists.

    I am a hardware designer, using the VHDL language. During the hardware design process, a signal is defined on part A, implemented on part B, used on part C, D, … To make sure a signal is in a coherent designed state consistently through coding, one must repeatedly check the signal through a code file. That is why 1 keystroke action to search forward or backward for a word is very important to my job: save time!

    And that’s why that feature exists in both menus and via keystroke, and why Notepad++ allows you to define whatever keystroke you want for that action. There is no reason to break a different action for other users so that you can have another copy of a feature that already exists.

    I accidentally came across to find an ideal solution to the above request a month or two later after the post.

    Screenshot (411).png

    Wow! Impressive! This solution that you “accidentally came across a month or two later after the post” was exactly what Alan and I had suggested you do back in August 2020: remap the keystrokes so that the keys are ones that you are happy with. Congratulations.

    I don’t know how to search for my post on this website

    Click on your icon in the upper right (the W in a circle), then click on your name in that pulldown (W TX); on that new page, it will show your most recent posts. If you need to go farther back in time, hit the ⋮ button, and select Posts, which will show all your posts. Or, if you want to search for a particular one, click the 🔍 search button, in the search box enter the text you want to look for (maybe search next), and in the Advanced section, click in Posted By, and enter your own user name (W TX), like this

  • 2 improvements!

    21
    0 Votes
    21 Posts
    1k Views
    Alan KilbornA

    @W-TX said in 2 improvements!:

    I purposely create a new topic about the topic we have discussed here.

    I suppose you mean THIS.

    I clearly know what I want and how to enhance the Doc Switch panel functions

    Good luck with that.

  • 0 Votes
    3 Posts
    813 Views
    Alan KilbornA

    Notepad++ developers don’t tend to make any changes to Document List panel functionality.
    I’m not sure why that is.
    I don’t think I’ve seen it change one bit in the long time I’ve used N++.
    (I guess I am glad I don’t use it.)

  • Operations with spaces

    2
    0 Votes
    2 Posts
    184 Views
    PeterJonesP

    @Сергей-Никольский ,

    Something was lost in translation, because the entry names you use do not exist in the default English translation. However, you seem to be complaining that Edit > Blank Operations > Remove Leading Space will remove leading spaces in the whole document, rather than just in the selection.

    If that is what you are saying, then you appear to be correct, as I have confirmed that with Notepad++ v7.9.5.

    Isn’t it time to fix it?

    If you would like to request that the developers give you the option to have that work “on selection” instead of “on the whole document”, you can look in the FAQ section and read the feature request or bug report FAQ entry. Until a request is made, they cannot know that you want that feature, so “isn’t it time” is the wrong question to be asking.

  • Syntax support blade.php for laravel

    2
    0 Votes
    2 Posts
    811 Views
    EkopalypseE

    @Константин-Сарапулов said in Syntax support blade.php for laravel:

    is it even possible?

    Only if someone takes the trouble to create a completion file.

  • "Keep this file in editor" - annoying.

    9
    1 Votes
    9 Posts
    2k Views
    PeterJonesP

    @Ams627 said in "Keep this file in editor" - annoying.:

    But the problem is, update silently doesn’t work if you disable File Status auto-detection. I need to disable it because of the constant prompts about files being deleted.

    That’s the design decision that was made in Notepad++. It will update contents silently if set to silent, but a file disappearing out from under you was deemed important enough that it will warn you if auto-detection is enabled at all, regardless of the “update silently” option.

    If you disagree with that design decision, you can request that a new feature be added (see the FAQ), but requesting a new feature doesn’t guarantee it will be implemented, nor how long it would take to implement it.

  • Problem with big files (50+MB)

    5
    -2 Votes
    5 Posts
    1k Views
    PeterJonesP

    @User-Name said in Problem with big files (50+MB):

    For example 300MB c++ file I can’t replace any text. It caused 50 second pause… I need just disable c++ language and set as text ?

    It’s what, more than 5 million lines of code (LOC) to get 300MB of source code even for dense code? All in one file? Yikes, talk about a maintenance nightmare!

    I ran some experiments with a dummy c++ that looked like

    #include <stdlib> int main() { return 0; } int dummy(void) { return 32; } int dummy(void) { return 32; } int dummy(void) { return 32; } ...

    … with enough copies of dummy to get about 1M LOC for about 32MB file length.

    In Language=C++, a search-and-replace for 32; to 23; took 2-5min. Switching to Language=None/Normal Text and replacing the other way dropped to 1-2min. For my 8-core CPU, it was pegging one of the 8 cores at 100%, whereas the other cores were all sane usage levels. (My guess is that the search-and-replace is implemented in a single thread – at the scintilla/boost level, so not something that Notepad++ source code could change) because it’s a linear activity, so it doesn’t make good use of multiple cores)

    Huge files are hard to handle, especially in applications like Notepad++ that keep the whole file open in a single buffer; it makes for large memory requirements and for large cpu requirements when doing whole-file activities. Turning off the lexer (Language menu) and not using View > Function List feature will both speed things up, as will not having plugins working in the background. But at hundreds of megs, it will still be slow, and probably slower than you would like.

    I cannot imagine a corporate code-style-guide that would allow a single source file to be 300MB / 5M LOC. Even if filesize or LOC-per-file aren’t mandated or given guidelines, I cannot imagine maintaining a single file that has grown that big – whether in a corporate situation or in a personal or open source project.

    As a bit of advice, I would recommend, for the long term, refactoring that code into multiple files, which will be easier to maintain. If it’s mandated by management to not spend time refactoring, explain to them that even activities like simple search/replace calls will take 5 minutes each, and that it can really add up. If they still won’t approve the time to refactor, I feel sorry for you.

    If you’re stuck with 300MB source code, I might recommend a streaming-style search and/or search-and-replace command-line utility, rather than Notepad++, so it doesn’t have to be all in memory at the same time. Gnuwin32 project on SourceForge has functional versions of grep for searches and sed for search/replace, which I use when I don’t want to load the whole file into memory (I like those because I have a lot of linux experience with those tools, and these are gnu-compatible versions, old but functional enough for me). Or the windows powershell command-line-environment has some good command-line tools, but I am not a powershell expert, so cannot recommend large-file or multi-file search-and-replace syntax. And support for grep/sed and/or powershell is not on-topic for this forum, so you’d have to find help elsewhere.

  • Non-unicode encodings discussion

    10
    1 Votes
    10 Posts
    1k Views
    Alan KilbornA

    @dinkumoil said in Non-unicode encodings discussion:

    for example CharTableGenerator.vbs

    For Pythonists that might want to generate the same data, here’s something short to make them feel comfortable:

    number_list = list(range(128, 255 + 1)) with open('CharTable.txt', 'wb') as f: f.write(bytearray(number_list))
  • Strange behavior of Find All in Current Document with Regular Expression

    5
    0 Votes
    5 Posts
    485 Views
    PeterJonesP

    @Todd-Hoatson said in Strange behavior of Find All in Current Document with Regular Expression:

    I didn’t realize that there is no automatic update feature in N++, so I didn’t think my version was so back-level. (Is it because I am using N++ portable?)

    The portable instance does not enable the auto-updater, because the auto-updater downloads the installer, which would really confuse users.

    If you’re unsure about the version, you can always look here in the Announcements thread, or at the official downloads page, or at the latest github release for the truly most-recent release… Or you can look at the same URL as the updater uses (https://notepad-plus-plus.org/update/getDownloadUrl.php) to see what version is being pushed to the updater as “most recent” (that XML at that URL only gets updated once the developer is convinced a release is stable enough to go to auto-update)

  • Limit File Types in 'Save As Type'?

    2
    0 Votes
    2 Posts
    211 Views
    PeterJonesP

    @Don-Moore ,

    Go to Settings > Preferences > Language, then move the unused languages to the “Disabled Items” side (docs). This has the primary effect of hiding those language types from the Language menu, but it also has the secondary effect of removing those languages from the SaveAs list as well, which is what you want.

    Also, if you select the Language entry before doing the Save/SaveAs action, it will automatically select the right entry from that drop-down.

    Altnerately, if you have Settings > Preferences > MISC > Set save dialog extension to *.*, then you can just type the extension you want, and that extension will be applied and Notepad++ will automatically assign that file to the right Language menu entry, just like when you load a file with that extension.

  • Difference between the 7zip and zip versions?

    3
    0 Votes
    3 Posts
    465 Views
    klepp0906K

    @Alan-Kilborn hash match n all? dont understand it. will have to keep playing around and see i suppose. for now im “locked-in” to downloading the 7z variant lol.

  • Notepad++ for mac

    11
    0 Votes
    11 Posts
    186k Views
    phenomenal11P

    @Jesper-Knudsen Please make this a separate post and tag the dev directly. I see myself using macbooks in the future and np++ on macos would be a goddamn treat

  • How come there isn't a version to stand for BLM?

    1
    -4 Votes
    1 Posts
    152 Views
    No one has replied