• How to install webedit plugin? Why is it not visible in the toolbar?

    28
    0 Votes
    28 Posts
    9k Views
    PeterJonesP

    @Tony-Scialdone ,

    Here are the steps I used to get it working with v8.1.4-32bit:

    Use Plugins Admin to install WebEdit plugin. after the restart of Notepad++, the Plugins > WebEdit menu showed up, but there were no available actions in the menu, and nothing on the toolbar:
    274d27e8-0345-4cca-a3a9-1ce7d75f6bd2-image.png if I look in my <npp.install.dir>\Plugins directory, there is a WebEdit subdirectory, with a Config subdirectory (<npp.install.dir>\Plugins\WebEdit\Config\) Exit Notepad++. Copy the *.bmp and WebEdit.ini from <npp.install.dir>\Plugins\WebEdit\Config\ into %AppData%\Notepad++\Plugins\Config\ directory.🛈 Restart Notepad++ Now the WebEdit menu has actions, and the buttons are on the toolbar:
    2a20860e-0f44-4d9a-aec5-6d091a275f1d-image.png

    You might want to see this more recent WebEdit discussion: https://community.notepad-plus-plus.org/topic/21504/webedit-plugin-tooltips-out-of-sync

  • Notepad++ vs LAN resources

    2
    0 Votes
    2 Posts
    212 Views
    dinkumoilD

    @Evgeny-Goncharov

    Try the following: Open Preferences dialog and check this setting:

    9f5be5c0-2de9-4287-83e1-aef0672d29c3-grafik.png

  • List of all assigned keyboard shortcuts

    47
    0 Votes
    47 Posts
    32k Views
    Alan KilbornA

    @PENchanter

    I would certainly go with @Ekopalypse 's script approach in order to obtain the list of keyboard shortcuts, rather than paying any small amount of money to achieve it, but of course you are free to do as you like.

  • 0 Votes
    5 Posts
    409 Views
    SW Tool DesignerS

    @PeterJones , thank you for your help and support. I think the latest Notepad Plus 8.1.5 might have fixed this odd UI behavior.

  • clip board manager

    6
    0 Votes
    6 Posts
    711 Views
    Michael VincentM

    @Robin-Schweitzer said in clip board manager:

    my PC is old and its version of window no longer supported

    I have Ditto working on a Dell circa 2010 with Windows 7 and aside from the laptop itself being awfully slow, Ditto works fine.

    where on the menu is the built in one?

    Edit => Clipboard History

    Note, it’s only history for clips within Notepad++, not external (i.e., Windows clipboard) hence the need (desire) for something more powerful / system-wide.

    Cheers.

  • Update for the Python Plugin?

    2
    0 Votes
    2 Posts
    234 Views
    Michael VincentM

    @Tracy-Saunders said in Update for the Python Plugin?:

    I noticed that there is only support for Python 2.7

    You need to look at the Github repo, not just the Plugin Admin; you’ll see there is v3.0.9 supporting Python 3.9.6. I’ve been using the v3 train for over a year now and currently have v3.0.7 installed - since it’s supporting Python 3.8 - which my system Python is 3.8.10.

    Cheers.

  • Coloured Text Saved?

    31
    0 Votes
    31 Posts
    10k Views
    Neil SchipperN

    @PeterJones said in Coloured Text Saved?:

    @Neil-Schipper ,

    I thought you might dislike my original, so I was working on it in the background.

    I prefer you be less concerned about my likes, and, that we be in agreement that having something out there is a good thing.

    I’ve posted the “FAQ Desk: Formatting Forum Posts

    Your doc is packed with all the info one could want to get initiated into post formatting on this site.

    And from way the doc is formatted and structured it looks like it took a good many hours of serious work, far beyond anything I expected.

    I think it does a good introduction into how to format posts, so hopefully it will be a useful FAQ entry

    Yes, it does, and I hope it’s made use of.

  • How to know what documents change?

    4
    0 Votes
    4 Posts
    519 Views
    Alan KilbornA

    @Viki-Belmont

    Another approach might be to save a copy of all of the candidate files in another place. Then, after N++'s replace-in-files, use a file compare utility to compare the top-level folder of the changed files and the originals.

  • What regex to create a search limit boundary?

    4
    0 Votes
    4 Posts
    277 Views
    AporosaA

    @Terry-R said in What regex to create a search limit boundary?:

    note the inclusion of a ? changes the regex from being greedy to lazy (not-greedy)

    Thank you Terry R, not only was this a very clearly explained and effective solution, but now I understand the idea of a ‘greedy’ regex expression, something I didn’t get from textbook examples that I’d read.

  • Parameter hints on userDefinedLang

    5
    0 Votes
    5 Posts
    423 Views
    Vincent Van HumbeeckV

    @PeterJones

    Thank you very much.
    It worked!

  • 0 Votes
    16 Posts
    1k Views
    Scott NielsonS

    @PeterJones the last RegEx I typed above worked for me. I thank you you for your time, patience, help and support. I was not sure about it and thought I should ask but since you dislike it, I will ask for a solution here only if I can’t figure out what to do on my own next time. Thanks again.

  • I need a function that seperates a word from everything other in the line

    3
    0 Votes
    3 Posts
    265 Views
    Neil SchipperN

    @Milan-Djukanovic It’s tough to be sure just what you want to match, and what to exclude. Match a specific name? any string after “gamertag”?

    It would be helpful if you showed several lines, such as:

    gamertag: johnny51 you can add me here gamertag: johnny51 you can add me there johnny51 you can add me here gamertag: johnny52 you can add me here zamertag: johnny51 you can add me here zamertag: johnny52 you can add me here

    and stated clearly which lines should and shouldn’t match, and what the lines should look like after the desired operation. (Also it’s nicer to read text inside a “code” box like I used above; use the 5th edit window button).

  • V8.1.4 Setup GUP.exe error

    3
    0 Votes
    3 Posts
    3k Views
    Oz MO

    Thank for the answer Peter,
    I actually tried to rerun the update a couple days a go and the installer was able to complete this time.
    I am not sure what changed. but I though someone would like to know.

  • function i need..

    3
    0 Votes
    3 Posts
    253 Views
    guy038G

    Hello, @원할머니보쌈, @peterjones and All,

    In addition to the 3 methods, provided by Peter, here is a 4th method, which works, whatever, the secondary view is present or not :

    With a left mouse click, select the tab which you want to move or clone in the other view => the tab’s contents is automatically displayed, of course

    Keeping the left mouse button down, drag the mouse down, in its present’s editor pane => You should see the yellow icon, shown in Peter’s post

    Immediately, release the left mouse button => a tiny panel should pops up, with two options, only :

    Move to Other View Clone to Other View

    Choosing one of the two options :

    Open the secondary view first, then move or clone the selected tab in this secondary view, IF the secondary view did not exist, yet

    Move or clone the selected tab in this secondary view, IF the secondary view was already present

    Best Regards,

    guy038

  • Is it possible to change the background colour of text in NP++?

    2
    0 Votes
    2 Posts
    6k Views
    PeterJonesP

    @Andre601 ,

    A couple things you don’t show: what’s the file type (“language”) of the currently-active document, and what your Settings > Style Configurator > Global Styles > Global Override settings are.

    If you have global overides checkmarked (my screenshot, below, does not), then that may mess up your background color unexpectedly. But given your screenshot, I don’t think that’s the problem.

    Regaring file type/language: Your Style Configurator is showing the colors for the “Search Result” type, but it doesn’t look like you have the search-results panel shown. It actually looks more like Markdown inside of something like a Hugo or other content-management system for making a website.

    Example with it working with the “Obsidian” them but not in Dark Mode (so UI is white, but edited text is obsidian). With a “plain text” file, it works right:

    0b2d4250-4640-4be3-8fc3-b35d62673874-image.png

    If I switch to Language > Markdown (preinstalled), it wil look similar to what you show:
    0ec9e7f2-5baa-4619-afa3-471a02c7b87f-image.png

    This is because the User Defined Languages, like Markdown (preinstalled), are not theme aware. You have to modify your UDL colors to match the theme.

    However, if you have a recent Notepad++ (v8.1.3 or newer), it will come with a second Markdown UDL, called Markdown (preinstalled dark mode), which will be closer to what you want for editing.
    25b98ea8-1321-42db-9a33-94ada13f4893-image.png

    If you want to use that variant of the Markdown UDL, then make sure that Language > User Defined Language > Define Your Language has your Markdown extensions set for the Markdown (preinstalled dark mode)
    600d00a3-ed22-4fe1-bcfd-982320bc52b7-image.png
    … but not set for the Markdown (preinstalled) (just clear out that Ext. box). Or go into userDefineLangs\ folder and delete the markdown._preinstalled.udl.xml, making sure to keep the dark mode version markdown._preinstalled_DM.udl.xml

    However, that UDL variant still doesn’t quite match your Obsidian theme; that’s because it was designed to match the colors of the v8.0-and-newer Dark Mode in Notepad++ (Settings > Preferences > Dark Mode), so the background colors still aren’t exactly the same as obsidian. Again, you could edit the UDL color settings to match Obsidian (and it might be easier, because it’s starting from a dark theme already, so it’s starting closer to obsidian). or, if you’ve got v8.1.3 or newer, you could just use the Notepad++ Dark Mode and default Dark Mode theme, which will match the markdown (preinstalled dark mode) UDL already.

    If you don’t have Notepad++ v8.1.3 or newer, you could either upgrade (it’s free!) or you can download the UDL file from the github repo here and put it in your userDefineLangs folder.

  • RegEx ,\ni

    4
    0 Votes
    4 Posts
    502 Views
    Olivier ThomasO

    Everything works…
    Thanks.

  • 0 Votes
    6 Posts
    708 Views
    John TeeJ

    @Terry-R Thank you very much the new update works great just what I needed. All the best and thank you @Terry-R and @guy038 for your time and guidance. Cheers

  • Possibility to calculate numbers?

    7
    0 Votes
    7 Posts
    25k Views
    PeterJonesP

    Sorry, I forgot my screenshot and debug info, which I meant to include above as evidence of my claim:

    7b483fc1-9ba8-4a7e-a417-15937bccd915-image.png

    Notepad++ v8.1.5 (32-bit) Build time : Sep 26 2021 - 15:15:32 Path : C:\usr\local\apps\npp\npp.8.1.5.portable\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : ON Cloud Config : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 2009 OS Build : 19042.1237 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppTextFX.dll
  • How can i get a specific deserialized code in npp++ to c#

    2
    0 Votes
    2 Posts
    545 Views
    EkopalypseE

    @Yunus-Emre-Kütükçü
    I’m not sure I understand this correctly. Do you mean the entire content?
    If so, then SCI_GETTEXT is the way to go.
    If you want to have only the part that contains the changed lines, then you
    you have to work with markers.
    Find them, find the start and end position of that line and use SCI_GETRANGEPOINTER to retrieve the text.

    I don’t know if this is relevant in your case, but make sure you consider text encoding.

  • replace first two spaces with - third space with tab

    3
    0 Votes
    3 Posts
    1k Views
    Glen_StromG

    @PeterJones said in replace first two spaces with - third space with tab:

    ${1}-${2}-${3}\t

    Thanks so much, exactly what I was looking for!

    Now that I have it done I’ll look closer at your solution & figure out what it all means.

    It turns out the text file was a little wonky, all of the months but September were 3 letter, and the rest already had a tab like I wanted after the 4 digit year, but the September months had a space. So it was like 31<sp>Aug<sp> 2021<tab>1234.56 and 01<sp>Sept<sp>2021<sp>6789.12 - so it was just a matter of replacing all the Sept with Sep, then running your solution on them, then I ran the () \b in the search with - in the replace for the rest of them.

    In any case, I was able to generate an insert statement & got all my rows into my database table, so thanks again!