• GUP.EXE HASH CHECKSUM

    4
    0 Votes
    4 Posts
    457 Views
    Terry RT

    @vijay-kumar
    This poster replied to what they started here in another new thread here.

    The replies appear to have satisfied them.

    Terry

  • How to view encoded string as text

    6
    0 Votes
    6 Posts
    1k Views
    toubeptT

    @mkupper Thank you for your thoughts on this. The strings are from hackers. They aren’t getting in. I wanted to have an automatic script to block them when they try since they try over and over. I know I can use regex to do that but I also wanted to see what they were looking for to see if it is something that might need tightening up. I would have a report that said something like, “10 attempts to access example.php”. But that seems not to be a simple thing so I will just block them with regex and leave it at that. Thanks, again.

  • Bookmark / pin files

    6
    0 Votes
    6 Posts
    6k Views
    BorisAdamsB

    @David-Shepherd Worked for me - thanks. The first time, when I right-clicked from Windows Explorer I selected “edit”, and the file opened in Notepad++ but the file didn’t appear in the taskbar for np++. Then I went to “Open with…” and selected it, and got it in the taskbar, and can pin it - just as you say.

  • Files have vanished

    2
    0 Votes
    2 Posts
    263 Views
    Terry RT

    @Dennis-Golding said in Files have vanished:

    Any thoughts anyone?

    I would suggest reading one of the FAQ posts here. The section titled Scenario: My (unsaved) files are missing! is particularly relevant to your problem.

    Good luck
    Terry

  • Context menu entry in the potable version of Notepad++

    33
    2 Votes
    33 Posts
    7k Views
    rdipardoR

    All the same, I think any feature request for a more system-integrated portable version is better placed with a project that deals exclusively with packaging. Scoop and winget are just the first two that come to mind. There’s even a close-sourced project distributing MSI installers.

  • Installer vs. zip in WIndows 10

    26
    0 Votes
    26 Posts
    4k Views
    mkupperM

    @PeterJones said in Installer vs. zip in WIndows 10:

    @mkupper

    One issue is that it’s not clear if @donho has clearly defined the differences

    Looking at this code, it is intentional (though maybe no longer applicable; I doubt he’s checked again on Win8 or later).

    Thank you. The code looks good. There are some weird edge cases such if on an x64 system if you install an x32 version of Notepad++ in the x64 folder and try to make that installation a doLocalConf.xml portable installation then it would work as you wanted but for the wrong reason…

  • feature requests: 2(3) new folding commands

    10
    1 Votes
    10 Posts
    503 Views
    Victorel PetrovichV

    @Lycan-Thrope

    I saw nothing condescending in his response to you at that time

    Neither did I.

    (after having to read back on a 2 years old post)

    Nobody forced you to do that (if you’re volunteer here).

    It’s a straight forward answer to your rhetorical statement.

    It’s not. If people want some kind of feedback, that’s not necessarily from developers.

    Otherwise one must take your “Feature Request” posts as a plea for attention that would otherwise not be received by simple discussion.

    If you want to understand - if you want to! - my tone sometimes appears formal (and more so in the past) because English is not my first language, and I’m more used to academic language than informal one. “Simple discussion” whatever that means , is always good, never wanted more.

    One with reading comprehension, would understand that, and not take offense to people trying to help you function better in the environment of the forum.

    I didn’t take offense. Yeah, maybe I don’t have reading comprehension. Maybe I’m autistic, maybe I’m mental??? maybe maybe.

    Happy? Achived your goal of trying to offend someone?

  • MSI Notepad++

    2
    0 Votes
    2 Posts
    331 Views
    Terry RT

    @Edson-J-Teixeira said in MSI Notepad++:

    Gostaria da versão MSI, para colocar no M.Intune, versão atual é possível

    Translated as:
    I would like the MSI version, to put in M.Intune, current version is possible

    There have been many similar requests on this forum. This post where the developer @donho responds to such a request is his latest on this. His answer was no.

    Please be aware that most users on this forum use english as the posting language. See this post, paragraph starting with English is the primary language of this Forum. If you choose…

    Terry

  • Suggestion: Find in Files from command line

    35
    4 Votes
    35 Posts
    8k Views
    mkupperM

    @Vitaliy-Dovgan said in Suggestion: Find in Files from command line:

    Notepad++ already has a very powerful Find in Files functionality (Ctrl+Shift+F).
    … (snipped) …
    If it looks like a good suggestion, let’s discuss the design here. E.g. what exact names to use for the command arguments, what exact behavior to expect from Notepad++, what other options we may want to set, etc.

    Based on the number of people chiming in with “I use ... from the command line” it appears they don’t see the finder built into Notepad as the best available.

    I myself have been using plain old findstr that is built into Windows but often use it in batch file wrappers that end up feeding the results into Notepad++ much like what the proposed -ff style command line options would do.

  • 3 Votes
    10 Posts
    539 Views
    mkupperM

    @RandalR - While I upvoted your original request at the top of the thread please don’t take it as a “vote” that the idea you presented should be implemented as how you proposed.

    Some sort of control over what gets added to the the recent files or history list is something I suspect many people have thought about at times. However, every time I start thinking through “that file should not be in my recent files or history list” I recall instances where it was useful that the file was recorded in the history. Thus for myself, I’d continue with allowing everything to get recorded in the recent file history even i an option was available.

    I proposed a workaround of using separate copies or instances of Notepad++ dedicated to files that you know you don’t want to ever show up in the recent files or history of your main copy of Notepad++. While that works for managing the history list the idea also runs into the already known can of worms, Pandora’s Box, of how to gracefully handle multiple instances… There is interest in eventually solving the instance problem.

  • FIND is not returning any results

    12
    0 Votes
    12 Posts
    1k Views
    PeterJonesP

    @Robert-Harrison-0 said in FIND is not returning any results:

    Both Debug Info are identical as shown in a previous reply.

    Then you have some magic going on that I cannot reproduce, because Notepad++ does not treat files opened via Explorer Context Menu and files opened via File > Open any differently.

  • Replace numbers between quotes

    5
    0 Votes
    5 Posts
    776 Views
    guy038G

    Hello, @ivantiguy, @terry-R, @Coises and All,

    Here is the way I would choose to achieve your goal :

    From your present INPUT text : <Locations Seq="3396" DbRevision="670"> <Updates> <Location FRS_ID="30CD802CC0A744248253F1F869AADD8A" Frs_CompositeContract_Entity_Id="bdc85ad4-9e4d-e311-ba73-005056a60016" DisplayName="Canada"> <Updates> <ivnt_FullName> <First> - Canada</First> <Second>DbNull</Second> </ivnt_FullName> </Updates> </Location> </Updates> </Locations> <Locations Seq="3397" DbRevision="670"> <Updates> <Location FRS_ID="B33153FEF4014CC6BAC40581564BC5E9" Frs_CompositeContract_Entity_Id="9d7073c2-9e4d-e311-ba73-005056a60016" DisplayName="Central"> <Updates> <ivnt_FullName> <First> - Central</First> <Second>DbNull</Second> </ivnt_FullName> </Updates> </Location> </Updates> </Locations>

    With the following regex S/R :

    SEARCH \R(?!\h*<Locations)(?!\R)(?!\z)
    REPLACE ;

    We get the temporary text, below :

    <Locations Seq="3396" DbRevision="670">; <Updates>; <Location FRS_ID="30CD802CC0A744248253F1F869AADD8A" Frs_CompositeContract_Entity_Id="bdc85ad4-9e4d-e311-ba73-005056a60016" DisplayName="Canada">; <Updates>; <ivnt_FullName>; <First> - Canada</First>; <Second>DbNull</Second>; </ivnt_FullName>; </Updates>; </Location>; </Updates>;</Locations> <Locations Seq="3397" DbRevision="670">; <Updates>; <Location FRS_ID="B33153FEF4014CC6BAC40581564BC5E9" Frs_CompositeContract_Entity_Id="9d7073c2-9e4d-e311-ba73-005056a60016" DisplayName="Central">; <Updates>; <ivnt_FullName>; <First> - Central</First>; <Second>DbNull</Second>; </ivnt_FullName>; </Updates>; </Location>; </Updates>;</Locations>

    Do a column mode selection of all the Seq numbers :

    Open the Column Editor ( Alt + C )

    Select the Number to Insert option

    Initial Number 7400

    Increase by 1

    Repeat 1

    Leading None

    Format Dec

    Click on the OK button

    => The temporary text is changed as :

    <Locations Seq="7400" DbRevision="670">; <Updates>; <Location FRS_ID="30CD802CC0A744248253F1F869AADD8A" Frs_CompositeContract_Entity_Id="bdc85ad4-9e4d-e311-ba73-005056a60016" DisplayName="Canada">; <Updates>; <ivnt_FullName>; <First> - Canada</First>; <Second>DbNull</Second>; </ivnt_FullName>; </Updates>; </Location>; </Updates>;</Locations> <Locations Seq="7401" DbRevision="670">; <Updates>; <Location FRS_ID="B33153FEF4014CC6BAC40581564BC5E9" Frs_CompositeContract_Entity_Id="9d7073c2-9e4d-e311-ba73-005056a60016" DisplayName="Central">; <Updates>; <ivnt_FullName>; <First> - Central</First>; <Second>DbNull</Second>; </ivnt_FullName>; </Updates>; </Location>; </Updates>;</Locations>

    Finally, with this second and final regex S/R :

    SEARCH ;

    REPLACE \r\n    ( or \n for UNIX files )

    We get the expected OUTPUT text :

    <Locations Seq="7400" DbRevision="670"> <Updates> <Location FRS_ID="30CD802CC0A744248253F1F869AADD8A" Frs_CompositeContract_Entity_Id="bdc85ad4-9e4d-e311-ba73-005056a60016" DisplayName="Canada"> <Updates> <ivnt_FullName> <First> - Canada</First> <Second>DbNull</Second> </ivnt_FullName> </Updates> </Location> </Updates> </Locations> <Locations Seq="7401" DbRevision="670"> <Updates> <Location FRS_ID="B33153FEF4014CC6BAC40581564BC5E9" Frs_CompositeContract_Entity_Id="9d7073c2-9e4d-e311-ba73-005056a60016" DisplayName="Central"> <Updates> <ivnt_FullName> <First> - Central</First> <Second>DbNull</Second> </ivnt_FullName> </Updates> </Location> </Updates> </Locations>

    Best Regards,

    guy038

  • 0 Votes
    5 Posts
    383 Views
    RatheriusR

    @Alan-Kilborn I shall try it, thank you so much for your help! :)

  • Open file in Workspace by typing its name?

    20
    0 Votes
    20 Posts
    1k Views
    Mark OlsonM

    @Maxitrol-Mat
    My guess (completely unfounded, just based on my general sense of what that plugin does) would be that the freezes happen because the plugin does something that can potentially be very compute-intensive whenever a buffer is opened or closed, or when you switch to a different buffer. If that were the case, you would expect to see freezes whenever you change tabs or open/close a file.

    I would further speculate that the freezes might potentially have something to do with the opened file being in a directory that contains a lot of files and/or subdirectories. The way to test this would be to try opening a file in the root directory of a huge tree (e.g., Program Files, Documents) and see if that triggers a freeze, then compare to what happens when you open a file in a small directory tree.

  • 0 Votes
    3 Posts
    233 Views
    lightning speedL

    @Paul-Wormer
    It’s works perfectly. Many Thanks

  • Why is there so much white space waste at the bottom of my files?

    3
    0 Votes
    3 Posts
    248 Views
    Marc GrossmanM

    @Alan-Kilborn

    Thank you very much!!!
    That answered the mystery

  • Connecting with NotePad++ users for product feedback

    Locked
    2
    0 Votes
    2 Posts
    205 Views
    PeterJonesP

    @Gregor-Schilling,

    This Notepad++ Community forum is solely for discussing the free-and-open-source Notepad++ tool, and its various plugins and uses. This is not a forum for discussing some other tool that you want to create and convince people to buy.

    As this discussion is off-topic for the Community forum, this discussion is being locked.

  • Bringing back the old (pre-8.4.6) filetab right-click context menu

    6
    5 Votes
    6 Posts
    1k Views
    MapleM

    @MarioVolarevic said in Bringing back the old (pre-8.4.6) filetab right-click context menu:

    @Alan-Kilborn
    yay, thank you so much
    I just created a comment to add a note to the part of the instructions where you say “to put it where Notepad++.exe lives”, as it might not work for everyone.
    In my case I had to put it in folder :

    %appdata%\Notepad++
  • A little help with a regex (find & replace) ?

    9
    0 Votes
    9 Posts
    691 Views
    PeterJonesP

    @pickonedev said in A little help with a regex (find & replace) ?:

    I tried to find and learn by myself but it is far far far over me

    When you set out to learn the piano, you should start with “Row, Row, Row Your Boat” and “London Bridge”, and work your way up through Canon in D to Chopin and Liszt, over years of practice.

    The lesson: If you try to start with the more complicated, you will only end up discouraging yourself. Sometimes, with regex, it’s better to get a portion of it working, and then do the rest manually (so maybe try to search for something more generic that you can find, then use your own eyes to do the rest. Then, after more experimentation, you can figure out how to do more and more, until you can come up with pretty powerful regex.

    I want to add “sensor.variable_” to the lines which starts with "entity_id: " (even if there are spaces in front of it) but not contain the dot character " . "

    Okay, this isn’t a full concerto, but it is an intermediate etude.

    Break it into smaller chunks for developing:

    line starts with entity_id: even if there are spaces => ^(\h*entity_id:) ^ = line starts with \h* = 0 or more spaces entity_id: = literal text (...) = we want to save this chunk for later; it will be group#1 and referenced later as $1 but the rest of the line does not contain the dot character => ([^.\r\n]+)$ (...) = save the rest of the line as group#2 (later called $2) [^...] = make a “negative” character class, to define a list of characters that you don’t want to match [^.\r\n] = don’t want to match a literal period, or the CR or LF newline characters + = match 1 or more of the thing that came before – so in this case, “match 1 or more characters that are not period or newline characters” $ = match the end of the line thus, the only thing allowed for this portion of the search are characters that are not period or newline, and that extends all the way to the end of the line. It will thus match if the line doesn’t have a dot, and won’t match if it does. Put it together: you want the first group, followed by a space, followed by the second group: ^(\h*entity_id:) ([^.\r\n]+)$ Replacement: you want to replace it with the first group, then a space, then the new text, then the second group: $1 sensor.variable_$2

    ----

    Useful References Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation

    ----

    Please note: This Community Forum is not a data transformation service; you should not expect to be able to always say “I have data like X and want it to look like Y” and have us do all the work for you. If you are new to the Forum, and new to regular expressions, we will often give help on the first one or two data-transformation questions, especially if they are well-asked and you show a willingness to learn; and we will point you to the documentation where you can learn how to do the data transformations for yourself in the future. But if you repeatedly ask us to do your work for you, you will find that the patience of usually-helpful Community members wears thin. The best way to learn regular expressions is by experimenting with them yourself, and getting a feel for how they work; having us spoon-feed you the answers without you putting in the effort doesn’t help you in the long term and is uninteresting and annoying for us.

  • How To Keep Text Highlighting After closing the document?

    18
    0 Votes
    18 Posts
    7k Views
    Pika714444P

    @Alan-Kilborn

    I hope they do it ASAP because it will be a very beneficial feature for highlighting a specific important words/sentences/line in a large text output file , this is the feature i needed actually from the purpose of this post.