• Regex] Rounding numbers python script does not run properly

    28
    0 Votes
    28 Posts
    2k Views
    Alan KilbornA

    @Ekopalypse

    No, I’m not trying to “parallel” the text in the real editor and the hidden. If I set as the hidden editor’s entire text the match from the search, doing the replace on that guarantees the replace will succeed and the entire text left in the hidden editor’s buffer will be the replacement preview text. Long to explain but it seems to work.

  • Opening sql file with Notepad++

    6
    0 Votes
    6 Posts
    18k Views
  • Copying Notepad++ to new drive

    4
    1 Votes
    4 Posts
    687 Views
    PeterJonesP

    @Steven-Haymes said:

    just putting them in the %ProgramFiles(x86)%\Notepad++\plugin folder?

    Technically, for the v7.6.3 and newer, in subdirectories of the plugin folder; but yes.

    there are no Registry settings, ini files and such

    Notepad++ doesn’t handle the settings or ini files for plugins – they handle those themselves. And typically, they use the %AppData%\Notepad++ structure, which you’ve already copied over.

  • Color change of highlight/line

    7
    0 Votes
    7 Posts
    15k Views
    Steven HaymesS

    @Dracken_Darck said:

    @Alan-Kilborn
    I did try to help the user in the other thread :o…
    but I had the feeling… your answer wasnt helpful :p And I invested my time to render 2 videos for him ;)
    link text
    Awesome, thank you very much Steven :) THATS the kind of Help I wanted^^, I just didnt knowed what entry is for this colors, I had the fear, that it isnt editable :(

    Thanks very much!

    You are welcome. I used to spend a lot of time working in RGB space for many years…

    S

  • How can I increase font size of Notepad++'s explorer?

    2
    0 Votes
    2 Posts
    447 Views
    Prahlad-Makwana4145P

    Hello , @이상철

    In notepad++ you can check out the “Reduce” option and that found in following step :-
    step 1 :- Goto the Settings.
    step 2 :- In Settings select Preferences.
    step 3 :- In Preferences select General
    step 4 :- In General select Tab Bar(Section) In “Reduce” are there…

    Thank you, I think that info is useful for you…

  • highlighting log files

    15
    0 Votes
    15 Posts
    7k Views
    EkopalypseE

    @Alan-Kilborn

    No, unfortunately not that easy.
    I’m using cffi to build the plugin and I haven’t figured out how to add boost::regex to it and make it compile.
    Currently I’m investigating how to make a python extension module using cython
    or cppyy or maybe nuitka (I’m unsure, it seems to be an exe builder).
    I’ve read that cython can handle boost templates very well so …

  • Sorting Login Information

    3
    0 Votes
    3 Posts
    492 Views
    Alan KilbornA

    @Nicholas-Wetzel

    Peter wrote (and copied) a lot. I can write a lot fewer:

    This is a job for programming, not Notepad++.

  • Find corrupt files

    2
    0 Votes
    2 Posts
    480 Views
    PeterJonesP

    @Vasile-Caraus said:

    I want to find in all my 4.000 text files those that are corrupt

    Assuming you knew what text should be in a good file, which you could guarantee was in a corrupt file, you could use the Notepad++ find-in-files feature to look for files that did have that – but that would find the non-corrupt files, not the corrupt ones.

    Assuming you knew that all your good files were pure ascii, and the corrupt ones all guaranteed to have something outside of the normal ASCII range (ie, in code points 128-255), you could find-all-files for something like [\x80-\xFF].

    If your “good” files are in a full 8-byte encoding (a 1-page European or Asian encoding), or if your good files use a unicode encoding like UTF-8, it would be very difficult to identify “corrupt” vs “good”, because multi-byte encodings will use most or all 8-bit bytes as valid somewhere in the sequence.

    If you need more help than that, you’ll have to provide more information, like defining what you mean by corrupt, and whether there are certain similarities between all good files or between all corrupt files.

  • Text cursor very slim and not in resize !

    4
    0 Votes
    4 Posts
    336 Views
    selevoS

    @Ekopalypse very thank’s
    it’s now good!
    https://vk.com/doc-73481857_512987162

  • Regex partial replacement syntax? Grouping not working

    9
    2 Votes
    9 Posts
    702 Views
    Alan KilbornA

    @Pam-Rathmell

    Moving in a backward direction is tricky for regular expression engines. It mostly works okay, but it does strange things often enough that even Notepad++ at one time disabled it (searching ‘up’ when the Search mode was Regular expression). That disabling has mostly gone away now it seems.

    I guess you have stumbled upon one of the odd situations.

    I wanted to see what Pythonscript’s regular expression replacement function would do with your situation, and in trying to get it working I started with a simpler search, and I discovered that attempting to search backwards, even very simply, gives no matches at all. :(

  • Regex find single N occurrence of ',' to replace

    5
    0 Votes
    5 Posts
    902 Views
    Alan KilbornA

    Okay, okay, everyone has called attention to my regex…now @guy038 will come along and do the same solution in about half as many characters. :(

    BTW, I made a fat-finger mistake in the regex, but the beauty of it is that it still works. [The final character should be , (comma) instead of . (period).]

  • Notepad++ Backup Folder Empty?

    11
    0 Votes
    11 Posts
    2k Views
    PeterJonesP

    Don mentioned that location in his documentation announcement, but made it clear that github.io rendering is just a “temporary” location and presentation for the documentation – his eventual goal is to send it someplace else, where the “URL will be different and the visual design will be 100 times better”… but until that time, I’m going to link to the github.io, because I think it’s more user-friendly for non-techies than just the github.com display.

  • Am i using the updated C++?

    5
    0 Votes
    5 Posts
    522 Views
    Steven HaymesS

    PS: If you are new to programming, C/C++ is not the best language to learn how to program. Once you get into pointers and addresses which are central to C/C++, it is going to get real weird real fast. I learned C back in the 1980’s from some AT&T engineers. Today, if you want to learn how to program, Python is an excellent starting language.

  • Some XML files won't open decently in Notepad ++

    4
    0 Votes
    4 Posts
    3k Views
    PeterJonesP

    @supasillyass said:

    I don’t think it can be done automatically upon opening a file (anyone?).

    Natively, no. But with one of the scripting plugins (like PythonScript), you could create a callback on the file-open event, and have it run the appropriate XML Tools command when it sees the right extension or right file type.

  • Replace Notepad

    9
    0 Votes
    9 Posts
    3k Views
    Jim FitzGeraldJ

    @PeterJones
    Thanks Peter!

  • Tab key position is not same notepadd++ and notepad

    2
    0 Votes
    2 Posts
    346 Views
    EkopalypseE

    @Wisely-Shih

    not 100% sure I understand what you are trying to achieve but …
    could it be that you are referring to the fact the MS notepad uses a tab width of 8
    whereas npp uses 4?
    If so, goto settings->preferences->language and set the tab size accordingly.

  • Flask installation

    5
    0 Votes
    5 Posts
    780 Views
    EkopalypseE

    @Lehlogonolo-Frank

    You need to be more descriptive.
    If you used a command and it doesn’t work you need to provide the error message
    you got in order for one to find out what the issue could be.

    How exactly did you setup python and how do you want it to be used?

    Perhaps you could guide me on installing flask via pip install

    pip install flask but only if you want it to be installed for the main python installation
    if you want it to have in an env you need to activate it first and then run the
    command within this virtual environment.

  • How to run html code in browser

    8
    0 Votes
    8 Posts
    3k Views
    Lehlogonolo FrankL

    Thank you all. Your suggestion were helpful.

  • Android version (even without interface modifications)

    3
    0 Votes
    3 Posts
    346 Views
    supasillyassS

    @Pierre-Louis-Boyer

    QuickEdit is a native Android app that already has:

    Physical keyboard support, including key combinations.

    There’s also an active XDA thread.

    I suspect 1 will be easier than 2:

    Android app —> Android desktop Notepad++ —> Android