• Anyone familair with PseudoConsole API in Windows 10?

    5
    1 Votes
    5 Posts
    733 Views
    Vitalii DovganV

    I tried GetConsoleMode/SetConsoleMode - these funcions are rather for real console (e.g. in a console application or when a console is created explicitly by means of AllocConsole and so on) than for a PseudoConsole. Anyway, it was worth to try since I didn’t have other ideas.

    Eventually I’ve asked another developer for advice since he uses PseudoConsole in his Python code:
    https://github.com/veksha/cuda_exterminal/issues/51
    From his clarifications, NppExec must support ANSI escape codes to deal with PseudoConsole properly. Which, in its turn, returns us to this:
    https://github.com/d0vgan/nppexec/issues/14
    The circle closed up :)
    So it looks like NppExec requires additional code that will handle the ANSI escape codes.

  • [new plugin] JavaScript Map Parser

    3
    0 Votes
    3 Posts
    6k Views
    Thomas ShelbyT

    @megaboich said in [new plugin] JavaScript Map Parser:

    Hi everyone,

    Initially this plugin was developed for Visual Studio, and now it is available also for Notepad++.
    It shows the code structure of your JavaScript file in a separated panel in tree-view form. Code structure includes function definitions(including anonymous) and hierarchy.
    More documentation is available for Visual Studio version, functionality is the same.
    https://github.com/megaboich/js-map-parser/wiki/Functionality-Guide

    Prerequisites: .Net framework 4.0 must be installed.

    I have created release with plugin dll here:
    https://github.com/megaboich/js-map-parser/releases/tag/v4.0.2-npp

    I would really appreciate any help in making this plugin available in Notepad++ Plugin Manager.

    Visit this: https://community.notepad-plus-plus.org/topic/10738/changement-could-impact-plugins-for-javascript

  • TextViz - hide lines without clipboard text do not work

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @JaZnam-Fore said in TextViz - hide lines without clipboard text do not work:

    I really do not understand why someone who has already got necessary skills does not help others and simply give a link to the compiled binaries containing the fix.

    Who’s this someone you’re talking about?

  • TextFX vs TextVIZ

    3
    0 Votes
    3 Posts
    706 Views
    Pierre de la VerreP

    @PeterJones
    thanks, I got it!

  • Problem (for me) with Brackets Check.

    5
    0 Votes
    5 Posts
    394 Views
    Lycan ThropeL

    @Mark-Olson ,
    Agreed. This is one of the biggest reasons many of my fellow dBASE users wanted a Notepad++ UDL for the dBASE Language, and one fellow in particular.
    This and word wrap in NPP makes it easy for them to track/find matching open/close delimiters when they make complex commands in dBASE that uses a combination of square brackets, curly brackets and parnthesis when making complex SQL strings for access to backend databases formatted for the dBASE frontend for sending/receiving data.

  • 2 Votes
    3 Posts
    477 Views
    rdipardoR

    @Bas-de-Reuver,

    Any ideas on how to tackle this specific issue?

    Scintilla has an API for something called “line state”.

    In broad terms, a lexer “bookmarks” a line in the document by sending SCI_SETLINESTATE with some meaningful value, then looks it up later on by sending SCI_GETLINESTATE.

    A few Lexilla lexers already use line state to keep track of nested stream comments:

    Visual Prolog

    Microsoft Transact-SQL

    F#: lexing and folding

    For a (much more complicated) alternative, have a look at how the Python lexer implements f-strings.

  • Lua scripting Plugin

    6
    0 Votes
    6 Posts
    1k Views
    Alex RockA

    @dinkumoil said in Lua scripting Plugin:

    @Alan-Robinsin

    The LuaScript plugin already provides a menu item to execute the code in current editor tab, see (menu) Plugins -> LuaScript -> Execute Current File.

    With the help of the CustomizeToolbar plugin you can create a toolbar button linked to that menu entry by yourself. The plugin provides help how to do that, see (menu) Plugins -> Customize Toolbar -> Help - Custom Buttons.

    But since coding implies that you have your fingertips already at the keyboard, I would like to suggest to use Npp’s macro feature to create a macro that

    saves the current file and calls LuaScript’s Execute Current File feature.

    That macro you can assign to a keyboard shortcut.

    thanks my issue has been fixed.

  • Bug Multiclipboard makes N++ close.

    2
    0 Votes
    2 Posts
    291 Views
    Terry RT

    @Luis-Piña-III

    MultiClipboard isn’t a plugin that you can see in the Plugin Admin list, so cannot select and install it. It is likely (given it seems last version was 2011 according to GitHub) that it’s incompatible with the recent versions of Notepad++.

    How about reading the FAQ post here and follow the instructions for running without the plugin.

    Terry

  • XML Tool - MacOS - M2

    2
    0 Votes
    2 Posts
    335 Views
    Alan KilbornA

    @John-Smith-6

    I think really what you’re saying is that that plugin isn’t currently built for ARM processors. Probably your best bet is to visit the home of that plugin, and inquire there if an ARM build is in the future:

    06f4a649-8e7b-4552-8ab7-ff3852164fa4-image.png

  • Grammarly Plugin

    3
    0 Votes
    3 Posts
    1k Views
    Michael VincentM

    @Steve-C said in Grammarly Plugin:

    I was hoping this was being explored for a possible future update.

    You can write your own plugin if you understand Grammarly API.

    Cheers.

  • Is there an plugin which is able to do pretty print for shell/bash?

    7
    0 Votes
    7 Posts
    7k Views
    Michael VincentM

    @blueicehaller said in Is there an plugin which is able to do pretty print for shell/bash?:

    To my understanding this requires Linux.

    Why? It seems to be written in Python.

    Cheers.

  • Working with huge JSON files

    1
    3 Votes
    1 Posts
    3k Views
    No one has replied
  • [Plugin Update] NppUISpy

    4
    4 Votes
    4 Posts
    530 Views
    Lycan ThropeL

    @dinkumoil ,
    Hmmm… okay. I realize what the plugin helps, it does make it easier to find those two pieces of data, but now that you mention what you use it for, that’s another idea I’ll have to look into also. NPPExec could be the ticket. My assumption was, that as long as you have the ID, Name, you could put that into the contextMenu.xml for selection, and @Alan-Kilborn has already mentioned to me that PythonScript might also be able to be used to do it also. I was however, just looking for a simple way to cut down on the mousing necessary. I can bring up the two menus needed, Preferences and Style Configurator with a right click menu system now, so that at least removes one mouse movement. :) Thanks.

    Edit: ahh…okay, well I can still think of a few things to use NppExec for also. :)

  • 0 Votes
    58 Posts
    19k Views
    M

    @Ekopalypse
    I see… 😅

  • Terminal Plugin

    17
    1 Votes
    17 Posts
    11k Views
    Debajyoti DattaD

    @Michael-Vincent yes, we should probably end our discussion here.

  • 1 Votes
    10 Posts
    550 Views
    Guido ThelenG

    @mpheath Actually, the SCI_REPLACETARGETMINIMAL did the trick. In this SQL I just added I linebreak after “FROM” and only the impacted lines are shown in orange

    9593901a-31e2-4f62-b18b-41940bcef4da-grafik.png

    OF course, if there was another FROM statement all the lines between the two FROM statements would be shown in orange. This is fine for me.

    b718760f-f4ab-4c9f-b494-b265093b620b-grafik.png

    Regards
    Guido

  • How to add new Scintilla Messages to NotepadPlusPlusPluginPack.Net

    7
    1 Votes
    7 Posts
    708 Views
    Guido ThelenG

    @Alan-Kilborn @PeterJones, thanks! These were the info I needed. First tests are working fine. Need to do more tests.

  • 0 Votes
    2 Posts
    200 Views
    Alan KilbornA

    @Pantyhose-X

    Sounds like a programming problem.
    Sometimes we solve problems here with programming with Notepad++ and its plugins.
    This one seems best served by a solution independent of Notepad++.

  • 0 Votes
    5 Posts
    609 Views
    CoisesC

    The problem was not at all what I thought. It turned out to be ordinary user error. There was a fault in the syntax of my regular expression. Having never used C++ regular expressions before, I didn’t know that even when the expression is coded as a character literal, Visual Studio compiles code containing invalid regular expressions without complaint and then throws a run-time error. Because it was in a plug-in dll and it was a static constant (hence, processed on loading), the dll failed to load at all.

    There is no problem loading a plugin that uses std::regex, so long as the expression doesn’t cause an exception.

    Thanks to those who replied.

  • combine plugin

    17
    0 Votes
    17 Posts
    15k Views
    Alan KilbornA

    I noticed that the technique using the BetterMultiselection plugin described here: https://community.notepad-plus-plus.org/topic/22358/ Jan 8, 2022, 7:55 AM could also solve the problem of @0Raniere0 ; it may be very similar to @guy038’s solution presented directly above.