• Notepad++ being ,,Invisible''

    6
    0 Votes
    6 Posts
    914 Views
    Daniel FerreiraD

    @mkupper i made an account just to be able to login and upvote your answer. thank you so much mkupper

  • How to install and run a script in Python Script?

    24
    0 Votes
    24 Posts
    6k Views
    dr ramaanandD

    @PeterJones OK, thanks a lot! “<sup>.*?\[” finds what I want it to find, that is “<sup>\[” with the Regular expression mode turned on. I then put “<sup>[” in the Replace with field and hit “Replace all”

  • Adjusting column spacing and line tracking

    3
    1 Votes
    3 Posts
    506 Views
    Torge WeißT

    Hello Peter,
    thank you so much. It worked out exactly as I wanted.

  • Project files: mark them

    6
  • How to highlight lines with color one by one?

    22
    0 Votes
    22 Posts
    3k Views
    Alan KilbornA

    @Coises said in How to highlight lines with color one by one?:

    …loop through character by character checking SCI_POINTYFROMPOSITION to determine where the wrapping happens

    The original script fires its logic every time the UI is updated (maybe that could be changed to every time the data is modified instead).
    When I wrote the original script, I had “performance” concerns for the script, with moderately-sized files and larger.
    I have even more concerns about that if the script is changed for the newly requested feature for it (which would incorporate the “looping” @Coises mentioned).

  • Regex: Find String in HTML Not at Line Start or Following </p>

    15
    0 Votes
    15 Posts
    860 Views
    Sylvester BullittS

    @dr-ramaanand Understand. Thanks for your input and time!

  • Calltip on mouse-over from UDL xml file (Python)

    21
    0 Votes
    21 Posts
    2k Views
    Khundian TwitchK

    I have finished the script, if anyone is interested I posted it in the Plugin development forum.
    Thanks again to everyone who helped me out!

  • Find-in-FIles: Can’t Replace Multiple Instances of Word

    48
    0 Votes
    48 Posts
    4k Views
    Sylvester BullittS

    @Sylvester-Bullitt Got done generating broken link report.

    THE GOOD NEWS: My regex didn’t break any links

    THE BAD NEWS: I just go lucky. Some further testing revealed that my regex would have broken links, if I had had the bad luck to use a search term that also in a hyperlink URL.

    So, I added lookaheads to ignore matches of underscores and .htm, and it seems to work. In case anyone’s interested, here’s the new-and-improved regex, with some comments added for clarity:

    (?-si:<section class="lyrics">|(?!\A)\G)(?s-i:(?!</section>).)*?(?#Not at start of line or para)(?<!^)(?<!<p>)(?<!<p class="chorus">)\K(?-si:\bWORD_TO_FIND\bq(?#Not in hyperlink)(?!(\.htm))(?!_))
  • Line where cursor is located disappears in line highlighting

    3
    0 Votes
    3 Posts
    327 Views
    PeterJonesP

    @Stefan-Kirsch ,

    You might want to follow similar steps to what I suggested in this post – that other post was about the “multi-selected text colour” setting, but your stylers.xml and themes\DarkModeDefault.xml might be missing some of the recent style definitions, and the default it chooses with those undefined styles might not be compatible with your color choices.

    So you basically need to compare the whole <GlobalStyle>...</GlobalStyle> section from your copies of those two settings files to the same section in stylers.model.xml, and copy over any lines that are missing from the stylers.model.xml version into your config files. Once you restart, you can use Style Configurator with either the default-theme or DarkModeDefault theme selected, and change the new colors to better match the colors you’re using for other things.

  • How to revert to single pane after compare

    3
    0 Votes
    3 Posts
    722 Views
    Vishnu vardhanV

    @PeterJones Thanks mate!

  • All occurrences of token: Not all the same texts are marked (highlighted)

    3
    0 Votes
    3 Posts
    351 Views
    N

    @PeterJones Thank you. Your tip solved exactly my problem. THANK YOU SO MUCH!

  • Trying to create Language for ChordPro Format but I am miserably failing

    4
    1 Votes
    4 Posts
    336 Views
    Heinz FaerberH

    @Mark-Olson said in Trying to create Language for ChordPro Format but I am miserably failing:

    EnhanceAnyLexer

    While reading about UDL I cam across EnhanceAnyLexer so I knew I have to install that plugin :-) Then I copied the Chordpro lexer code into C:\Users\UserName\AppData\Roaming\Notepad++\plugins\config\EnhanceAnyLexer\EnhanceAnyLexerConfig.ini

    Guess what? You’v made my day.

    Everything is working the way I wantet it to be.

    Thank you very much Mark

  • code folding

    2
    0 Votes
    2 Posts
    156 Views
    Klaudiusz GawlikK

    @Klaudiusz-Gawlik
    ba867789-c71b-4c53-a134-684864a091c8-obraz.png

  • Disable ASCII Control characters shortcuts?

    24
    0 Votes
    24 Posts
    39k Views
    Alan KilbornA

    @mkupper said in Disable ASCII Control characters shortcuts?:

    it may well not be at all easy for Notepad++ to have an Ignore unrecognized keyboard Ctrl codes setting.

    Actually, it should be fairly easy.
    And the script I linked to yesterday (and everyone since then has so far ignored) shows what would need to be done:
    Prevent WM_CHAR codes for the control character range from reaching Scintilla, where they are processed by putting the corresponding character in the document.

    By the way, people in the future will come read this thread, so it is best to post “correct” information.

    This is not how to define a correct action tag to solve the problem; one example from above:

    <Macro name="RemoveKey_Ctrl_Shift_X_CAN" Ctrl="yes" Alt="no" Shift="yes" Key="88"> <Action type="" message="" wParam="" lParam="" sParam="" /> </Macro>

    The correct equivalent would be:

    <Macro name="RemoveKey_Ctrl_Shift_X_CAN" Ctrl="yes" Alt="no" Shift="no" Key="88"> <Action type="0" message="2172" wParam="0" lParam="0" sParam="" /> </Macro>

    Reference: https://npp-user-manual.org/docs/config-files/#macros:~:text=Attributes for the <Action> tag

  • next serch result - multiple files search

    3
    0 Votes
    3 Posts
    168 Views
    Harald SchöffelH

    @Andi-Kiissel
    so close :D
    thanks a bunch !

  • NppEventExec - can not open specified file or it is empty

    3
    0 Votes
    3 Posts
    213 Views
    H

    @dinkumoil Thanks! That works. Imo, the Expression “NppExec command” is a little misleading…

  • Reset back to a single-line cursor using arrow keys

    9
    0 Votes
    9 Posts
    542 Views
    AlezexA

    [Solved]

  • 0 Votes
    3 Posts
    243 Views
    no hanksN

    @PeterJones Awesome, thanks that was a super simple fix!

  • Is there any alternative to Merge files in one plugin?

    16
    0 Votes
    16 Posts
    4k Views
    CésarC

    @Doğancan This solution worked for me (I tried it on merging HTML files succesfully):

    @Diego-Raguindin said in Combine Plugin Gone!?:

    This worked perfectly for me:

    Put all of the files you want to combine in the same folder. Easiest would be at root-level. Run a command prompt CD to the folder in Step 1 Enter command copy *.csv filename.csv where “filename” is the desired output filename Hit enter File ‘filename.csv’ is created in the same folder

    https://community.notepad-plus-plus.org/post/77090

  • Changing tab colors

    3
    2 Votes
    3 Posts
    1k Views
    TeasyT

    @PeterJones said in Changing tab colors:

    Sorry about that: I fixed it for you, and you now have enough upvotes to be able to post links in the future. But it’s either have that restriction and annoy the portion of first-time posters who try to include a link with good intentions, or return to being the spam-pot we used to be. We used to get multiple spam links per day by first-time posters, and it annoyed me that I had to spend so much of my time in the forum moderating spam; now that we don’t allow first-time posters to include links, I and the other moderators can focus on trying to actually help the posters rather than individually deleting spam posts. Sorry that it inconvenienced you. (And if I’m going to do moderator-y things, I’d rather edit a well-written first-time post to linkify a URL than deal with spam.)

    Much appreciated! <3