• 0 Votes
    5 Posts
    835 Views
    PeterJonesP

    @Dave-Evans said in Why my notepad++ become like this?:

    In this forum and on Reddit (and maybe other platforms) I’ve seen many posts saying that the rendering of their files changed. And the color red is mentioned often.

    Not sure what posts you are talking about. Trying to interpret JSON5 is the only situation I can think of that consistently gives red for users, except when they’ve done something wrong.

    Well, Notepad++ just automatically updated itself (maybe I should turn that feature off, I didn’t realize that a new version could be so dramatic).

    Quite honestly, more people complain that the new highlighting (like when N++ enables new languages) doesn’t show up, because Notepad++ does not overwrite old stylers/themes/langs config files. So unless you deleted your old config before updating, it’s much more likely that nothing in the Style Configurator changed on you.

    And now my file (a .py file, for what it’s worth) is mostly in read.

    What theme are you using (Settings > Style Configurator > Select Theme: <theme name here>)? And what’s in your ?-menu’s Debug Info.

    Please click the </> button and paste in the python code that doesn’t highlight right for you, because I’ve never seen python “in mostly red” or anything close. And also provide a screenshot in your most recent version showing it being “in mostly red”, so that we can try to replicate your exact circumstances.

    And really nice would be if you could download a portable Notepad++ for the old version you had before the update, and then show a screenshot of the exact same code looking right under the old version, so we can compare that to the new version (and try to replicate the difference ourselves); if you cannot do this part, I understand (especially if you’ve forgotten what version number your old version was before you upgraded), but it would go a long way to help us replicate your problem if you were able to do this.

    For example, here’s a screenshot showing in v8.8.1 (the most recent), that it’s highlighting python reasonably, not “in mostly red”, which is why I am doubtful that it’s solely the fault of the Notepad++ update:
    c4791c6a-dd43-43bf-925b-97592cf69d69-image.png

    I think it’d be nice if there were a layering of options, and I’d like a layer that is very stable and that allows me to say that I liked very much TECO on a VT100.

    Notepad++ installer/updater refuses to overwrite your themes/stylers/langs under normal circumstances, to avoid accidentally overwriting your cutomized colors, so it’s highly stable for the vast majority of users.

    None of the <1% of users who has ever complained about Notepad++ overwriting their themes/stylers/langs has ever given enough information for anyone to be able to repeat the circumstance in which it was overwritten (and I would love for you to be the first to break that streak). (Some of the regulars have speculated it has to do with running Notepad++ As Admin when you run ? > Update Notpead++, which somehow corrupts the user’s AppData settings or something, but there has never been a repeatable procedure which can replicate the complaint.)

  • What an idiot

    Boycott Notepad++
    1
    -4 Votes
    1 Posts
    626 Views
    No one has replied
  • XMLTools with XSLT 3.0 support

    Notepad++ & Plugin Development
    1
    3 Votes
    1 Posts
    256 Views
    No one has replied
  • 0 Votes
    3 Posts
    428 Views
    Sam J.S

    @Alan-Kilborn Great idea! It works wonderfully. Thank you.

  • 2 Votes
    1 Posts
    226 Views
    No one has replied
  • [New Plugin] NppOpenAI

    Notepad++ & Plugin Development
    45
    8 Votes
    45 Posts
    44k Views
    Richárd StockingerR

    Hi everyone,

    @andrea-tomassi’s PR was really helpful, and it was accepted of course, moreover this gave the project a great shake-up! Of course, the update has also been added to the nppPluginList repository and was recently accepted.

    If someone doesn’t want to wait, manual installation is available as usual with the v0.5 release (unzip the appropriate ZIP file to the plugins/NppOpenAI folder):
    https://github.com/Krazal/nppopenai/releases/tag/v0.5.0

    The last few months have been very stressful for me (there was a nationwide update in the Hungarian .HU domain name registry, which also affected our developments too), but now things are starting to calm down and I hope to have more time for the plugin. ✨

    Once again, thank you to those of you who are trying out the plugin, and I am very grateful for all the contributions!

  • Opened files fully expanded

    Notepad++ & Plugin Development
    3
    0 Votes
    3 Posts
    590 Views
    mpheathM

    @Christian-Hoffmann

    Tested v8.8.1 being quite a new and clean portable and reopens new 1 folded

    Set as Python language folded at if on line 1. Programmatically regarded as line 0.

    new 1:

    if a: b

    session.xml:

    <?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="0"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="39" ... snipped ...> <Fold line="0" /> </File> </mainView> <subView activeIndex="0" /> </Session> </NotepadPlus>

    See the xml tag Fold. Folding is saved and restored.

    More details might be needed to solve your issue, like version being used … as ? -> Debug info... shows.

  • Format my JSON

    General Discussion
    9
    0 Votes
    9 Posts
    5k Views
    PeterJonesP

    @Estevao-Jordao ,

    Did you really need to come 4 years later to give a URL to a random website when the problem is solved with Notepad++ and the JSToolNpp plugin mentioned then (or the JsonTools plugin which also exists now).

    (your link was de-linkified, to avoid this forum becoming a honeypot for posting URLs to random sites unrelated to Notepad++)

  • 0 Votes
    5 Posts
    603 Views
    VTGroupGitHubV

    No it’s not. The problem is back. Something made it work for one restart, then it broke again. I’m still looking for a fix/workaround.

  • 0 Votes
    21 Posts
    4k Views
    PeterJonesP

    @rinzwind5 said in Notepad++ whitespace autocomplete define:

    bgColor is hard-coded in each UDL and cannot be set to ‘inherit/default’ (as in use the NPP theme setting’s background).

    Nitpick: you said "Cannot be set … "; but the reality is that it would be better to say “can be set in exactly the same way as you do in the NPP theme setting’s background” – ie, by right clicking the color or toggling the checkbox for Transparent

    Here’s a screenshot of a UDL defined with keywords one two three in red-on-transparent (and that UDL’s “Default” styler set to black-on-transparent – not shown in screenshot), when originally set up in Default (stylers.xml):
    ef38e661-4a15-4182-94c0-b4ef82b6cddc-image.png

    And here, all I did was change the theme to Solarized - Light: the background changes with no change to the UDL:
    fe093247-e6bf-41d0-8ac6-2a345d36eaff-image.png

  • Coloring log files

    Help wanted · · · – – – · · ·
    6
    0 Votes
    6 Posts
    7k Views
    PeterJonesP

    @PeterJones said in Coloring log files:

    It looks to me like you want Notepad++ to display your logfile which uses ANSI ESCAPE SEQUENCES in the colors that those ANSI escape sequences define.

    v8.1.1 includes the ErrorList higlighting for .log and .err, which allows ANSI escape sequences higlighting, including recognizing and using the ANSI foreground color escape sequences for choosing the foreground color.

  • 0 Votes
    6 Posts
    901 Views
    Alan KilbornA

    @glandon said:

    i try to get users clear

    This six-word thing is by far the most important thing you could do.

  • 0 Votes
    7 Posts
    876 Views
    Hank KH

    @PeterJones

    An it was right above auto-detect encoding … lol

    Thx again

  • 0 Votes
    4 Posts
    564 Views
    S

    @xomx @PeterJones
    Thank you for your assistance. I am currently using 2 monitors, both are the same model, I believe capable of 2560x1440. My second monitor is set in portrait mode. On the 2nd monitor most of the after image/moving seems to remain on screen when the after image moves higher than the first screen. (I am assuming about 1440 pixels from the bottom of the screen)

    Prior to updating to 24h2, I had an update of 23h2 about a week ago, and did not notice any unusual behavior with the undocked search results. I honestly don’t remember if before the 24h2 update, if when I attempted to drag the undocked search results if the window moved or if I just had an outline that would show me when the window would be.

    For clarification, the Search Result window is not missing. And prior to messaging here, I had deleted my config files. As well as removing and installing the latest version of Notepad++.

    Please let me know if any more information would be of assistance.

  • 3 Votes
    13 Posts
    2k Views
    xomxX

    So it really was a Scintilla v5.5.6 bug, fix for its next version:
    https://sourceforge.net/p/scintilla/code/ci/0364bca4f6d3cb1e1aaffa3baae6a0dfe4b026f2/

  • 0 Votes
    4 Posts
    462 Views
    edosyd cappelliE

    @Alan-Kilborn
    thankyou for the advice

  • 1 Votes
    8 Posts
    1k Views
    I

    “default style” is working fine for my purposes.

    I will propagate these configuration changes to any other old installations I may have.

    Thanks to all for the very effective help!

    -Phil

  • Notepad++ v8.8.1 Release

    Announcements
    6
    2 Votes
    6 Posts
    8k Views
  • 0 Votes
    2 Posts
    337 Views
    PeterJonesP

    @Denine ,

    The owner is working on it, but, per here, it’s not as simple as one might hope.

  • Hide vertical scrollbars

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    410 Views
    Alan KilbornA

    @zitot-hawaii-edu said:

    in distraction free mode, the two views/panes became only one view/pane…but I need both

    Hmm, presumably, the designer of distraction free mode decided that a second pane would be distracting… :-)