• How do we wrap the search results?

    5
    1 Votes
    5 Posts
    167 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
    239 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
    377 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
    261 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
    243 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
    152 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
    402 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
    168 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
    258 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
    422 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
    922 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
    364 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
    121 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
    156 Views
    Leo MoralesL

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

  • Question(s)

    16
    0 Votes
    16 Posts
    2k 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.

  • CMake format parser doesn't recognise target_precompile_headers

    3
    0 Votes
    3 Posts
    129 Views
    PeterJonesP

    @perdrix52 ,

    Settings > Style Configurator > CMakeFile > COMMAND, add target_precompile_headers to User-defined keywords box ⇒ that will add highlighting for that keyword for you. (If you find other commands missing, you can add them to that same box, with spaces or newlines between.)

    And if you really want Notepad++ to ship with that keyword in the Default keywords list in the future, you would have to put in an official feature request, and this forum is not the place for feature requests

  • BUG: In Perl, NPP doesn't find some subroutines in function list.

    5
    1 Votes
    5 Posts
    198 Views
    Alan KilbornA

    Bottom line: Comments cause problems with function list parsing.
    And thus it is practically impossible, given the free-form-put-most-anywhere nature of comments, to “get it right” all the time.
    It would be better if there was an algorithm that (virtually) converted all comments to space characters before parsing for function list purposes.