• 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
    218 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
    908 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
    289 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
    1k 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
    555 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
    767 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
  • DSpellCheck plugin does not work for json files

    3
    0 Votes
    3 Posts
    650 Views
    artie-finkelsteinA

    Another alternative is to use the Windows ‘mklink’ command line utility and create a hardlink to the file, assuming an NTFS formatted disk. Mklink will complain if the target disk is not using the NTFS format.

    > mklink /h file.json.txt file.json

    There will only be one file using storage space on the disk, but two ways of accessing the contents (be careful if both are opened at the same time; Notepad++ will gladly have both views open at the same time and may warn about changes made using the the other view).

    I use the ‘added’ .txt extension to assist the OS in keeping both views together when using name listings, e.g. “dir”. The Explorer preview pane will show the contents as text (even if the original file isn’t text, e.g., .pdf or .jpg). The extra extension also assists me in remembering which is the real or base file and which is the alternate view I created to get around Windows obsession with extension based file format determination.

    The file will persist (continue to use disk space) until both names are deleted, either from the command line or in Explorer.

    Not all disk space applications understand ‘hardlinks’ and will incorrectly show both files using disk space.

  • Auto opening backup is not working

    4
    0 Votes
    4 Posts
    241 Views
    Игорь НовиковИ

    Issue happens after windows is getting updates only. If I close/open N++ OR restart Windows without getting updates then all sessions are getting opened.

  • Search for a text and copy the next lines of codes

    5
    2 Votes
    5 Posts
    430 Views
    Kev AlejandrinoK

    @Alan-Kilborn said in Search for a text and copy the next lines of codes:

    (?-s)SEARCHME(?:.\R){3}\K.

    Thank you! It works just what I wanted.

  • Find regex file name

    3
    0 Votes
    3 Posts
    845 Views
    David ArdaizD

    I need to search for file names in html code.

    Text to search D: \ Fitos \ excel \ ([1-9] [0-9] *) (. Xlsx “target =” _ top "> Old pdf)
    Replace with D: \ Fitos \ excel2 \ $ 2 (.xlsx “target =” _ top "> Old Pdf) with this regex search I find Excel files like 13037.xlsx

  • RegEx omitting the round brackets

    6
    0 Votes
    6 Posts
    1k Views
    Scott NielsonS

    @PeterJones yea, it worked. I had a </p> in my next search - that’s why it di’n’t work before. Thanks a lot man!

  • Macro changes my (macro) definition

    4
    0 Votes
    4 Posts
    453 Views
    Alan KilbornA

    If I try recording a macro for what I think you are trying to do (but from your description it is not 100% clear to me what this is), I get the following, and it always works for me:

    <Macro name="xxx" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="&#x00A0;" /> <Action type="3" message="1625" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="&amp;nbsp;" /> <Action type="3" message="1702" wParam="0" lParam="512" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> </Macro>
  • 0 Votes
    5 Posts
    235 Views
    Robin CruiseR

    super answer @guy038 thanks.

    I made a short version of yours:

    <title>\K(?![^\x00-\x7F]+).*?\| - finds the first line

    <title>\K([^\x00-\x7F]+).*?\| - finds the second line

  • Markdown in dark mode looks wrong

    4
    0 Votes
    4 Posts
    3k Views
    mere-humanM

    Don’t confuse dark mode with “dark” theme.
    Dark mode is only about the UI elements (everything except the document area).
    Dark theme is about the document area.

    This is a known problem, it is related to the dark theme.
    There are numerous issues about this:
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6140
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9649