• Search and remove items within tags.

    13
    1 Votes
    13 Posts
    4k Views
    John Thompson 0J

    @Alan-Kilborn said in Search and remove items within tags.:

    @John-Thompson-0

    So what you’ve been given to solve your problem is one more most basic and core substitutions of this type that you can do.
    You can see the power of it now, I’m sure.
    Do yourself a favor and acquaint yourself with other similar techniques buy having a read HERE.

    I do understand your point. My old business partner and best friend for 20+ years was a programmer and I just could never get my head around it. Like, I can decipher a lot of what’s in the line but to sit down and write it myself? no way. But I suppose if I just started doing it I could. I mean isn’t that how most people learned html and css? I know it’s how I did. back 25 years ago.

    It’s been hard to get it. I’ve tried taking jquery courses and basic JavaScripting and it just never ‘took hold’ and got me interested. I suppose it’s because I never really ‘had’ to learn that like I did markup etc.

  • Is it possible to map multiple keys to notepad++ functions?

    26
    0 Votes
    26 Posts
    2k Views
    PeterJonesP

    @Anthony-Blinco,

    @Alan-Kilborn said in Is it possible to map multiple keys to notepad++ functions?:

    Regarding editor.search() – which is proper for this thread since we’ve been discussing PythonScript – why not just move your caret to an instance of that in your text and invoke Context-Help from the PythonScript menu, right in Notepad++ ?

    Am i looking at the right one

    http://npppythonscript.sourceforge.net/docs/latest/scintilla.html#helper-methods

    I’d give that a “no”.

    Specifically, the old sourceforge copy of the documentation is severely out of date.

    When you install PythonScript, it also installs a local up to date version of the PythonScript documentation, which can be accessed through Notepad++ menu Plugins > PythonScript > Context-Help (and, as @Alan-Kilborn mentioned, if your caret is on the editor.search() command, it should open the help to the right place). Use that for all documentation needs on PythonScript. But yes, it is in the helper-methods section of the editor object documentation.

  • Admin vs. non-Admin inconsistency?

    12
    3 Votes
    12 Posts
    550 Views
    gstaviG

    Based on the link that @mere-human found, Admin Notepad++ may be able to get drag and drop messages by disabling filters with a call to ChangeWindowMessageFilterEx.

    So there is point to file an issue.

  • Poor performance removing blank lines

    9
    0 Votes
    9 Posts
    828 Views
    Alan KilbornA

    @Ekopalypse

    Well, I guess.
    Sometimes there’s an art to data creation, though.
    For instance, perhaps really long lines impact how fast something will run.
    Perhaps the ratio of empty to non-empty lines makes a difference.
    Perhaps…perhaps…perhaps…

    I suppose it would have been best to have the OP’s data file, since it was the one that had the original complaint…

  • Win10x64, NPP 7.6.4 32bit, restoring last session not work after reboot

    10
    0 Votes
    10 Posts
    1k Views
    Laurie StearnL

    The explanation, solution and follow-up with the issue was suggested at Github, and ended up with the creation of two backup directories on the cloud for my two user names. All working well now. :)

  • Direct folders/Notepad++

    9
    0 Votes
    9 Posts
    650 Views
    Anthony BlincoA

    I thought so. Thanks for your help yet again.

  • Wrap at column 72 as i am typing

    10
    0 Votes
    10 Posts
    1k Views
    Anthony BlincoA

    That is super helpful. Thanks you guys so much!!

  • NppExec Prevent the console from being cleared

    4
    0 Votes
    4 Posts
    400 Views
    Anthony BlincoA

    Thank you very much. I will check that out

  • Modified lines appear as reverse video

    5
    0 Votes
    5 Posts
    206 Views
    Anthony BlincoA

    Thank you. I will have a look at that

  • is there a way to download the user manual?

    9
    0 Votes
    9 Posts
    3k Views
    PeterJonesP

    @scorpcat007 said in is there a way to download the user manual?:

    guess they closed the conversation. :(
    never understood why forums are in such a rush to close conversations. seems like this is still relevant.

    As one of the people involved in npp-usermanual issue#163, who put a lot of effort into solving the problem, and convincing the owner to incorporate the fix, so that the zipfile of usermanual will be downloadable for this and every future version of the Notepad++ user manual, I am rather frustrated that you would look just the word “closed” on the issue and thus complain here, without also looking over at the “accepted” label that is plainly visible on the same page:
    dfc70801-7f21-402e-b2be-25042641dd6b-image.png

    … and without reading down to the end, where you can see links to the three pull requests that went about implementing the request:
    35a557f4-d9e3-4129-af67-27fad8a6cb0f-image.png

    … or seeing the mention of the issue where the usermanual for Notepad++ v7.9.5 was released to the npp-user-manual.org website:
    4856b40e-9f05-4de9-b619-70e40542c3d5-image.png

    We weren’t in a rush to close the conversation… we were in a rush to solve your problem, and did our best to implement the requested feature. And once we did, and only then, did we close the request. The reason we closed the issue is because the feature was given to you, and had been published to the live website, as Alan linked.

  • Consolidate Forum Accounts

    6
    2 Votes
    6 Posts
    328 Views
    ?

    The admin deleted my old account. And I’ve renamed myself using the control panel:

    Use your current federated account to log in. Navigate to:
    https://community.notepad-plus-plus.org/user/your-current-user-name/edit/username Edit the user name in the form. Click “Change Username” button.

    My issue is resolved.

    In the future, someone would have to create a similar forum thread to get help.

    In my case, my old account had my name and no activity associated with it. So, it was an easy call to delete it.

    My problem came because I’ve cut ties with Facebook. So, if you’re likely to do the same, you might come here first and associate your forum account with a new ID provider. Then you can leave the old provider.

  • Bring window to front on opening file

    7
    0 Votes
    7 Posts
    2k Views
    Sasha BondS

    i can confirm that behavior - in win 10 enterprise
    if you run npp as Admin - it will not bring up front new file on opening
    if you run npp as non admin - it will
    see https://superuser.com/questions/498534/how-to-get-notepad-to-open-files-properly-in-windows-8

  • Bookmark specific line till next empty line

    4
    0 Votes
    4 Posts
    249 Views
    Isaac GohI

    @Alan-Kilborn

    This is what I need. Appreciate for your prompt assistant, thank you Cheer!!!.

  • TextFX Date & Time - short format not working

    7
    0 Votes
    7 Posts
    735 Views
    Neill GrahamN

    @Alan-Kilborn Thanks for taking the time to reply to my inquiry. I agree that in the past TextFX is awkward. It used to work to give me the date time function and permitted hot keys to be used. Now it just doesn’t work the way it used to. But I did find a solution in another thread that works for me in my current incarnation of Notepad++ v7.9.5 which I posted here in a reply to astrosofista.

  • Replacing regular expression ^. with nothing deletes everything

    3
    0 Votes
    3 Posts
    320 Views
    Anthony BlincoA

    Awesome! Thnk you very much

  • Installation on shared computer

    3
    0 Votes
    3 Posts
    3k Views
    Alan KilbornA

    @Jim-Van-Fleet

    Were you starting with the “portable” version of Notepad++?
    I’m not sure it is relevant, but what you’ve discussed makes me remember an issue concerning the portable version and the path to theme files needing to have a hard-path (exactly what you’ve done).
    Again, not sure it is germane to your situation…

  • Find/replace dialog clarity

    4
    0 Votes
    4 Posts
    185 Views
    EkopalypseE

    @Alan-Kilborn
    :-D 1st of … :-D

  • 1 Votes
    57 Posts
    44k Views
    PeterJonesP

    @David-Brigden52 said in Notepad++ File Status Auto-Detection not working:

    I use a dark theme rather than the default Would that make a difference?

    I could be wrong, but I cannot see how.

    not seeing this behavior. It irritates me.

    I can understand that.

    In full disclosure, I do sometimes see Notepad++ not update as quickly as I’d like – this screen capture was quite cooperative.

    Sometimes, I think it doesn’t notice until the system clock is about 1min beyond the timestamp of the file. (And I think I’ve even seen longer delays when the file was created on a machine whose time was off from my local machine.)

    I don’t know the full algorithm that Notepad++ uses, but my guess is that in the real-life circumstances, it’s a combination of Windows not having yet flushed the file to disk from the other process and Notepad++ not polling constantly (it wouldn’t want to spend all its cpu cycles on checking for changed files).

    In the contrived circumstances like my example derived from your instructions, I would expect pretty consistent behavior (since the individual processes of the time/copy-con commands will flush to disk when they close).

    If I’m ever getting impatient, I just use the File > Reload from Disk to make sure it’s up-to-date. (The funny thing is, that’s sometimes accompanied a few seconds later by “this file has been updated”, when it then updates to the state of the file that I just manually updated to).

    You might try experimenting with the MISC > File Status Auto-Detection settings… maybe having recently changed from one to the other enabled the algorithm to work more consistently for me, or something…

    Unfortunately, I am out of solid ideas, and since such problems are often the combination of many factors, it may be difficult to come up with a complete solution. But hopefully someone else has ideas for you to test.

  • Right-Click Taskbar Icon to Open New Instance

    5
    0 Votes
    5 Posts
    341 Views
    Alan KilbornA

    Ok, so first, I was mystified at what was wanted, with a posting which had more words in the title than in the body. But, it appears Peter had some intuition for that, so…

    Second, I don’t see a lot of value in the suggestion. Sure, it’s fine, but would I like to see devs spend their cycles on that? Nope, I have other ways to do that function, that exist right now. I want to see devs spend their time on increasing real text editing value added functions.

    Third, opening a new instance of a running Notepad++ has some problems IIRC about saving any changed settings, or disabling backups, or some such.

    That all being said, I do run a second instance (typically a close-to-virgin instance), to try out problems people bring up right here!
    I create a Run menu item to run a current portable version using the -multiInst command-line parameter.

  • Colored "Find what:" zone

    20
    3 Votes
    20 Posts
    1k Views
    guy038G

    Hello, @Alan-kilborn and All,

    Thank, alan, for your feedback !

    Yes, I know that the Pos number, in the status bar, refers to exact position (starting from 0), in current file, of the first byte of the sequence needed to write a character, in a specific encoding ! For instance, the UTF-8 sequence of the 🎷 character, representing a saxophone, is the four bytes sequence ( F0 9F 8E B7 ). So, if you insert in a new tab, the string A🎷Z0 you can jump, with the Search > Go to... feature, when the Offset radio button is set, to :

    Pos 0, right before the A letter

    Pos 1, right before the 🎷 letter

    Pos 5, right before the Z letter

    Pos 6, right before the 0 digit

    And, if you try the offset 2, 3 or 4, which are all within the UTF-8 encoding of the 🎷 character, you would just jump to the next Z char !

    This behavior is now correct, because I created an issue about this problem. Refer to this issue !

    Now, I think that you’re right regarding your assumption about the two bytes used by a char, over the BMP : this has really something to do with the two bytes of the surrogate mechanism !

    For instance :

    The regex to get the 🎷 character, use its surrogate pair \x{D83C}\x{DFB7} ( as we cannot use its complete hexadecimal code \x{1F3B7} )

    The general regex (?-s).[\x{D800}-\x{DFFF}] finds any character over the BMP ( Basic Multilingual Plane ), so with code-point over \x{FFFF}

    BR

    guy038