Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Jergen Ross EstacoJ

      quick toggle multi-line tab on/off.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      1k Views
      N

      @PeterJones
      That’s really unfortunate to find out… Even though it was made possible by mistake, we actually had it! So it’s certainly technically possible to implement. Wish an exception can be made for the Multi-line feature and an ID code can be assigned to be able to call upon it outside of Preferences.
      Well thank you very much for the reply because I know now, so appreciate it.

    • Daniel TrujilloD

      ViSimulator Not supported anymore?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      0 Votes
      10 Posts
      8k Views
      Dave HouserD

      @PeterJones Thanks for the reply been waiting for something like this for years! Just set up the latest 1.2 version (released yesterday coincidentally) . NppVim is wonderful! It does everything ViSimulator did, it also fixes a few minor issues I have delt with in ViSimulator and added features.

      Fixes:

      Works in newest versions of Npp + 64 bit. Using v $ actually selects to the end of the line now. ViSimulator went to end selection minus one character at the end. Can use Ctrl+f to NP++ find in regular or edit mode. In ViSimulator I needed enter edit mode to use Ctrl+f to find.

      Added feature:

      Can use : <integer> to jump to line numbers now, had to use Ctrl+g to use Npp’s one becuase ViSimulator did not support it. Can now use inputrc commands I used in the past like c i w, and y i w to cut or yank a whole word while in the middle of it

      This is great, I’m really glad this exists now!

    • László BotkaL

      Run truncates two or more spaces to one space

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      173 Views
      László BotkaL

      Thank you, your help was very useful and effective.

    • Revs DeeR

      Option to skip "Create new file" prompt(s) when pressing Alt+F6 while text is selected

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      268 Views
      Revs DeeR

      @PeterJones
      Thank you, that was useful :) I’ve updated shortcuts.xml so Alt+F6 now ignores selected text.

      <Command name="Open new instance" Ctrl="no" Alt="yes" Shift="no" Key="117">$(NPP_FULL_FILE_PATH) -nosession -multiInst</Command> <Command name="Open selected file path in new instance" Ctrl="no" Alt="no" Shift="no" Key="">$(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst</Command>

      da188c0f-2184-4898-ae3a-b65a5ba09cf8-image.png

      I hadn’t taken a moment before posting to find what Alt+F6 was labelled as. I’ve been using this command via the keyboard shortcut for a long time and not via the Run menu.

      For basic users, I think it could be useful to have this as an out of the box option e.g. File > New Window (Ctrl+Shift+N).

      Thanks again!

    • TG KingT

      Font size is different (wrong) in the latest version

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      172 Views
      CoisesC

      @TG-King:

      In addition to @PeterJones’ suggestions, also be sure you haven’t accidentally zoomed out (for example, by using the mouse wheel with the Ctrl key down): View | Zoom | Restore Default Zoom will set zoom back to normal.

    • Fatih CoşkunF

      New plugin: VirtualFolders

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development plugin
      3
      1 Votes
      3 Posts
      236 Views
      Fatih CoşkunF

      @PeterJones,

      As I see it you can only add actual files from the disk to the projects in Project Panel. In VirtualFolders “files” can be just buffers you created in Notepad++. They don’t have to be saved. Most of my buffers are not saved . They are just notes.

      Also you are right new files (saved or unsaved) automatically added in this panel. When you close it, it is automatically removed. Just like in Document List.

    • donhoD

      Fighting Malicious Ads on Download Pages

      Watching Ignoring Scheduled Pinned Locked Moved Security
      44
      3 Votes
      44 Posts
      35k Views
      PeterJonesP

      @MarcCMcC said in Fighting Malicious Ads on Download Pages:

      There are definitely still giant, green “Download” button ads:

      Posting screenshots here isn’t helpful, at this point.

      And it is better if you just email the malicious links directly to don.h@free.fr , as has been said repeatedly in this discussion.

      –

      I am locking this thread, as there isn’t anything new to say about this topic

      –

      If you came here to report a malicious/dangerous download link (and NOTE: not all ads with “download” are malicious or dangerous), then

      e-mail the URLs for malicious or dangerous advertising links on that page directly to don.h@free.fr
    • John HUANG 0J

      Looking for Scintilla examples for a Notepad++ plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      347 Views
      CoisesC

      @John-HUANG-0 said in Looking for Scintilla examples for a Notepad++ plugin:

      I want to write a Notepad++ plugin that can change the font color and background color of certain specific text.

      Depending on your needs, the first thing you should consider is whether you really need a plugin, or whether a User Defined Language could do what you want.

      However, using a method like this:

      SendMessage(hSci, SCI_STYLESETFORE, SCE_USER1, RGB(255, 0, 0));

      is not very efficient, especially when dealing with very large files.

      When making many calls to Scintilla, it is best to use Direct Access. Even better, if you are writing in C++, is to use the ScintillaCall interface. Annoyingly, that interface does not seem to be documented anywhere. You can read the relevant section in the help for my Visual Studio template and, if it makes sense, either use that template or look at the code (start here) to see how it’s done.

      I asked ChatGPT about this, and it suggested that using Lexilla could be much more efficient. I found the Lexilla source code here:
      https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/scintilla

      I have never attempted to write a lexer, so I can’t give advice there, except to say that unless you are trying to implement full syntax highlighting for a computer language that doesn’t already have a lexer, it’s probably not the way to go. The efficiency problem can be solved by using the direct access interface or ScintillaCall.

    • Joel RodriguesJ

      Help REPLACING content with incremental order (by +1)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      1 Votes
      10 Posts
      1k Views
      CoisesC

      @samsung-s6-Lite said in Help REPLACING content with incremental order (by +1):

      using your method I managed to work out how to do it PARTIALLY using this.

      Find what: SnapRestSeconds = \d+
      Replace with: SnapRestSeconds = (?=match)
      Search mode: Regular expression

      This starts them at number at ‘2’ I need it to start at 30 please, can you help?

      If it started at 2, then you did one sequential Replace with the same replace expression first. That’s OK — just be aware that replacing “continues from where you left off” if the expression hasn’t changed. After you close and reopen the Replace in indicated region dialog, change the expression, do a Replace All or select Clear History from the drop-down menu beside Replace All, counting will start again from 1.

      The expression you want is (?=match+29). (Since match will start from one, add 29 to match to start from 30.)

    • Dominique MegardD

      Help required with regular expression

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      156 Views
      Dominique MegardD

      @Terry-R Oops, I knew it was simple, just the \' which should not have been escaped. And on the site regex101.com only the “Rust” flavor pointed it out !!!
      Thanks anyway for the tips …

    • Ioannis KaradimitropoulosI

      problem in search

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      139 Views
      PeterJonesP

      @Ioannis-Karadimitropoulos said in problem in search:

      I search for the string γεα.
      I get all these liens that have γεα inside the verses
      but I do not get those having γεα at the end of verse

      The “like the verse” example you gave is literally in the list of matching results you showed us:
      36801032-dfcb-4995-8a1c-2384713c5f53-image.png

      And, to confirm, when I paste the majority of your post into Notepad++, both of the Line 14919 lines match the γεα

      d7a87610-50de-4dba-bd73-72bf0493d969-image.png

      I

    • Wes OwensW

      Find results box - F7 to toggle vs. show only

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development feature request
      2
      0 Votes
      2 Posts
      31 Views
      PeterJonesP

      @Wes-Owens ,

      F7 will actually move the focus between the editor panel and the search results, once the search results is open. And when the search results has focus, ESC will close it. (And the first time you hit F7 to show the results window, it will have focus, so ESC works immediately in that situation.)

    • Jhorbam Baena OrozcoJ

      Editar formulas de excel en Notepad

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      10
      0 Votes
      10 Posts
      632 Views
      PeterJonesP

      @john-murphy said in Editar formulas de excel en Notepad:

      You can click on the cell so that the formula goes up to the input window (I don’t know what it’s called). Highlight the formula there, not within the cell itself. Then Cntl C in excel and Cntl V in NP++

      You didn’t actually read the question. The people who answered earlier did. Please don’t try to “help” by giving answers that just use keywords, instead of actually understanding the question asked.

      I cannot prove you are using generative AI, but it sure feels like it. That is expressly forbidden in this forum. You’ve had two posts like that. If you make a third post that has the same unhelpful pseudo-replies, you will be banned.

    • Vitalii DovganV

      XBrackets Lite v2.0 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      3 Votes
      4 Posts
      2k Views
      Vitalii DovganV

      XBrackets Lite v2.0.3

      Glory to Ukraine! Glory to the heroes! fixed: CXBracketsLogic::OnCharPress was truncating a multi-byte character to a single-byte one, thus incorrectly treating e.g. 0x1D5B as 0x5B which is ‘[’.

      https://github.com/d0vgan/npp-XBracketsLite/releases/tag/XBrackets_v203

    • h-jangraH

      New Vim modal editing plugin release

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      1 Votes
      5 Posts
      4k Views
      Ava ThompsonA

      Thank you for the developing this plugin :)
      The feature I miss the most from vim is the visual block mode (Ctrl+V). Would love to see it implemented in the future.

    • M Andre Z EckenrodeM

      Columns++ display anomaly

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      13
      0 Votes
      13 Posts
      1k Views
      CoisesC

      @Laurie-Stearn said in Columns++ display anomaly:

      Out of interest, getting similar behaviour in a UDL when selecting Arial as font as opposed to Consolas:

      <WordsStyle name="COMMENTS" fgColor="008000" bgColor="000000" colorStyle="1" fontName="Arial" fontStyle="2" nesting="0" />

      As before type a long line of text which overflows the wrap limit thus

      texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext

      Then insert before it the opening comment tag:

      /*

      Solid pink line appears below the long line which prevents any cursor movement below with down-arrow.

      Replacing Arial with Consolas for example doesn’t repro.
      Some rare irreproducible glitchiness with pink lines may occur in other situations by just typing the slash instead of the asterisk.

      Edit: Just realised this is for a plugin not installed - the issue seems to be with N++ itself. Sorry.

      When it happened with my plugin (Columns++) the cause turned out to be a wrapped line getting shorter (due to tab layout changing), so that it needed one less wraps. The solution involved temporarily disabling Scintilla’s line cache: something that can cause slow processing in large files with word wrap on. The problem doesn’t happen when editing itself makes the line shorter; it happens when something done after the editing is complete (like recalculating tab widths, or changing styles) causes the line to get shorter.

      My guess is that in this case, the text wraps to n lines after editing, before the new styling is applied; then, when styling is applied, the text only requires n-1 lines for wrapping, and the leftover line is magenta-marked. That marking is a Scintilla “feature” to show that something went wrong. (Why it doesn’t just correct the wrapping instead, I don’t know. Scintilla is open source, but it’s still pretty much a black box to me.)

      The practical fix is probably to avoid specifying different fonts (or font variations with differing widths) for different styles if you expect to use them with word wrap. For performance reasons, turning off the Scintilla line-wrapping cache would not be something Notepad++ would do.

    • Ollivier_64_frO

      Project files updated

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      354 Views
      PeterJonesP

      @Ollivier_64_fr said in Project files updated:

      Hello everyone,
      I have a question about project management: would it be possible to update project content without having to delete all the files and recreate the project? I searched the options without finding a solution… it might be more convenient.
      I hope this question hasn’t already been asked. I searched the forum before posting here without finding anything.
      Thank you for your answers.

      What exactly do you mean by “update project content”? The project panels (https://npp-user-manual.org/docs/session/#project-panels) aren’t “live”, in that they don’t automatically add or remove files from a folder (because “projects” are meant to be independent of the underlying folder structure). But you can manually add or remove files from a given project at any time, without deleting and recreating it.

      If you are looking for something that’s directory based, rather than manually adding/removing files, then the closest feature to what you want is Folder as Workspace (https://npp-user-manual.org/docs/session/#folder-as-workspace), though that shows all files in the folder hierarchy, rather than just specific filetypes.

    • Raja AdikusumaR

      Help for a JSON formatting.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      2k Views
      PeterJonesP

      @Mudassir-Raza said in Help for a JSON formatting.:

      That JSON snippet looks fine — it’s just not indented properly, so it’s hard to read.

      And has syntax errors, since there are four arrays and two objects which are not properly terminated.

      You can format JSON in a few ways:

      In Notepad++, install the JSON Viewer plugin (as you already did).

      Or the JsonTools plugin mentioned above. I tried both on the original data: JSON Viewer refused to format it, because of the syntax errors. JsonTools warned about the syntax errors, but then made its best guess to close off the arrays and objects and then formatted it.

      Or, if you just want something quick in the browser, try a free online JSON viewer — it shows tree view and highlights errors instantly.

      This is a Notepad++ forum. Unless Notepad++ has no way of doing it, and especially for first-time posters, it is frowned upon suggesting external tools. And since both JSON Viewer and JsonTools can help with that messy data, to some extent, there is no reason to advertise external tools – they both have error detection, they both have pretty-printers, and they both have tree-view panels available, which covers all the features you mentioned of the website, so I can see no good reason to bring up that site.

      Given that the conversation was a year old, and the only new information you added was the advertisement for an external website, I was tempted to ban you as a spammer. And since I’m still not convinced that website traffic isn’t the only reason you posted, I am de-linkifying your post. Anyone who is curious about the site you’ve advertised will still be able to figure out where it is, but it will prevent automatic crawlers from wasting site bandwidth here as a redirect to the site you advertised.

    • guy038G

      Featured special event !

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      2
      8 Votes
      2 Posts
      673 Views
      guy038G

      Hello, All,

      In summary, a wedding is :

      Lots of preparation the day before

      Lots of celebrations in the evening and the night

      Lots of cleaning up the next day

      We were extremely fortunate to have beautiful weather and pleasant temperatures for the season.!

      My daughter, being a schoolteacher, had naturally chosen the All Saints’ Day school holidays.

      The wedding took place in the Chartreuse Mountains (1,000 m), near Grenoble.

      At the Town Hall :

      0aed2d1e-a6d0-48da-92f1-94fac8620ac7-20251018_19_C.jpg

      In Chartreuse :

      6af1599e-5a7a-4063-912e-389b35bf06c4-20251019_99_C.jpg

      Best Regards,

      guy038

    • Michael FuerstM

      Sorting the pull down list of open files

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      93 Views
      Terry RT

      @Michael-Fuerst

      As you have probably determined already, the initial list is in terms of “time opened”. However once you use the “Sort By” option it will present the open tabs in the order you want select (using options available). That is then saved as the new order of tabs, even if Notepad++ is closed and re-opened.

      This was asked for recently and the thought is that it’s unlikely to be added as an option, but if you read the FAQ posts you could present a request.

      Terry