• Using MACRO's to Copy a Tab to Another Tab & Change Data in the New Tab

    2
    0 Votes
    2 Posts
    667 Views
    EkopalypseE

    @ThatGuy-Steve

    I would say it depends.
    In general, yes, you can make 6 copies of a file and iterate through them. Whether you can achieve your goal depends on what you then want to do next.

    Open Npp without any files open before.
    Open the xml of your choice
    Now press the following

    ctrl+a ctrl+n and ctrl+v (6 times) ctrl+1 back to origin xml ctrl+pagedown for next tab make the changes, preferable by using shortcuts instead the menu.
  • 0 Votes
    15 Posts
    339 Views
    Ramanand JhingadeR

    @Terry-R The second * had to be within the bracket!

  • Settings aren't being saved after I close Notepad++

    4
    0 Votes
    4 Posts
    338 Views
    PeterJonesP

    @amadeogarcia ,

    So, yes, you are in local configuration mode, but your executable is in the Program Files hierarchy, which is sometimes write-protected. If you don’t have IT department restrictions, you should be able to change the permissions of the directory and xml files in D:\Program Files\Notepad++ to allow you write-access.

  • 0 Votes
    6 Posts
    446 Views
    LingEdL

    @PeterJones can’t believe I didn’t think of that. Thanks!

  • Preventing "TEST" + {TAB} from being auto-completed into "TESTING"

    2
    0 Votes
    2 Posts
    167 Views
    PeterJonesP

    @Dean-Lesner ,

    TEST{TAB} does not autocomplete to TESTING on a fresh unzip of v7.9.5-64bit (portable) or in my standard install of v8.1. In the portable 7.9.5, I installed the DSpellCheck and its en_US dictionary, and that didn’t change the behavior. (I tried the DSpellCheck, just because you mentioned it, but its spellcheck dictionary is not used for Notepad++'s auto-completion, and I don’t think that DSpellCheck itself hooks into the auto-completion feature of Notepad++.)

    The only way I can replicate your problem in this setup is if there is the word TESTING someplace else in the document, but not the word TEST.

    Thus, either you have non-standard settings somewhere, and/or you have some other plugin that is influencing the auto-complete. If you show us your ? menu’s Debug Info, as well as a screenshot of your Settings > Preferences > Auto-Completion, and we might be able to offer insight (that will tell us not only your exact version of Notepad++, but also what plugins you have installed)

    AFAIK, there is no way to remove a specific word from the auto-completion list, because the default just uses words in the current document, and words specific to the current lexer (programming language)

    Workarounds:

    You could type TEST{ESC}{TAB}, which will take you out of auto-completion mode before hitting the TAB You could use Auto-completion settings, and change the #-characters to something 5 or higher (so that TEST isn’t enough characters to trigger auto-completion) You could use the Auto-completion settings to turn off word completion (either by selecting Function Completion, or by unchecking Enable auto-completion on each input)
  • Help with Regex replace in one step

    5
    0 Votes
    5 Posts
    268 Views
    Ramesh G 0R

    The directly level does vary for every URL. I will work on your direction and see if I could solve. Appreciate your help.

  • remove number over four un json

    7
    0 Votes
    7 Posts
    405 Views
    Pouemes44P

    i have made this on you model, which seems to work

    search

    (?<=\d\.\d{4})\,

    replace

    ,
  • Find text and add text in new line

    2
    0 Votes
    2 Posts
    581 Views
    PeterJonesP

    @GG ,

    FIND = abc(\R|\z)
    (find abc followed by either a newline or the end of the file) REPLACE = abc\r\nxyz\r\n
    (the \r\n is a newline sequence in windows EOL mode) Search Mode = regular expression
  • Tab Size, Tab Font, and Tab Background Color Problem

    8
    0 Votes
    8 Posts
    3k Views
    Troglo37T

    @PeterJones said

    I didn’t say that the three Active Tab styles were disabled. I said that the Background Colour on the Active Tab text style was disabled.

    Sorry about that. I misunderstood.

    @Troglo37 also said,

    If changing the background tab color, changing the tab font size, and tab size don’t currently work, should a bug report be filed?

    No. Because it’s working as designed and documented, so it’s not a bug. You could make a feature request to add foreground colour and/or font face/size settings to those three… but it’s not a bug, so don’t call it a bug report.

    Thanks. I made a feature request. I hope I filed it correctly. Here’s the link. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10070

  • Change fot globally

    3
    0 Votes
    3 Posts
    179 Views
    PeterJonesP

    @seenabhattaram ,

    Notepad++ is not a Word Processor. It is a text editor

    Plain text files (.txt, and source code) don’t have a font embedded in the file. Individual text-reading applications can be used to view/edit text, and they can each can be configured to display the underlying text with whatever font they want.

    With Notepad++, you do that using Preferences > Style Configurator. Select Global Styles from the left pane, and Default Style from the middle pane; set the font size and color you desire as your default font on the right.

    This is all documented in the online usermanual, in the section on Global Styles. There is a link to the Notepad++ Online Document in the ? menu inside Notepad++, which takes you to that site.

  • How to remove blank spaces after a particular phrase

    3
    0 Votes
    3 Posts
    797 Views
    Vf DvrV

    Great, thanks Peter.

  • Add suffix only to bookmarked lines

    3
    0 Votes
    3 Posts
    2k Views
    Vf DvrV

    that works! thanks Terry.

  • Save of automatic opened files shows wrong path

    4
    0 Votes
    4 Posts
    244 Views
    Alan KilbornA

    @Hans-Stangl

    I’m glad you clarified, because there is no way that anyone would have derived the info in your second post from the info in your first post.
    The bug I was thinking of (and mentioned earlier) doesn’t apply to this situation.

    So I duplicated (mostly) your scenario and I do understand that things go “wrong” here.

    I tend to think of it as a problem-between-keyboard-and-chair.
    Should you really rename a directory when you have files open in that directory?

    Some programs protect you nicely from this kind of thing (shown here for a folder, not a file):

    f9d08ab7-7485-4048-896f-44d4466829d8-image.png

    I suppose Notepad++ could do a better job of protecting you from the exact problem you noticed…

    But I’d probably advise you to just NOT change the name of a containing folder when you have files open in that folder.

  • 0 Votes
    9 Posts
    5k Views
    Stewart Gordon 0S

    @aks2161989 I think what actually happens is that the auto-updater tries to launch the installer, but it fails. It should give an error message but for some reason doesn’t. I find myself manually launching it using the ‘Run as administrator’ option.

  • Read-Only does not work

    7
    1 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @PeterJones said in Read-Only does not work:

    How does this phrasing look for clarifying what the two menu entries actually do?

    Phrasing looks good; thanks for your efforts.

  • translate \r\n

    3
    0 Votes
    3 Posts
    2k Views
    Stuart HerringS

    Thanx!
    I’m not yet trained in the use of RegExes, but I can get there…

  • Search yields irrelevant results. I'm stuck :)

    7
    0 Votes
    7 Posts
    952 Views
    Alan KilbornA

    I’m kind of unclear on this thread…

    But I wanted to ask: Does Notepad++ really make a Find Next search result unclear in this situation? I’d think that the selection marking it uses for this would always be clear, above and beyond any other type of highlighting that is going on. Not so?

  • 0 Votes
    9 Posts
    2k Views
    Alan KilbornA

    @guy038 said in Regex: Select and delete the content of tags from xml file with skiping other tags:

    Now, as always, everything is in the fucking manual ! So, first, go to the official N++ documentation

    Whoa, whoa, WHOA!
    Could it be that the ever-patient @guy038 is getting tired of all the repetitive regex stuff here?? Say it isn’t so.
    I get tired of it as well…so tired…but I haven’t yet been driven to use the alternate definition of RTFM (the normal definition being Read That Fine Manual).

    Seriously, though, when I look at that section of the manual, it reads more like formula rather than specific application (and that’s ok).

    In the manual we have:

    (?enable-disable)

    which, well, isn’t exactly crystal clear for those that don’t already know what it means.

    So my attempt, in explaining the (?.. : …) construct was to help clarify.
    I don’t know if I succeeded.

  • Zero character indents?

    7
    0 Votes
    7 Posts
    471 Views
    TBugReporterT

    Actually, I usually just keep the ¶ button on, but this time I turned it off because all the [CR][LF]s were becoming distracting. (And yes, I know it’s possible to show whitespace without the [CR][LF]s, but I didn’t feel like digging into the menus for what I thought was going to be a quick edit.)

  • Resizing Notepad++ resizes all documents and shows articafacts

    5
    0 Votes
    5 Posts
    660 Views
    Greg ShulerG

    Debug Info

    Notepad++ v8.1 (64-bit) Build time : Jun 17 2021 - 01:56:07 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 1909 OS Build : 18363.1621 Current ANSI codepage : 1252 Plugins : DSpellCheck.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll _CustomizeToolbar.dll

    Monitor setup
    Laptop w/2k display driving a 43" 4K TV as main monitor over HDMI, occassionally running Display Fusion Pro.

    Windows

    OS Name Microsoft Windows 10 Enterprise Version 10.0.18363 Build 18363 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name SR90NRZH7 System Manufacturer LENOVO System Model 20JF000DUS System Type x64-based PC