• reset search results window to what it was originally

    5
    0 Votes
    5 Posts
    281 Views
    PeterJonesP

    @Zephaniah-Waks-0 said in reset search results window to what it was originally:

    how can i mark this as solved

    This forum doesn’t have a mechanism for marking something as “solved”.

  • Cambio de color del fondo del editor

    4
    0 Votes
    4 Posts
    70k Views
    RobetutoR

    Para el Modo Oscuro: Settings>Dark Mode

  • Split at "Mark" into new file

    2
    0 Votes
    2 Posts
    167 Views
    Mark OlsonM

    @Andria-Baunee
    Nobody can help you unless you provide more specific information, like some example data and a detailed explanation of what you want.

  • Find > Selection Mode Extended; Help About

    7
    0 Votes
    7 Posts
    658 Views
    Alan KilbornA

    @TechnicalSup said in Find > Selection Mode Extended; Help About:

    I don’t understand how to use it.

    Sorry, I really can’t spend my time trying to help people that can’t follow instructions I’ve already provided. Good luck to you.

  • Strange Tab order when opening multiple files

    4
    0 Votes
    4 Posts
    275 Views
    mkupperM

    This should be split out into a new thread as it’s not a v8.6.4 regression.

    @Gianluca-De-Gluck - At “2 - some files are automatically opened at app startup” isn’t Notepad++ started? If so, what is the tab order?

    Regarding "3 - two or more files are selected in the desktop (anywhere by Windows file manager) and then opened by right click menu’ “edit with notepad++”

    If from Windows File manager you right click and select “edit with notepad++” then Notepad++ will select the file/tab if it is already opened within Notepad++. If the file is not yet open then a new tab is added to the right for this file.

    If from File Manager you select two or more files and then do “edit with notepad++” then the results are less predictable. One of the files selected in File Manager will become the active tab in Notepad++. All of the files will be tabs in Notepad++. The ones already opened in Notepad++ will be somewhere in the list of tabs and the newly opened ones will e on the right.

    I suspect you were hoping or expecting that Notepad++ would shift newly opened files to be the rightmost tabs. That is not the case. This behavior has not changed and I don’t think it has ever changed.

  • Adding File Types

    5
    0 Votes
    5 Posts
    3k Views
    Lycan ThropeL

    @PeterJones ,
    Thanks, @PeterJones , I didn’t know that either. Although it never really bothered me much doing the Save As and putting the extension on, I usually create my files in the dBASE IDE to create the forms and method stubs, and then edit the methods with Notepad++ when I’m working on making a program work in the IDE at the same time, because I don’t have to close NPP like I do the IDE editor to run the program. It makes compile,run,edit much quicker to work on the code of the program, that way. I just tried the language switch, and it did start using my UDL without even having to name the file first, so…kudos for the tip. :-)

    I started to answer @Fred, but realized the File Associations might not have been what he was looking for, so I deleted it.

  • How to use VS Code keymap in Notepad++?

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Ooker ,

    You would have to figure out the mapping between every VSCode command, and its Notepad++ equivalent, and then figure out how to translate the VSCode keymap syntax into Notepad++ shortcuts.xml syntax, using that mapping table. It would be a huge effort.

    As far as I know, no one has ever posted in this Community forum that they have such a mapping already, so you’d likely have to do this yourself.

    (For some reason, I doubt that you’ll be willing to…)

    Sorry to be the bearer of bad news.

    The article FAQ: List of Notepad++ key combinations, available for shortcuts doesn’t seem to provide anything.

    If you had said “it doesn’t answer my question”, that would have been at least accurate. As it stands, that phrasing claims that there is no information in that FAQ, when in reality, there is lots of information in that FAQ, which has proven useful to many people – it’s just not the information you were looking for. But since the FAQ specifically says it’s about the key combinations available to shortcuts, I think it accomplishes exactly what it claims.

    That FAQ doesn’t have anything specific on the shortcuts.xml file format, because that format is already documented in the User Manual’s Config File Details, and our FAQs aren’t going to replicate the entire User Manual, as they serve two different purposes.

  • 0 Votes
    2 Posts
    2k Views
    dr ramaanandD

    @Srinivasan-k-d Simple, type Srini\RVasan in the Find what field and Srini Vasan in the Replace with field, tick the Regular expression mode and hit Replace, you will get Srini Vasan. Then, type Sachin\RTendulkar in the Find what field and Sachin Tendulkar in the Replace with field, tick the Regular expression mode and hit Replace, you will get Sachin Tendulkar. If there are some white spaces in between Srini and Vasan and Sachin and Tendulkar, use \s* instead of \R. Then, press ctrl + h (Shortcut for replace). Then, in the Find what zone, type ^\R ( for empty lines only) or ^\h*\R ( for empty lines with blank spaces only) and leave the Replace with zone empty. Then, tick the Wrap around option. Then, select the Regular expression search mode. Then, click on the Replace All button and all the blank lines will be removed.

  • search doesn't find words outside the view anymore

    3
    0 Votes
    3 Posts
    202 Views
    Joan BosJ

    @pnedev Thank you for the info.

  • Edit 1 line and another line gets edited as well (copy - pasted text)

    7
    0 Votes
    7 Posts
    540 Views
    PeterJonesP

    @A-Former-User said in Edit 1 line and another line gets edited as well (copy - pasted text):

    I’m gonna revert to 8.5.8 until they provide a option to deactivate it.

    Already exists. Notepad++ v8.6.3 and v8.6.4 have Settings > Preferences > Editing 2 > ☑ Enable Multi-Editing, as mentioned in the v8.6.3 and v8.6.4 announcements and already updated in the User Manual.

  • How to eliminate auto tabs?

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @Nicholas-Piazza-0 said in How to eliminate auto tabs?:

    The spacebar would only insert that line of tabs after I started a new line.

    Spacebar does not insert a line of tabs, even after hitting enter to start a new line.

    When you have auto-indent turned on, hitting ENTER at the end of one line will create a new line, automatically indented with either spaces or tabs, depending on your active language’s tab settings (Settings > Preferences > Language > Tab Settings). It’s the creating-new-line-using-ENTER that puts in the indentation spaces or tabs.

    Your screenshot was insufficient for me to tell you what’s going on:

    You didn’t include the line numbers, so I cannot see if you have line wrap on You didn’t include context, so I cannot see the line before where you hit ENTER, so I cannot guess how far it should be indented You didn’t include the status bar at the bottom, so I don’t know what file language you have active

    Also, you should share your settings for Settings > Preferences > Language > Tab Settings for the language of your active file, because then we know what your tab settings are for that language.

    Even better, a screen-capture-video animated gif, showing your current file, then you clicking and hitting ENTER, then showing you typing the space, would show us exactly what’s going on. (I use screentogif to capture and automatically upload to imgur, then embed the imgur image using syntax ![](https://i.imgur.com/nASYsAz.gif) to have the forum show the animated gif from imgur’s site – making sure to use the i.imgur.com URL. Unfortunately, while the forum allows pasting in static images like gif or png directly, without using an external host, animated gifs must be externally hosted. You can use any such tool you want; this is just a suggestion if you don’t already have one to use.)

    As it is, I just think your previous line is hugely indented (possibly with View > Word Wrap turned on, so you might have thought you were on a different line, even though you’re really just wrapped on the same line), and you hit ENTER, and since you have the active language set to indent using Tab characters, it indents with the correct number of tabs based on the previous line. I don’t think it’s the spacebar at all.

    update: actually, you might have a plugin that helpfully converts N leading spaces into another tab character, so maybe after you’ve typed 4 (or whatever N is for that plugin) spaces, the plugin automatically converts those to a single tab, and as you continue to hold down the spacebar, the plugin continues to convert the groups of N into another tab. Sharing your ?-menu’s Debug Info will show which plugins you have, and maybe someone here knows of a plugin that behaves that way (I do not, off the top of my head).

    update 2: And I have confirmed that something similar is true, natively: if your language is set to tab-indent, and you have mixed tabs and spaces at the beginning of a line (like cb803e9c-cfbc-4eab-811d-fe04e1017d0f-image.png ), if you hit TAB at the end of that line, it will convert them all to tabs (874df7ec-d40b-4fe8-8535-4cdc164f69b3-image.png )

  • help thanks

    9
    0 Votes
    9 Posts
    582 Views
    mkupperM

    I assume the OP’s cat or young child has has discovered the screen shot button. The list of open tabs is fascinating, are they trying to randomize their own disk or are they lost? It reminds me of “On a clear disk you can seek forever.”

    Thank you @Mark-Olson for the \h tip. I had forgotten about that one when replying on another thread where someone used \s not realizing it also includes the end of line characters. I had not thought about it but \h is the horizontal spaces, \v is the vertical spaces, and \s is space in general.

  • regex regex

    3
    -3 Votes
    3 Posts
    213 Views
    PeterJonesP

    @sozdan53 / @DGS-DGS ,

    Stop spamming the forums with multiple copies of the same posts.

    One of your accounts is in the process of being banned, and if you continue this anti-social behavior, your other will be too

  • Notepad last all session not opening

    3
    0 Votes
    3 Posts
    285 Views
    xomxX

    @utkarsh-patil said in Notepad last all session not opening:

    I using notepad ++ version v7.8.6 (64bit)

    You need to upgrade at least to v8.4.7 (better v8.4.9+), where that Windows shutdown/restart Notepad++ bug has been fixed.

    Its due abort shutdown??

    Yes.

  • Possible to Change Color of Hyperlinks in Text File?

    Locked
    2
    0 Votes
    2 Posts
    241 Views
    Alan KilbornA

    @DeeTNBlazer

    Please don’t post the same thing twice, in two different threads. REF
    Realize that it is the weekend and people are taking time off to do other things than be behind the keyboard.
    I’m sure that someone will reply to your query before too much longer.
    And if not, reposting in a new thread isn’t going to do anything but annoy…

  • Possible to Change Case using Search/Replace or Other

    4
    1 Votes
    4 Posts
    250 Views
    Dennis SchroederD

    Mark…THANK YOU!!! I checked this is my quick sample and it worked perfectly. I will test it in the live export file on Monday.

  • Help with Find please?

    2
    1 Votes
    2 Posts
    160 Views
    Alan KilbornA

    @Teresa-Mendoza

    A couple of ideas, if your word is apple:

    do a Find Next in Regular expression mode for ^.*apple.* with . matches newline unchecked – this will select the entire line of a match, so it is ready for Ctrl+c copy or Ctrl+x cut

    do a Find All in Current Document (in any search mode) for apple – this will opening the Search results panel which presents results on an entire line basis; right-click a hit line(s) and choose Copy Line(s) from the popup menu (sorry, no way to “cut” the original line with this method)

  • Renaming and saving text files based on its content

    3
    0 Votes
    3 Posts
    362 Views
    dr ramaanandD

    @Sam-Cem You can click and read How to replace a particular “url” with “url” of each webpage in multiple files using Notepad++? - I used the solution 2 mentioned at codeproject.com (the link to the codeproject.com webpage can be seen if you click the link I have mentioned above - do not click on the, “codeproject.com” link mentioned here).

  • Function list regex debugging

    25
    1 Votes
    25 Posts
    2k Views
    Alan KilbornA

    @Lycan-Thrope said in Function list regex debugging:

    but also still on occasion use the Regex101 site, since i have the link in the same menu area as the Notepad++ links, so it’s quick and easy

    I have my Run menu set up with a command to “Launch RegexBuddy”, thus making it as simple as what you’re saying that you have for regex101.

    RegexBuddy has a lot of options because it is very powerful. It’s always a struggle between simplicity and power, where a UI design is concerned – just consider Notepad++ itself.

    But we’ve probably strayed off-topic too much with talk of RegexBuddy.

    The important point I wanted to make was that people continually use regex101 and then, for more complex expressions, complain that Notepad++ isn’t acting the same way…and the reason for that is that they use different engines and neither one is wrong (but there is only something wrong when you compare different results obtained).

  • removing lines

    4
    0 Votes
    4 Posts
    239 Views
    Cal MurphyC

    @Coises said in removing lines:

    (?x-is) \A [\s\S]+ (?= ^ Extraction \x20 Log \R) | \x20 ( .+ (?= . \x20 Filename )

    Thankyou that looks like it as worked, much appreciated.