• Bug? "Find All.." does very often not work anymore

    14
    2 Votes
    14 Posts
    792 Views
    xomxX

    @ahopsu said in Bug? "Find All.." does very often not work anymore:

    To me, with 8.6.7 (32-bit) version, the search results window came back, after I changed this “curr” value from “5” to “3” for the “InternalFunction”

    Thanks for the report. I know about such N++ Docking Manager problems (it can happen in some specific steps) but currently I do not have a simple fix for it.

    Did you undock that Search results panel to the floating state before?

  • Bug: Cntrl+End is not recorded in the macro

    2
    0 Votes
    2 Posts
    92 Views
    Terry RT

    @Jigar-Patel said in Bug: Cntrl+End is not recorded in the macro:

    When Cntrl+End key is used to go to the end of the file, it’s not recorded in the macro

    Macro’s are saved in the shortcuts.xml file. This is normally located in the folder %appdata%\notepad++. If you open it in Notepad++, be aware that Notepad++ will write to that file when closing if any configuration setting within that file need updating, so don’t edit the file unless it is the only thing you do in a Notepad++ session.

    As you are using macro’s it might be a good idea to read the online manual on macros’ here.

    I created the same macro as you were trying to record and got the following in my shortcuts.xml file. Note the last entry has a message value of 2318. Since this is a type 0, it means it’s a Scintilla command. Scintilla is what Notepad++ uses under the hood, so a lot of the commands are directed to the Scintilla process for completing.

    <Macro name="reload-goto-end" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="0" message="2422" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2422" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41014" lParam="0" sParam="" /> <Action type="0" message="2318" wParam="0" lParam="0" sParam="" /> </Macro>

    The Goto-End command is this one, 2318. See this image of the relevant Scintilla code.

    NPP-gotoend.jpg

    So, obviously from the code I just presented above, the macro works exactly as expected, the Ctrl-End shortcut was recorded. You should first check what your macro actually saved, is it the same as I show above?

    What happens when you use the Ctrl-End keystrokes manually, does the caret move to the end of the document? If so, then the macro should have that as the last entry as did mine.

    I would also suggest reading the FAQ post called “Notepad++ Crashes/Freezes/Unresponsive after Update”. It may not seem relevant, but part of the post refers to running Notepad++ without any plugins running. See if that changes the outcome.

    When you come back with more information, please include the debug info. It’s available from the “?” menu, copy and paste that in your post so we might get a better idea of your setup. That may provide a clue to the problem.

    Terry

  • How do we wrap the search results?

    5
    1 Votes
    5 Posts
    150 Views
    A

    @Terry-R okay. I’ll check that page and request it on GitHub. Again thank you for the help here.

  • Does this plugin exist? number manipulation

    6
    1 Votes
    6 Posts
    226 Views
    nick klausN

    Yeah MultiReplace worked out, thanks all, if I had the rep upvotes all round.
    Just to clear up one thing the .cue standard doesn’t use 1/100th of seconds, it uses frames (75 frames = 1s) that’s why the last 2 digits has a : as a separator (another CD era throwback)

    For the record
    .cue file to modern youtube style time stamps in one pass

    MultiReplaceList.CSV

    Selected,Find,Replace,WholeWord,MatchCase,UseVariables,Regex,Extended 1,"([\\r\\n]{0,1})\\s*TRACK \\d+ AUDIO\\r\\n\\s{4}TITLE ""(.+)""\\r\\n\\s{4}PERFORMER ""(.+)""\\r\\n\\s{4}INDEX \\d+ (\\d+:\\d+):\\d+","\\1**\\4 - \\3 - \\2**",0,0,0,0,1 1,"\\*\\*(\\d+)","set( string.format(""**%02d:%02d"", math.floor(CAP1 / 60), CAP1 % 60) )",0,0,1,0,1

    Input

    TRACK 01 AUDIO TITLE "Tragedy Blows on the Dancefloor (Kesha, Sophie Ellis-Bextor, Cutting Crew vs. Bee Gees)" PERFORMER "Titus Jones" INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "Call My Name" PERFORMER "BLOND:ISH" INDEX 01 61:41:00 TRACK 03 AUDIO TITLE "HIPS DON`T LIE / SMACK YO (Charlie Roennez Mashup)" PERFORMER "Shakira" INDEX 01 122:49:00

    Output

    **00:00:00 - Titus Jones - Tragedy Blows on the Dancefloor (Kesha, Sophie Ellis-Bextor, Cutting Crew vs. Bee Gees)** **01:01:41 - BLOND:ISH - Call My Name** **02:02:49 - Shakira - HIPS DON`T LIE / SMACK YO (Charlie Roennez Mashup)**
  • Automate blank space on or carriage return

    14
    0 Votes
    14 Posts
    371 Views
    Alan KilbornA

    @Jim-Dailey said:

    I have a USB device that someone purchased…

    We’re getting off-topic but I’ll just point out that a script costs less. :-)

  • When pressing TAB, how to remove thin line?

    7
    0 Votes
    7 Posts
    227 Views
    EnnPLUserE

    @guy038 , I’ve just had a thought regarding the double post issue. After I posted my question, I changed my user name. Could that have triggered a double post issue?

    (BTW, I’ve had a message saying that I can’t post any further comments for the next 1200 seconds, so I hope this comment doesn’t generate any excess posts!)

    Deselecting the Show indent guide option fixed my problem.

  • NPP RSS Feed broken?

    5
    0 Votes
    5 Posts
    236 Views
    LagunaJimL

    @PeterJones sadly their free account inc;ludes zero tech support contact. May jump to another reader - tested with ‘feeder’ and the npp feed is fine :)

  • 1 Votes
    2 Posts
    134 Views
    PeterJonesP

    @KdL ,

    This may be related to the other reports of Search Results issues that have come up multiple times. To keep the discussion in one place, please read the v8.7 Search Results section of the missing-panel FAQ, and then continue any discussion in the v8.7 Search Results Missing topic.

    Locking This Thread (to keep discussion in one place)
  • BUG: 7.8.8+ Open dialog not working correctly on Linux/wine

    4
    0 Votes
    4 Posts
    383 Views
    F

    I am using Notepad++ v8.7 under WINE on Debian 12 (bookworm) Linux, and I too have the issue where newer Notepad++ versions have an incomplete file dialog box. For instance, it has no “up folder” button, only forward/back…

    Here is a screenshot to show what I am talking about:

    Npp_Issues.png

    In contrast to the “Browse” dialog opened from ODIN disk imager under WINE (used just for an example):

    ODIN_File_Open.png

    Would it be possible to implement a user option to enable the old style dialog box? The type that was compatible with WINE?

    Thanks!

  • cubase14 in notepad++

    2
    -1 Votes
    2 Posts
    161 Views
    PeterJonesP

    @yasien-trabih ,

    fix this bug in the next version?

    there isn’t any bug in what you described.

    could somebody help me out

    our screenshots don’t seem very realistic, as they show the filename with an .exe extension showing up as text-based XML – that seems highly unlikely to me. But maybe it does have a section 129MB into the file where it has a bunch of uncompressed text – I’ve rarely seen such long sections of pure text in a compiled .exe.

    If you were actually trying to run that executable by using File > Open, that’s not the way you run an executable, that’s the way you open a text file for reading/editing. You could launch it using Notepad++'s Run menu, but that’s not the most efficient way – double-clicking the executable from Windows Explorer or desktop, or clicking on the application in the start menu is the right way to run an application.

    If you are trying to edit the program by using Notepad++ to edit the raw .exe file (which is a binary format), you need to understand that just editing random “text” in a true .exe is likely to crash the executable and have other dangerous side-effects that you would never be able to guess. Notepad++ is designed to edit text, not to decompile a piece of software so you can hack it. .exe executables are not text files.

    To edit a compiled .exe-based application, you have to download its source code (assuming it’s publically available), and have the necessary development environment to build the executable from source. Since you mentioned “cubase pro”, I am assuming it is not open source, and you are not going to have access to the source code.

    And, based on the phrase “and run to a full cubase pro license”, it sounds like you are asking us how to hack a commercial piece of software to get a free license to a paid piece of software: even if Notepad++ were a magical .exe-editor, rather than being being a text editor, what you are asking from us is illegal. Sorry, we’re not going to help you, if that’s really what you were asking for.

  • Is there a way to better distinguish between parentheses and braces?

    5
    0 Votes
    5 Posts
    252 Views
    NicholasN

    Monoid is a customisable open source font designed for writing code in. https://larsenwork.com/monoid/

    There are other fonts out there as well if you search the web.

  • Names beginning with '#' in Javascript

    2
  • How to change syntax via hotkey ?

    27
    0 Votes
    27 Posts
    5k Views
    Szymon SzymonS

    @PeterJones Works like a charm, 2minutes and configured, thanks

  • Force Tab, One space Indents/UnIndents

    4
    1 Votes
    4 Posts
    407 Views
    W

    Replace with this in the code in both One_Space* so that it doesn’t block entering spaces without multiple lines selected, while holding SHIFT or Alt.

    if editor.getSelectionEmpty(): # If nothing is selected, add a space editor.addText(" ") return if editor.selectionIsRectangle(): return # if rectangular selection start_line, end_line = editor.getUserLineSelection() if start_line == end_line: editor.replaceSel(" ") # If the selection is on a single line, replace it with a space. return
  • Copying file itself into clipboard in Notepad++

    16
    0 Votes
    16 Posts
    743 Views
    EkopalypseE

    @mkupper

    Maybe I’m missing something but it seems to work for me as well.

    Notepad++ v8.7.1 (64-bit) Build time : Oct 31 2024 - 00:48:56 Path : D:\Tests\npp\_latest\x64\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : ON Cloud Config : OFF Periodic Backup : ON OS Name : Windows 11 Pro (64-bit) OS Version : 24H2 OS Build : 26100.1742 Current ANSI codepage : 1252 Plugins : mimeTools (3.1) NppConverter (4.6) NppExport (0.4) PythonScript (2)

    test_drop.gif

  • NPPJSONViewer Version Question

    3
    1 Votes
    3 Posts
    314 Views
    Kevin RayK

    @PeterJones. Thank you very much for your assistance. I will get my software management team to grab the correct installer.

  • F7 should toggle

    2
    0 Votes
    2 Posts
    115 Views
    PeterJonesP

    @Jon-Pugh said in F7 should toggle:

    Is there a reason that F7 only shows the Search Results window instead of toggling it?

    The reason is “design decision”. Specifically, because the first F7 will show the window and move your focus there (so keyboard commands affect the search results, not your active editor view), and the second F7 will move the focus (and keyboard control) back to the editor, without closing the Search Results. This is highly important to people who want to be able to swap the focus easily back-and-forth between the editor and the search results.

    As is, you need to use the mouse to close it.

    No, you don’t. F7 will show the window, ESC will close it while your focus is in the search results. So you can still close it with the keyboard.

    Seems like it would be simple and sensible to make it a toggle.

    The developer chose to use the “toggle” portion of F7 to toggle focus, not toggle visibility, which is also sensible: just because it’s not your preferred pairing doesn’t make it not sensible.

  • VB script function list

    9
    0 Votes
    9 Posts
    5k Views
    PeterJonesP

    To future readers,

    To expand on what @Alan-Kilborn said,

    There are already instructions for “Function List” in the user manual

    @Kanesaga’s post was not only probably trying to spam (I just deleted the poorly-inserted link – to a site completely unrelated to Notepad++ or FunctionList – which fortunately, the anti-spam measures prevented from being a hidden link), but also appears to be the instructions for the pre-v7.9.1 single-functionList.xml, instead of for the v7.9.1-and-newer that the original poster was asking about 4 years ago.

    Please understand that the instructions given in that recent post are out of date, and will not work on modern Notepad++ versions. As was said four years ago, the answer to the original question was just a slight tweak to the overrideMap.xml file.

  • Change the doc title font and bg color

    3
    0 Votes
    3 Posts
    145 Views
    Leo MoralesL

    @PeterJones Excellent! Thank you, that worked like magic.

  • Question(s)

    16
    0 Votes
    16 Posts
    1k Views
    mkupperM

    @garrett-carey said in Question(s):

    Also is it possible to restore tabs (not sure what happened but all my tabs I had opened went away.

    Notepad++ itself does not have a built-in mechanism to archive copies of its configuration or settings files. Notepad++ stores all of its configurations/settings in plain text files.

    The list of tabs is stored in the session.xml file. If you maintain backups of your computer then restore the version of session.xml that has the list of tabs that you are interested in.