• Python gotoLine() Not going to line after Open()

    9
    0 Votes
    9 Posts
    403 Views
    Anthony BlincoA

    Awesome advice as usual. A 10ms delay did it.
    I will investigate the SCN_PAINTED notification to implement it properly
    Thanks and very much appreciated

  • update feedback July 1 build

    2
    0 Votes
    2 Posts
    127 Views
    PeterJonesP

    @Promytius-Syl ,

    Then pick a theme that is compatible with Dark Mode – it should have picked Dark Mode Default when you switched, but …

    Or do you have a User Defined Language active? UDL doesn’t change with theme (see this)

  • Bug report: invisible plugin icons

    6
    0 Votes
    6 Posts
    371 Views
    Dror HarariD

    @PeterJones Thanks for the information - I searched for invisible plugin icons and did not find any reference. I updated my settings and the icons are back…

  • new skin on 8.1.2 version?

    3
    0 Votes
    3 Posts
    237 Views
    mere-humanM

    If by “skin” you mean icons, then it can be changed in menu > Settings > Preferences > General and select Standard icons.
    7da4ede6-09fd-4302-be2a-2cb5a3347308-image.png

  • 0 Votes
    3 Posts
    201 Views
    Terry RT

    @Chris-ball said in How to delete entire lines containing the words: Glass, http, and the symbols +++ ? In MULTIPLE txt files?:

    how to replace those 3 lines

    There’s also the question about whether you want to JUST delete the lines containing those words/strings or “replace” as you stated later on. Replacement signifies that you want some “other” string in place of the selected lines. That would complicate the solution somewhat.

    Terry

    PS as well as looking at the solution @Alan-Kilborn suggested also look at Regex documentation here. Both your posts were very vague on substance with regards regex and the ctrl-shift-F. It would be in your best interest to start learning how to create regexes.

  • How to delete lines 2, 3, 4, 5 in multiple txt files at once?

    2
    0 Votes
    2 Posts
    235 Views
    Terry RT

    @Chris-ball said in How to delete lines 2, 3, 4, 5 in multiple txt files at once?:

    How to delete lines 2 to 5 in multiple txt files?

    If you are replacing in files which aren’t opened in Notepad++ then this should work for you, it did in a small test for me.

    Using the “Find in Files” option we have
    Find What:(?-s)\A(.+\R)(.+\R){4}
    Replace With:\1

    You would need to set the filters and directory to correspond with the file types and location you are working on.

    Just so you have understanding of what this regex is doing:
    (?-s) means the DOT character does NOT include line feed/carriage returns
    \A this means “start of file”. I tested my regex first as this \A can cause issues, in this case it did not appear to.
    (.+\R) select as many characters as possible (the (?-s) prevents it from spreading past the line ending) and include the line ending (\R). This is capture group #1
    (.+\R){4} same as last portion except the {4} means 4 more the same. This then selects lines 2-5
    \1 means return the first capture group back to the file, so this is line 1

    Terry

  • Doc Switcher missing sort indicator

    2
    0 Votes
    2 Posts
    144 Views
    Alan KilbornA

    @Kenn-Simons

    This?:

    71640899-fb3f-4be0-8ca2-3b4f099be06e-image.png

  • Muchas Gracias

    7
    0 Votes
    7 Posts
    318 Views
    PeterJonesP

    @Norberto said in Muchas Gracias:

    I do not speak English at all and it is difficult for me to understand the forum.

    As I said, if English is difficult for you (not your native language), then feel free to use a translation service.

    If I paste my reply into translate.google.com, it will show: “Como dije, si el inglés es difícil para usted (no su idioma nativo), no dude en utilizar un servicio de traducción.”

    If I paste the same reply into deepl.com: “Como he dicho, si el inglés le resulta difícil (no es su lengua materna), no dude en utilizar un servicio de traducción.”

    You can do something similar: write your text in Spanish, then plug it into the translator, then paste the results in your post as well. Since you are the one who wants help, it is up to you to be kind to the people who you are asking for help and translating your question into their language. (= Puedes hacer algo parecido: escribir tu texto en español, luego meterlo en el traductor, y luego pegar los resultados en tu post también. Ya que tú eres el que quiere ayuda, depende de tú ser amable con las personas a las que pides ayuda y traducir tu pregunta a su idioma.)

    If you aren’t willing to go to the effort to communicate in the default language of the forum (English), then people here are less likely to go to the effort of trying to answer your question at all. You will notice that someone has answered all your questions so far, despite the fact that you have not shown us that courtesy; but if you continue to ask questions without giving us the English version of the question, then it is less likely that you will get an answer. Sorry. (= Si no estás dispuesto a hacer el esfuerzo de comunicarte en el idioma por defecto del foro (inglés), entonces es menos probable que la gente de aquí haga el esfuerzo de intentar responder a tu pregunta. Notarás que alguien ha respondido a todas tus preguntas hasta ahora, a pesar de que no nos has mostrado esa cortesía; pero si continúas haciendo preguntas sin darnos la versión en inglés de la pregunta, entonces es menos probable que obtengas una respuesta. Lo siento.)

  • Cannot open large file 600MB 32bit

    4
    0 Votes
    4 Posts
    838 Views
    PeterJonesP

    @TonyP said in Cannot open large file 600MB 32bit:

    npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs.

    That says that it is a memory issue – that you didn’t have enough system memory to allocate enough for NPP to open the file. So the first time you opened it, you had enough memory (maybe because of order of operations in NPP, or because you had fewer other processes using memory), but when you exited and then re-ran NPP, your system no longer had enough memory to allocate to NPP.

    Notepad++ is not actually optimized for huge-file editing – to be truly optimized for such, an editor would required “paged” editing, where it just loads part of the file from disk at a time, and if you move beyond the chunk, then it will clear the buffer and load a new chunk from the disk. To add that feature to Notepad++ would require a complete re-write, so isn’t going to happen.
    However, if you Iook at this post, there’s a link to the “BigFiles” plugin, which gives paged access to files that are too big to be effectively edited in Notepad++. But as another recent discussion shows, there are drawbacks to the BigFiles Plugin method of editing big files, too.

  • Borrar número de bloques

    2
    0 Votes
    2 Posts
    366 Views
    EkopalypseE

    @Norberto-Martino

    Puede utilizar una expresión regular como buscar \bN\d+.
    y sustituirla por nada.

    You can use a regular expression like find \bN\d+
    and replace it with nothing.

  • 0 Votes
    9 Posts
    566 Views
    ZsoltKántorZ

    P.S. but with the cpp.xml using in C source, function defines like BOOL WINAPI CtrlHandler(DWORD CtrlType) are not show :(

  • Saving file to network paths

    3
    0 Votes
    3 Posts
    448 Views
    PeterJonesP

    @Birger-Sørensen ,

    Can one of you that’s having difficulty with saving files see if the problem persists when using v8.1.2-RC?

  • Ability to change Notepad++ UI font

    3
    0 Votes
    3 Posts
    257 Views
    Kimpa TammasK

    Thank you for this information Peter!

  • Edit file but keeping modified date

    7
    0 Votes
    7 Posts
    3k Views
    mere-humanM

    @Rodrigo-Hernandez-0 said in Edit file but keeping modified date:

    I usually view files as historical records of my notes, meetings, etc.

    I could only suggest sorting by “modified time” or adding a date to the file name.
    That would be much easier, as for me.
    0feaa20a-df73-40db-803e-498abaf00187-image.png

  • Create an UDL for my log files

    3
    0 Votes
    3 Posts
    413 Views
    J

    @PeterJones

    Great! This is good for me.
    Thank you.

    John

  • How extend the “action” range of a script

    9
    0 Votes
    9 Posts
    398 Views
    Alan KilbornA

    @claudio-pergolin

    Well, there are lots of approaches to debugging.
    If it were me, I might start by commenting out (use # before the line to eliminate) that closes a file.
    That way you can see that the proper files are getting opened (because they will remain open when the script finishes).

  • Tab player buttons

    6
    0 Votes
    6 Posts
    269 Views
    EkopalypseE

    Now I understand, thx for the clarification.
    Yes, agree, I would say when you press a key combination to activate a tab, it should be activated AND visible, no matter if it is already active.

  • How to get file paths from all open tabs

    7
    4 Votes
    7 Posts
    3k Views
    Alan KilbornA

    @mere-human said in How to get file paths from all open tabs:

    I have another idea. We could make the text from Window > Windows copyable.
    It already supports multi-select. The only thing missing is Ctrl+C and put a list of of file paths to clipboard.

    Or how about making it even more explicit and having an additional button in the UI: Copy Pathnames. It could operate on all if nothing is selected, or only what is selected.

    The Ctrl+c idea as the only way of doing it is fine, but someone will come along and want just the “name” part of the files to be copied. Thus I’d suggest a dedicated UI element for paths and second UI button Copy Names.

  • "Alternate icons" feature don't works properly

    3
  • Search is not working anymore for Notepad++

    2
    0 Votes
    2 Posts
    620 Views
    Terry RT

    @Verdadeiro-Perene said in Search is not working anymore for Notepad++:

    Even if I search for this it will not find, so no results.

    Very doubtful there is an issue with the search function, as no-one else has questioned it. It’s most likely you have an issue with your setup. When using the search function, do you already have some text highlighted. If so then the search may keep within that area (is the “in selection” box ticked?). If that’s not the problem then please advise the version of your Notepad++ installation by supplying the info available under ? main menu, then Debug Info, followed by clicking on the blue text (copy … into clipboard). Then paste that in your next post here.

    Terry