• помогите

    3
    0 Votes
    3 Posts
    796 Views
    Mark OlsonM

    Eclipse and IntelliJ IDEA are both fine ways to inspect the contents of a .jar file. I don’t know of any others though, and in any case such discussion is outside the scope of this forum.

  • Search and replace question

    3
    2 Votes
    3 Posts
    431 Views
    Tom DirksT

    @PeterJones That worked! Thank you very much.

  • How to change color of letters of highlighted text?

    11
    0 Votes
    11 Posts
    9k Views
    fdsafds fdsafdsaF

    Settings>Style Configurator>Selected Text color

  • scroll horizontally

    6
    0 Votes
    6 Posts
    3k Views
    DomOBUD

    @PeterJones
    Thank you for your answer.
    There’s enough text to be scrolled and the View > Word Wrap is off (automatic line feedback is not activated).
    However, I don’t have the horizontal scrollbar available at the bottom of the window like on your screenshot. Perhaps there’s another parameter to consider.

    @guy038
    Thank you for your answer.
    Your solution works correctly.

    My mouse supports horizontal scrolling. It is another solution but less natural for me.
    The horizontal scrolling is a usual way on many Windows software.

  • "Edit in Notepad++" in context menu not working

    2
    0 Votes
    2 Posts
    674 Views
    HakivakatyroH

    Solved the problem by returning Windows to its original state with the removal of programs

  • Open Notepad++ in Different Workspace Without Switching

    2
    0 Votes
    2 Posts
    604 Views
    wonkawillyW

    Probably you need to play a bit with
    Menu Settings > Preferences > Multi-Instance & Date > Multi-instance settings
    and see the option that best fits your needs.

    Screenshot follows:

    47e4f287-5320-464d-b73e-2c2592a08b44-image.png

  • plugin that support auto-numbering

    23
    0 Votes
    23 Posts
    6k Views
    BobbstermanB

    Tiny improvement (IMO) for bullet list: now it only copies spaces, no punctuation:

    from Npp import editor, SCINTILLANOTIFICATION import re class NA(object): def __init__(self): self.eol = ['\r\n', '\r', '\n'][editor.getEOLMode()] editor.callback(self.callback_sci_CHARADDED, [SCINTILLANOTIFICATION.CHARADDED]) def callback_sci_CHARADDED(self, args): if chr(args['ch']) == self.eol[-1]: caret_pos = editor.getCurrentPos() curr_line_num = editor.lineFromPosition(caret_pos) if curr_line_num > 0: prev_line = editor.getLine(curr_line_num - 1) m = re.match(r'\s*(\d+)([^\w\r\n]+)', prev_line) if m: full = str(m.group(1)) + str(m.group(2)) full_prev = prev_line.rstrip('\r\n') if (len(full_prev) > len(full)): # if m: prev_number = int(m.group(1)) symbols_after = m.group(2) new_number = prev_number + 1 text_to_insert = str(new_number) + symbols_after editor.insertText(caret_pos, text_to_insert) new_caret_pos = caret_pos + len(text_to_insert) editor.setEmptySelection(new_caret_pos) return m = re.match(r'\s*(\+)([\s*]+)', prev_line) if m: full = str(m.group(1)) + str(m.group(2)) full_prev = prev_line.rstrip('\r\n') if (len(full_prev) > len(full)): # if m: bullet = m.group(1) symbols_after = m.group(2) text_to_insert = bullet + symbols_after editor.insertText(caret_pos, text_to_insert) new_caret_pos = caret_pos + len(text_to_insert) editor.setEmptySelection(new_caret_pos) return if __name__ == '__main__': try: na except NameError: na = NA()
  • Error on type anything

    Locked
    12
    0 Votes
    12 Posts
    3k Views
    PeterJonesP

    @Mark-Olson said in Error on type anything:

    @Tebi-Sa
    I’m getting ChatGPT vibes from your answer. Strongly suggest not using AI tools to answer questions in this forum

    It’s not just a strong suggestion: it is one of the rules of the forum:

    To maintain a high quality of posts, accounts which post spam and accounts which post significant technical nonsense may be banned, at the moderators’/administrators’ discretion. (Being wrong is not grounds for banning; but persisting in posting misleading or confusingly-wrong posts, or persisting in using Generative AI (like ChatGPT) or similar programs to create posts, is grounds for banning.) - https://community.notepad-plus-plus.org/topic/21965/please-read-this-before-posting
  • Copy Link in Caret /w Ctrl+P (LuaScript)

    11
    0 Votes
    11 Posts
    688 Views
    guy038G

    Hi, @mpheath and All,

    I confirm that the command npp.AddShortcut(... works ONLY when appended to startup.lua and do not work in a separate Lua file !

    And, this time, after restarting N++, the new options Copy this link Ctrl+Alt+2 and Copy this link Ctrl+Alt+3 were present in the Lua sub-menu and did the job, correctly

    Finally, as this command is already included in the contextMenu.xml, I suppose that any script, whatever it is, that mimics the Copy link function, seems useless !

    Again, thank you very much, @mpheath, for your support !

    Best Regards,

    guy038

  • Please recommend encryption plug-in

    3
    0 Votes
    3 Posts
    1k Views
    Tony FT

    @PeterJones thanks v much

  • Issues with Vertical Edge Setting + User Defined Language

    2
    0 Votes
    2 Posts
    217 Views
    ?

    Edit: I fixed this, in case anyone has any issues with it later. I just had to uncheck global font size.

  • Notepad++, windows 11 and pythonscript

    9
    0 Votes
    9 Posts
    670 Views
    ThosRTannerT

    @Ekopalypse working great now. thank you!

  • Line select problem

    9
    0 Votes
    9 Posts
    2k Views
    PeterJonesP

    @Michael-Lander said in Line select problem:

    @guy038 this is great! I cannot, however, find any shortcuts.xml to drop them into.

    %AppData%\Notepad++\shortcuts.xml

    See FAQ

  • How do I copy my settings to a new computer

    4
    0 Votes
    4 Posts
    1k Views
    Mark OlsonM

    @ThosRTanner
    Should be the contents of the %Program Files%\Notepad++\plugins folder.

    Note that most plugins have a bunch of app data in %Appdata% as well, which will be copied along with everything else if you do as PeterJones directed.

  • append data before and after text

    5
    0 Votes
    5 Posts
    281 Views
    namx3249N

    yes, i know ffmpeg but already tried for strange site and does not work
    because from m3u8 to this site only segments are present but missing the full link (first) and token at the end (see my first post above), so ffmpeg don’t have link for its download

  • Keyboard Shortcut in Windows Context Menu

    3
    0 Votes
    3 Posts
    407 Views
    Max StoneM

    @PeterJones Alright, thank you for the reply; and the FYI, that’s good to know.

  • Is there a good css class parser?

    8
    0 Votes
    8 Posts
    943 Views
    Markus KrauseM

    @Jeffrey-Cobb

    Try this, its better and fast:

    <?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <functionList> <parser id="css_comment" displayName="CSS Comment" commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)"> <function mainExpr="^([:#\.\w][^\{]+\{[^\}]+\})" displayMode="$functionName"> <functionName> <nameExpr expr="^([:#\.\w][^\{]+)"/> </functionName> </function> </parser> </functionList> </NotepadPlus>
  • regex search replace

    12
    0 Votes
    12 Posts
    2k Views
    Thomas-OlivierT

    I put it in appdata and the one from the main D:\Notepad++\shortcuts.xml I removed.

    A big thank you to @guy038. It works flawlessly.

  • Better CSV columns?

    4
    0 Votes
    4 Posts
    6k Views
    CoisesC

    You might be able to use my plugin Columns++ to help with this. See the help sections on Elastic tabstops and the Convert separated values to tabs… command.

    Elastic tabstops is a conceptually simple algorithm defined by Nick Gravgaard for aligning tab-separated text. It works by treating each tab as a column separator and then making each column just large enough to hold its contents, much like the way a simple HTML table works.

    In most cases, Convert separated values to tabs should be able to transform a csv file into tab-separated values without confusion.

    There are some other handy functions in the plugin for working with data arranged in columns as well.

    I currently consider the plugin to be in an “alpha” state. I use it, and I haven’t been seeing many problems reported, but it could be that hardly anyone is using it. If you use it, please let me know if you encounter any problems.

  • I need to insert a special character at the beginning of a line

    3
    0 Votes
    3 Posts
    1k Views
    JustinJudoJ

    @PeterJones Thank you Peter, I appreciate the solution. Man you’re so good with this stuff… I wish I knew how to do RegEx. I’ve looked it before but it just seem so difficult to learn!