• Login
Community
  • Login
  1. Home
  2. Help wanted · · · – – – · · ·
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • N

    edited shorcuts.xml does not affect npp

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 22, 2021, 2:16 PM
    Feb 22, 2021, 7:02 AM
    0 Votes
    3 Posts
    406 Views
    P Feb 22, 2021, 2:16 PM

    @cmeriaux said in edited shorcuts.xml does not affect npp:

    manual modification of shorcuts.xml is tricky because the file is loaded at Npp startup, and is NOT reload during Npp runtime.
    You should try to edit shorcuts.xml with another editor than Npp

    While I agree that you have to follow a specific order, it is quite possible to edit shortcuts.xml, or the other Notepad++ config files, from inside Notepad++. I do it all the time. The sequence described in the online user manual works for me, as long as you do not make any Notepad++ settings changes in the GUI from steps 2 thru 5.

    Close all active instances of Notepad++ Open one instance of Notepad++ Edit the configuration file Save Exit Notepad++ Reload Notepad++ The changes will now be in effect.

    The other issue that @Niels-Henrik-Bruun might be dealing with: before v7.6.3, there was an active Launch in IE entry in the “User Defined Commands” (Run-menu) section of shortcuts.xml. In v7.6.3, those lines were put in XML comments, so that they weren’t actively in the menu. (In v7.9.3, the commented-out lines were completely removed from the default shortcuts.xml that ships with Notepad++.) So, if the version that @Niels-Henrik-Bruun started with was v7.6.3 to v7.9.2 (that is, nearly any version in the last two years), the Launch in IE <command ...> tag was inside the <!-- ... --> XML comment, and would not affect Notepad++ whether edited in an external editor, edited in Notepad++, or not edited at all.

    Another issue might be if the c:\program files\notepad++\shortcuts.xml is being edited, but the normal installation is used so that %AppData%\Notepad++\shortcuts.xml is the version being read 🛈, it will also have no effect. Which is the correct shortcuts.xml can be determined by your settings: if the ?-menu’s Debug Info shows Local Conf mode : ON, then you edit the shortcuts.xml in the same folder as notepad++.exe; if you have cloud settings (Settings > Preferences > Cloud & Link has the cloud location path set), then your shortcuts.xml should be edited in that location; otherwise, %AppData%\Notepad++\shortcuts.xml is the right file to edit.

    So, @Niels-Henrik-Bruun, to sum up:

    Make sure you are editing the right shortcuts.xml – the cloud folder file, the file in the notepad++ executable’s folder, or the file in the %AppData%\Notepad++ folder Make sure you are properly editing the file: either close all Notepad++ instances, and edit the file with some other editor; or follow the sequence that I included above and is in the online manual Make sure that the <command...>...</command> tag is not inside of the <!-- ... --> XML comment Changes won’t take effect until Notepad++ has been re-started after the edits (step 6-7, above)
  • 1

    Sesion manager , not restart notepad++

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 22, 2021, 12:23 PM
    Feb 21, 2021, 6:14 PM
    0 Votes
    2 Posts
    217 Views
    M Feb 22, 2021, 12:23 PM

    Hi,
    Take a look at this issue: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9475
    Is it the same?

  • M

    How can I select text from different parts of a document.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 22, 2021, 12:13 PM
    Feb 22, 2021, 10:13 AM
    0 Votes
    2 Posts
    234 Views
    G Feb 22, 2021, 12:13 PM

    Hello, @michael-haigh-0 and All,

    Just two constraints :

    Your (*###) tags must begin the line OR are preceded with blank space chars only. But these tags may be followed with some text

    You must run, at least, the v7.9.1 N++ release or a later one

    If so, the road map is :

    Open your file in N++

    Open the Mark dialog ( Ctrl + M )

    SEARCH (?s)^\h*\(\*1\).+?(?=\(\*\d+\)|\z)

    Tick the Purge for each search option

    Tick the Wrap around option

    Leave all other options unticked

    Select the Regular expression search mode

    Click on the Mark All button

    Click on the Copy Marked Text

    Close the Mark dialog ( Esc )

    Open a new tab ( Ctrl + N )

    Paste the clipboard’s contents ( Ctrl + V )

    => Each (*1) section is natively separated with a blank line and a ---- line ;-)

    Now, just get concentrated !

    Of course, change the 1 of the regex by any number required !

    Best Regards,

    guy038

    P.S. :

    You may, as well :

    Tick the Bookmark line option, in the Mark dialog, before clicking on the Mark All button

    Close the Mark dialog ( Esc )

    Go back to the very beginning of your file ( Ctrl + Home )

    And, simply, browse through each Bookmarked line, with the F2 or Shift + F2 shortcuts !

  • I

    Notepad ++ place switching

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 22, 2021, 11:56 AM
    Feb 22, 2021, 11:22 AM
    0 Votes
    3 Posts
    257 Views
    I Feb 22, 2021, 11:56 AM

    @guy038 thank you man. worked like a charm

  • W

    HyperText

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 22, 2021, 8:49 AM
    Feb 22, 2021, 3:10 AM
    0 Votes
    4 Posts
    350 Views
    W Feb 22, 2021, 8:49 AM

    Hello.
    Problem solved. Thanks to @carypt over on > < https://github.com/notepad-plus-plus/notepad-plus-plus >

    Link here for the User Defined Language.
    https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/udl-list.md

    WD

  • K

    Regex lines

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 19, 2021, 1:26 AM
    Feb 19, 2021, 1:08 AM
    0 Votes
    3 Posts
    196 Views
    K Feb 19, 2021, 1:26 AM

    Thanks! I love this forum and program

  • I

    Delimiter Settings (Ctrl + Double Click) to include more brackets

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 19, 2021, 1:02 AM
    Feb 18, 2021, 9:43 PM
    0 Votes
    2 Posts
    1k Views
    A Feb 19, 2021, 1:02 AM

    Hi @ijoel92

    Not natively. But there is a Python script that I think does what you want.

    See details in this and subsequent posts.

    If you want to try the script, here are some instructions to install it:

    Have fun!

  • MeatheadM

    Notepad++ Search and Replace From List With Limited Replacements

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 18, 2021, 6:19 PM
    Feb 18, 2021, 5:33 PM
    0 Votes
    3 Posts
    3k Views
    Alan KilbornA Feb 18, 2021, 6:19 PM

    @Meathead

    It’s really a rather easy thing for a scripting plugin to do, as Peter says.

    Here’s a demo using PythonScript; see if you can follow its logic without further explanation:

    from Npp import editor city_string = ''' Sydney Melbourne Adelaide ''' city_list = city_string.splitlines() city_list.pop(0) for city in city_list: editor.replace('city', city, 0, 0, editor.getLength(), 4)
  • Egor ArtemenkoE

    Lags during up and down navigation with arrows on large PHP-file, 500 Kb, 16k lines

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Feb 18, 2021, 9:06 AM
    Feb 11, 2021, 5:33 PM
    0 Votes
    8 Posts
    519 Views
    gstaviG Feb 18, 2021, 9:06 AM

    @Egor-Artemenko said in Lags during up and down navigation with arrows on large PHP-file, 500 Kb, 16k lines:

    Another tweak is detecting fast actions

    Extremely unlikely.
    The core design of Notepad++ and Scintilla is single threaded.
    Once an “event” should do some computation this computation is happening and even if it is unexpectedly long there is no way to abort it.
    With “fast actions” which is practically 2 quick events the 2nd event cannot influence the 1st event.

  • 황영철황

    How do I change file tab's font name and size ?

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 17, 2021, 9:29 PM
    Feb 17, 2021, 9:02 PM
    0 Votes
    3 Posts
    625 Views
    Terry RT Feb 17, 2021, 9:29 PM

    @PeterJones said in How do I change file tab's font name and size ?:

    I believe it may be influenced by Windows theme settings

    If it is influenced by the Windows settings, then on Windows 10 the changes must be done in registry (was removed from control panel since previous Windows version).
    Have a look at:
    https://www.windowscentral.com/how-change-default-system-font-windows-10
    which outlines the method. This is not something to be taken lightly as there’s no fail-safe as would be available when it is run through a GUI.

    Terry

    PS I haven’t tested this yet as my company dislikes these sorts of changes done by users.

  • Pierre de la VerreP

    Call Notepad++ from Firefox to edit Text Field?

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Feb 17, 2021, 5:41 PM
    Feb 17, 2021, 12:00 PM
    0 Votes
    4 Posts
    452 Views
    Pierre de la VerreP Feb 17, 2021, 5:41 PM

    Thanks for your replies!

    @wonkawilly said in Call Notepad++ from Firefox to edit Text Field?:

    …
    Easy, direct, and no plugins or scripting needed.

    If you want to complicate things use addons to make easy tasks like this more difficult. Addons are powerful but it must worth their use and for this I’m not sure

    I got this job from colleagues which used the old version of add-on “withexeditor” and told me “it’s so fine and so important and …”, but the more I look at it (and the value behind it …) the more I have doubts about the time to invest for a “simple solution”

  • Georg HohmannG

    Error Reporting

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 17, 2021, 2:08 PM
    Feb 17, 2021, 2:05 PM
    0 Votes
    2 Posts
    269 Views
    EkopalypseE Feb 17, 2021, 2:08 PM

    @Georg-Hohmann

    There is an issue with the NppSaveAsAdmin plugin,
    can it be that you are using it as well?

  • DimakSerpgD

    how to put numbers every two rows?

    Watching Ignoring Scheduled Pinned Locked Moved
    16 Feb 17, 2021, 1:21 PM
    Feb 16, 2021, 11:05 AM
    0 Votes
    16 Posts
    1k Views
    Alan KilbornA Feb 17, 2021, 1:21 PM

    @wonkawilly said in how to put numbers every two rows?:

    there is a little error in the row

    It’s OK. BTW I didn’t go step by step through to check for accuracy.
    It’s enough that you very clearly showed the technique, enough to get someone started down that same path.

  • Ward RickerW

    Changes not taking

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 17, 2021, 8:40 AM
    Feb 17, 2021, 8:20 AM
    0 Votes
    2 Posts
    271 Views
    Ward RickerW Feb 17, 2021, 8:40 AM

    @Ward-Ricker Well, now to answer my own question. I have uninstalled and reinstalled Notepad++ once again. This time it seems to have fixed the problem. I don’t know why it didn’t fix it the first time, but apparently I am all set.

  • John JohnsonJ

    NPP is closing files instead of 'storing' them

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Feb 16, 2021, 4:52 PM
    Feb 16, 2021, 4:46 PM
    0 Votes
    2 Posts
    198 Views
    EkopalypseE Feb 16, 2021, 4:52 PM

    @John-Johnson

    Looks like the setting remember current session for next lauch has been reset. Settings->Preferences->Backup->Remember…

  • Diedrich HesmerD

    Functionlist no longer working on .vb files

    Watching Ignoring Scheduled Pinned Locked Moved
    16 Feb 16, 2021, 7:38 AM
    Feb 14, 2021, 1:31 PM
    0 Votes
    16 Posts
    983 Views
    Diedrich HesmerD Feb 16, 2021, 7:38 AM

    @Ekopalypse
    I’m back to normal. Thanks for your help, this copy did it.

    best regards
    Diedrich

  • Terry MusserT

    Issue resolved using "SetUserFTA" utility

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Feb 15, 2021, 8:19 PM
    Feb 15, 2021, 8:19 PM
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • WEST HOTELW

    Hi need help. how can i recover scanned text document blurred and has black space.

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 15, 2021, 3:36 PM
    Feb 15, 2021, 6:50 AM
    0 Votes
    3 Posts
    160 Views
    P Feb 15, 2021, 3:36 PM

    @WEST-HOTEL ,

    Further to @Ekopalypse reply, see this FAQ for the technical details of text files (within Notepad++'s abilities) and binary files (not within Notepad++'s abilities).

    I recommend you find a help forum about whatever scanner you used, or better, the OCR software you have access to. But we cannot help you here. Sorry.

  • william19941994W

    A config about DirectWrite switch for emoji and Fira code font.

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Feb 15, 2021, 3:33 PM
    Feb 15, 2021, 5:52 AM
    0 Votes
    3 Posts
    782 Views
    P Feb 15, 2021, 3:33 PM

    @Ekopalypse said in A config about DirectWrite switch for emoji and Fira code font.:

    too lazy to find out

    v7.8.8, according to this search

  • Sadiq B. Al-LawatiS

    Txt file formatting

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Feb 15, 2021, 10:55 AM
    Feb 11, 2021, 5:49 AM
    0 Votes
    5 Posts
    2k Views
    Sadiq B. Al-LawatiS Feb 15, 2021, 10:55 AM

    That’s it! You answered my query. Many many thanks @Ekopalypse

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors