• Hide (or Toggle) Find Results panel with keyboard command

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Scott SumnerS

    @Alan-Kilborn said:

    how to make hitting a simple “print” statement in a script also re-show a currently hidden PS console window

    If you don’t mind changing your print statements into print() function calls, you should be able to adapt the technique shown here: https://stackoverflow.com/questions/550470/overload-print-python

    into something like this (put it in startup.py):

    from __future__ import print_function import __builtin__ def print(*args, **kwargs): notepad.runPluginCommand('Python Script', 'Show Console') return __builtin__.print(*args, **kwargs)

    …could be a bit redundant, running the show-console command, even when already shown…

  • Try, Np++ join

    Locked
    1
    0 Votes
    1 Posts
    961 Views
    No one has replied
  • Hide comment

    7
    0 Votes
    7 Posts
    5k Views
    Marcel LindigM

    Thanks a lot.
    It works fine.
    I will modify it for some other functions.

  • Find dialog erases search pattern

    Locked
    1
    0 Votes
    1 Posts
    795 Views
    No one has replied
  • Inserting and image

    Locked
    3
    0 Votes
    3 Posts
    34k Views
    Daniela VerdeD

    Thank you so much!!! this solved my problem

  • Save all before running external tool

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Pat SinclairP

    Would like the feature to be merely a check box or option in preferences to save all before run.
    One option would be to just have it as an option when you are saving a run command where you get to name it and set an accelerator for the shortcut.

    Below is ver info…
    Notepad++ v7.4.2 (64-bit)
    Build time : Jun 18 2017 - 23:38:43
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll

  • Help with assets file code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    A quick search for endless space assets file format led me to a github issue on unpacking/repacking asset files, with a mention of Endless Space, so this “Disunity” tool might be able to extract readable information from the asset file.

    Most likely (ie, I don’t know how Unity or Endless Space do it, but this is my guess based on the Disunity page), the asset bundle is a binary-encoded and/or compressed data file.

    Notepad++ is a text editor. (Yes, it’s possible to look at more than text, and if someone were to write a plugin-wrapper for disunity or write a plugin that duplicates the functionality of disunity, you might be able to use Notepad++… but if it’s not a text file, it’s not in Notepad++'s mainstream use case.)

    Without a dedicated plugin, or using the results of a tool like Disunity to convert the file to text before editing: You could using the HEX Editor plugin for Notepad++ (download thru plugin manager), and might be able to edit the non-text data directly, but you’d have to do the interpreting of the individual bytes yourself. (And the last time I tried, HEX Editor was pretty buggy/crashy; your results may vary.)

  • regex: match whole content of a file that contains a particular WORD

    3
    0 Votes
    3 Posts
    1k Views
    Robin CruiseR

    thank you

  • The end tag for java class programs ie" }"

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Oba OcholaO

    I coded the program afresh and noted where the error was coming from. Thanks for any assistance.

  • Compare Plugin - How to work with its output?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • 64 bit console/terminal available?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Cookie-UK

    menu Run->Run
    type cmd
    press Run button

    Cheers
    Claudia

  • How to zoom in on white space symbols

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Claudia FrankC

    @Scott-Sumner, @dail

    Thx for the hint and alternatives. Actually I thought it is a buffer setting but gave it a try
    and have to confirm it isn’t. But it is a per editor attribute which means, we have to set
    editor1 and editor2 from within startup.py

    editor1.setWhitespaceSize(4) editor2.setWhitespaceSize(4)

    Cheers
    Claudia

  • How to do variable (and function) highlighting for my own language?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    You could try adding “.” as an operator.

  • How to very simply and easily replace blocks of text?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Bruno-Vincent

    do you look for some automatism or are you looking for column mode?
    If the first is the case we need to have more details about the real data it the latter
    is the case, click with the mouse to the first position, press SHIFT+ALT and while still pressing
    click with the mouse the end position. Then do simple CTRL+X and CTRL+V

    Cheers
    Claudia

  • Notepad++ Replaces some numbers with random characters?

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Revreo

    this means, that the font you used previously has been corrupted.
    If you do a web search for fix broken font you should get a plenty
    of links which will show you what needs to be done in order to make
    this font working properly again.
    Btw. npps default font used by the editor control is, afaik, Courier New.

    Cheers
    Claudia

  • 7.4.2 - FTP Folder structure collapses sub-folders upon save...every time

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Michael BrownM

    Apparently my transfer protocol changed. Correcting this setting resolved the issue.

  • Help file?? Preferably integrated into Notepad ++

    Locked
    1
    0 Votes
    1 Posts
    854 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Find and Replace to include <cr><lf>?

    Locked
    4
    0 Votes
    4 Posts
    22k Views
    EP PackE

    @guy038, worked like a champ!! Thanks!

    It initially didn’t because I hadn’t noticed the “use regex” radio button :) but once I did, hurray!

    elaine

  • unable to save html file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Peter SeymourP

    Just found out someone else had a problem 3 weeks ago saving
    HTML file. So I will uninstall notepad++ and use a different HTML
    editor. My thanks to Parpabuck209 who gave the advice back then.