• Regression of v8.5.0, still found in v8.5.3 tracking write protection

    3
    0 Votes
    3 Posts
    197 Views
    Alan KilbornA

    @csystems-hv said in Regression of v8.5.0, still found in v8.5.3 tracking write protection:

    sorry for posting here.

    No worries. It is often good to post here first anyway; there may be a simple fix to your problem that the user community can point you to.

  • How do I change font?

    13
    0 Votes
    13 Posts
    133k Views
    Mekki CharfiM

    @Meta-Chuh Thank you very much for your help !

  • 0 Votes
    3 Posts
    1k Views
    Mark OlsonM

    You’re both more likely to get help if you go to the GitHub repo.

  • Regex: Delete empty lines inside an html tag, after .dot

    8
    0 Votes
    8 Posts
    467 Views
    Rufi MaR

    @Mark-Olson said in Regex: Delete empty lines inside an html tag, after .dot:

    @Neculai-I-Fantanaru
    Yes, my regex did that. If you looked at my data, you would see that your initial example was part of it and my regex did that.

    I’m glad you found a solution that works. However, I would note that the \s+\s+ in your regex should be replaced with \s+ because the second \s+ contributes nothing.

    Thanks it helps a lot.

  • help to delete some blank lines

    4
    0 Votes
    4 Posts
    226 Views
    guy038G

    Hi, @namx3249 and All,

    Ah…, I simply added a leading TAB char before each line of the first part to show you that the regex S/R could also handle this case !

    But, If you’re sure that leading blank chars won’t appear in your file, you can simplify the regex S/R as below, to get a similar OUTPUT :

    SEARCH (?-s)^(.+\R)\R+(?=http)

    REPLACE \1

    BR

    guy038

  • Custom Language numbers only working in some places

    7
    0 Votes
    7 Posts
    333 Views
    Victor NonyaV

    @PeterJones Yes but the example you showed all the na’s were the same color. In your example all three of the na’s in different locations were all orange.

    I’m trying to set the na function to another color and all the other na’s be orange.

    in your example you have the function as orange. I need it to be blue but I still need the na, na, na, and the = na to be orange.

    the result I’m looking for would look like this.

    Screenshot 2023-06-03 133744.png

    It may also be a limitation like with the numbers that I’ll just have to live with it being the same color which is fine if that’s the case it doesn’t have to be identical to the tradingview editor.

    I’ve added na in two locations in the keywords section. One in the main keywords that stores all the functions which are blue. Then I’ve added it again in another keyword section that is pinkish color and using the () delimiter it works great as long as the na’s are inside the () but the ones outside are blue so it’s probably just a limitation that I’ll have to live with since the na’s that are functions are also outside of the ().

    as far as the numbers issue I can always change the way I am coding and stop using numbers in the variables and type them out like one, two, three if that truly bothers me. it’s not really a big issue. It is super cool the stuff you can do with notepad++ I do enjoy learning this stuff.

    EDIT: after removing the () delimiter that I was only using for the na that fixed the issue with the numbers not working. All the numbers show up as they should now. I’ll just live with all the na’s being one color it’s not too big of an issue for me.

  • button in notepad

    2
    0 Votes
    2 Posts
    722 Views
    PeterJonesP

    @Miguel-Tiezi ,

    There’s already a “New File” button on the toolbar. And there’s a Customize Toolbar plugin, which allows you to add other Notepad++ features to the toolbar even if they aren’t there naturally. And if you are coding a plugin from scratch, you can add buttons to the toolbar. If none of those cover what you want, then you will have to be more specific.

  • Issue setting text color for quotes in XML style

    3
    0 Votes
    3 Posts
    320 Views
    EkopalypseE

    @Victor-Nonya

    Instead of editing the XML file directly, use the dialog “Language->User defined language->Define your language …”.
    and define a delimiter using " as open and close tag.

    18213ace-4066-46b6-9a8b-a53e2cf5e882-image.png

  • Stylers.xml / lang.xml

    3
    0 Votes
    3 Posts
    232 Views
    Bernd OldenbeuvingB

    Hi Peter,

    thx for your reply! I already tried some of the tricks you provided, but I overlooked one that I will try this weekend.
    Will post the result

    Regards Bernd

  • Background color of text in dark mode

    4
    0 Votes
    4 Posts
    719 Views
    Alan KilbornA

    @Nikhil-Gupta said in Background color of text in dark mode:

    the background color has changed to greenish/greyish tinge

    Hope Notepad++ team reverts it back to black in their next version

    AFAICT, there’s nothing to revert, looking at defaults in 8.5.3. Dark mode background color has never been an absolute black, as far as I know.

  • How do you access the offline help?

    9
    2 Votes
    9 Posts
    717 Views
    Alan KilbornA

    @CityguyUSA said in How do you access the offline help?:

    That’s dumb. How much effort does that involve? It’s a link.

    WHAT’S dumb?

    If you don’t know what you’re talking about, perhaps best not to talk.

  • Issues Using NPP When There Are Spaces In File/Path

    3
    0 Votes
    3 Posts
    207 Views
    Alan KilbornA

    I haven’t looked at the videos as I don’t tend to do links to 3rd party sites I haven’t heard of. But…these type of issues usually come down to a double-quoting problem of some sort. If a filepath contains one or more spaces, it must be double-quoted at the time it reaches Notepad++'s command line.

    The command line that N++ was run with is shown in the “Debug Info” so Mark’s advice about providing it is solid.

    using my file manager’s context menu edit

    This leads me to believe the problem is NOT related to N++'s own Explorer context menu (which is in itself new and has been causing users various problems).

  • Unicode in shortcuts.xml

    7
    0 Votes
    7 Posts
    662 Views
    wonkawillyW

    @Alan-Kilborn @Stefan-Travis said in Unicode in shortcuts.xml:

    to insert a unicode bullet character
    think the forum changed your first thing from entity notation to the real character. People have been putting spaces between each character to avoid this when posting, reference & # x 2 0 2 2 ; usage above.

    Ops… I didn’t notice… than let me reformulate whit corrections:
    To insert a unicode bullet character did you already tried to use directly the bullet into the macro instead of its entity? In other words you might want to try to transform the Replace parameter from

    "$1• "
    to
    "$1• "
    Restart notepad and execute the macro.
    Now the Npp macrosystem supports unicode.

  • Plugins Portable version

    5
    0 Votes
    5 Posts
    4k Views
    wonkawillyW

    @CmexxLDRS
    It happens to me too every time: in my case it is due to the operative system that blocks access to non secure files coming form the web.

    How I solve it: after unzipping the downloaded zipped file I go to notepad++.exe file and click on it with right mouse button and on the menus that pops up click on Properties. On the Properties dialog that appears right after I check if it is present a similar message I enclosed into the red stroke (of course it will be in your language)
    Follows a screenshot:

    93bf8520-130c-4fcf-806a-7ee7db09778e-image.png

    The I click on on the button to unlock the file.
    Than I confirm and the dialog. Right after I go to the Updater directory and do the same passages with gup.exe and libcurl.dll. Now plugins get installed. Also sometimes could be needed to set a proxy from Notepad menu > ? > Proxy settings. But in my case this is not needed.
    About that I can’t be sure for your specific situation though.

  • Need Help Rename, Edit, *.json File

    5
    0 Votes
    5 Posts
    918 Views
    ScuzymS

    Hi folks, thank you very much for the quick help.

    Tery’s solution worked right away, Thank you!

    I’ll try the other suggestions at the next opportunity. Thank you all!

  • replace character with multiple spaces

    8
    0 Votes
    8 Posts
    761 Views
    guy038G

    Hi, @black_cat, @alan-kilborn, @mark-olson, @wonkawilly and All,

    And here is on other way to achieve your goal, @black_cat !

    In your current working tab or in a new tab, type in the following string, on a new line ( )

    To verify if you get the right number of spaces, just double-click inside the parentheses gap

    Select all this line, with the two parentheses

    Hit the Ctrl + H shortcut ( Replace dialog )

    => The Find what: zone should be populated with that string

    Click on the small button, with the two UP and DOWN arrows, close to the Find and Replace zones => The ( ) string should have moved to the REPLACE zone !

    Then, type in ad in the Find what: zone

    Select the Regular expression search mode    ( IMPORTANT )

    And… enjoy ;-))

    In the replacement part, you may, as well, use a composite text like, for instance :

    ( This is a test ! )

    Best Regards,

    guy038

  • using regex to identify and insert full path

    8
    0 Votes
    8 Posts
    502 Views
    Tat UbuT

    @wonkawilly

    https://
    postimg(dot)cc
    /wtTRQT2F

  • [Npp bug] Menu anomalous behavior when changing Npp Localization

    4
    0 Votes
    4 Posts
    387 Views
    wonkawillyW

    @PeterJones
    Sorry, I wrote the plugin name wrong: I installed NPPTextFX2 from https://github.com/rainman74/NPPTextFX2 using Plugin Admin.
    NPPTextFX2 only is available into Plugin Admin.
    My mistake.

  • Cursor offset, hard to work with Notpad++

    4
    0 Votes
    4 Posts
    422 Views
    PeterJonesP

    @GerhardKreuzer said in Cursor offset, hard to work with Notpad++:

    Its hard to edit text files which this editor, sorry.

    Then you are doing something wrong.

    Here is a video screen capture of me moving the caret (the vertical typing bar) after the n, after the r, and after the space, and hitting the DELETE key each time (and undo each). All three delete the character to the right of the caret, as they are supposed to.

    As a reminder, DELETE deletes the key to the right of the caret; BACKSPACE deletes the character to the left of the caret.

    Idea: there is Settings > Preferences > Editing configuration in the section Caret Settings. It defaults to Width: 1, but I am wondering if you have Width: Block After selected instead. If you do that, the caret before the r will look like this:
    47dc4878-4321-43b3-8837-bcf2e5b7ed6b-image.png

  • Tab Changed appearance on update

    11
    0 Votes
    11 Posts
    1k Views
    pmeriwetherP

    @PeterJones
    @mkupper
    I found I am able to change the color through using customized tones, please see the screenshot.
    d5a26ff8-21e1-49d8-8f14-e476936283d9-image.png
    I can take it from here, thank you both!