• I think there's an error

    Locked
    3
    0 Votes
    3 Posts
    569 Views
    Deneme2019D

    I changed the setting and there are no problems.
    Thanks, i wish you a good day…

  • How to create a portable npp?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Meta ChuhM

    welcome to the notepad++ community @Lasse-Jeremiassen

    you can download the official portable version of notepad++ 7.6.2 from here: https://notepad-plus-plus.org/repository/7.x/7.6.2/npp.7.6.2.bin.zip
    extract it to your desktop, usb drive or any place you want (except %ProgramFiles%)
    and run notepad++.exe inside it.

    In portable npp I assume plugin, language and function list files are a part of the portable environment, is that correct?

    yes, it will all be inside this npp.7.6.2.bin folder.

    note: you can rename this folder, and/or have more than one portable copy at the same time, to e.g. use one of it for testing and playing around with any settings, and one to work

  • Newline as delimiter in a UDL

    Locked
    10
    0 Votes
    10 Posts
    4k Views
    Meta ChuhM

    @PeterJones

    thanks for your link, it’s a reminder of paying a lot of gratitudes to loreia.

    i’ve just revisited this old thread answered by @Claudia-Frank and realized how fast an author, of an ingenious work like this one, can almost be forgotten, once it is taken as granted as the air that we breathe.

    … and yet again, i have to repeat that i miss claudia and scott … not that i just miss and lack their knowledge and passion to research,
    (many of the +2 year core regulars have already been able to achieve or surpass the same level)
    but i just miss having them around.

    readers note:
    yes we all do have a life outside notepad++, but we use it, love it (sub note: love|hate as in any relationships ;-) ), believe in it due to it’s almost unprecedented activity in the 16 years of it’s existence, and we just enjoy giving something in return, by helping people that can’t spend as much time on what you can do with notepad++, and most important: share how to do it.
    helping out is also a little gesture to appreciate the help we received when we started out as newbies.

  • Find / Replace two letter words with " " around them

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    Francis NealF

    Thanks both, just what I wanted absolutely brilliant. Thanks also for the detailed explanation guy038 :-)

  • Help with finding numeric string

    Locked
    6
    0 Votes
    6 Posts
    18k Views
    Terry RT

    @Liz-Pitre
    Thanks for getting back to us. Yes, regex will definitely help you when you have a range of numbers to search for and update/replace.

    Just be careful though, that if your data contains ANY other numbers the regex \d+ will find them ALL.

    Sometimes telling us more about what you don’t want changed can help as much as what you do want changed. In this case you told us the digits which need replacing are either 7 or 8 digits long. We could make a regex which works ONLY on this data if needed.

    In terms of learning more about NPP (wording used synonymously with Notepad++) and about the regex engine within NPP may I direct you to our FAQ section. Within are lots of links to various websites which will help in your learning process. Also feel free to ask on this forum when it’s NPP related.

    Welcome.

    Terry

  • Bookmarks list window

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    EagleXKE

    @Eko-palypse , that’s amazing! Many thanks, it works perfectly!

  • Little but annoying

    Locked
    3
    1 Votes
    3 Posts
    740 Views
    Arya Svit'konaA

    oooooooo facepalm

    u are right I don’t remember that when i use “if” in .lua i need to “end” it

    and it don’t get valid (for .lua) ending because it’s structure for game engine (in .txt)
    so yee if will fold in wrong way _______

    thanks :))

  • Print font

    Locked
    2
    0 Votes
    2 Posts
    623 Views
    Meta ChuhM

    welcome to the notepad++ community @Rob-Plaza
    if you print a file out of notepad++ it should use the same fonts you see in the editor window, as seen in the screenshot below.

    Imgur

    did you set any custom fonts in notepad++ ?
    please also paste your debug information here.
    you can find your debug information in notepad++ > ? > debug info > copy debug info into clipboard.

  • HTML IMG Alt="<% ..." is an error?

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    Yes, an alternate syntax would require a lexer plugin. (Or getting a new lexer integrated into Scintilla, and then getting NPP to update Scintilla to the latest-and-greatest, which hasn’t been a priority of the NPP developer.)

    Or, if you’re brave, I’ve got some links to some old posts by @Claudia-Frank , who had done some work on making custom lexers using PythonScript. Those links are in my last post in https://notepad-plus-plus.org/community/topic/16164/bug-javascript-multiline-character-not-understood-by-notepad/11 . It’d take some effort on your part to customize those to work with HTML+templating, but it’d be a starting point.

  • Plugins option not visible in toolbar

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    PeterJonesP

    (too late for update 2): 7.6.2 is getting to the point that it’s considered more stable than 7.6 and 7.6.1, so you should be safe manually updating to that, as long as you follow @Meta-Chuh’s plugin advice here and elsewhere in the forum.

  • Running your code from inside Notepad++

    Locked
    3
    0 Votes
    3 Posts
    32k Views
    budski82B

    Thanks for your time and reply. At this point in time it is to confusing and more of a distraction. Getting the syntax down is hard enough, worrying about shortcuts is a month or two down the road. Plus the 30 extra seconds it involves to open the command prompt window. Then filter down through the directory is really not that big a deal.

    In every tutorial regardless of the language they get incentives for getting you to install the IDE or editor they are pushing. If it is not Atom it is Codepen or Sublime, Video Studio wants you to get the Pro version. Plus it cost you at least $19.00 or more monthly for that functionality.

    I am just getting comfortable working off the cmd line and creating directories on C:\ drive. I should worry about getting the roof on before I start looking at carpeting and recliners for the TV room. Thanks for your help, back to learning …Peace…

  • 0 Votes
    7 Posts
    2k Views
    Trey HargroveT

    @Alan-Kilborn Thanks for the suggestion. Considering that the solution from @PeterJones worked and was much easier, I may try this one at a later time. Cheers.

  • is it possible to highlight all strings based on the field delimiter?

    Locked
    4
    1 Votes
    4 Posts
    686 Views
    Alan KilbornA

    @Eddie-Jr.-Panes

    I worked on it further and came up with something more generic:

    (?-s)^(?:.*?(;|,|\t)){FIELDMINUS1}\K(?:.*?)(?=(?1)|\R|\z)

    It will match various delimiters: ; or , or tab. To add or remove delimiters, just change this part of it: (;|,|\t)

    It will also work (and highlight nothing) for a field if that field position occurs in the middle of two consecutive field delimiters (also stated as two delimiters occurring back to back).

    I saw a slight problem. If FIELDMINUS1 is zero, and the first field in the data to be matched is empty (meaning a line starts off with a delimiter rather than non-delimiter), then the match is incorrect. Maybe guru of gurus @guy038 could fix this problem,?

  • key-bindings insert the current Date and Time

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Meta ChuhM

    @Александр-Корженевский

    to install TextFX in your portable notepad++ 7.6.2:
    you have to use the official “plugins admin” to install the TextFX Characters plugin.
    (the old “plugin manager” is not compatible with newer notepad++ releases)
    here is a good screen video from @andrecool-68 about it, as he answered a similar question a few days ago:

    alt

    to install PythonScript will be a bit more to do, because the folder locations of notepad++ 7.6.2 are different:

    get a new copy of PythonScript_Full_1.3.0.0.zip from here
    extract it and put it’s contents as listed below

    PythonScript.dll, plugin dll goes to:
    npp.7.6.2.bin\plugins\PythonScript\PythonScript.dll

    python27.dll goes to:
    npp.7.6.2.bin\python27.dll

    machine level scripts and python library go to:
    npp.7.6.2.bin\plugins\PythonScript\lib\
    npp.7.6.2.bin\plugins\PythonScript\scripts\
       contains sample scripts and startup. py

    manual, context-help files go to:
    npp.7.6.2.bin\plugins\doc\PythonScript\
       contains PythonScript.chm up to version 1.2.0.0
       contains html docs since version 1.3.0.0

    user level scripts go to:
    npp.7.6.2.bin\plugins\config\PythonScript\scripts\
       note: this folder will be created automatically as soon as a new script is created.

    note: you can also find more information about PythonScript installation to a non portable, installed version of notepad++ here

  • Bug: Click on "Encode in UTF-8 does not work"

    3
    0 Votes
    3 Posts
    2k Views
    Ben S.B

    @Meta-Chuh:

    Thank you. Disabling let it work now :-)

    I hope that this bug will be fixed in the next release.
    Ben

  • Tool bar customization not saved

    Locked
    3
    1 Votes
    3 Posts
    605 Views
    Eduardo GoncalvesE

    Thanks a lot Peter.
    Straight on target.

    Now, with this one, all it´s OK:
    Notepad++ v7.5.9 (64-bit)
    Build time : Oct 14 2018 - 15:19:55
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 7 (64-bit)
    Plugins : mimeTools.dll ComparePlugin.dll CustomizeToolbar.dll NppConverter.dll PluginManager.dll XMLTools.dll

    Thank you.

  • I need help, Lost all of my unsaved text after windows update

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    …unless this holds true:

    @Meta-Chuh said:

    but if the update you have run is windows 10 build 1809, i’ve heard about permanent data losses after this update (for any programs, not related to notepad++).

  • UTF-8 encoded text file misread as Windows-1258

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    David Kim83D

    @Peter-Jones
    Thanks!

    Disabling autodetect surely solve the problem.
    However I just found out UTF-8 BOM would do the trick even with autodectect on.

  • Cells Like Office

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Terry RT

    @Indra-Lung-Spirit
    If I read your question correctly, the short answer is no!

    Notepad++ is a text editor, it does NOT work with binary files as it doesn’t understand the formatting within these files (and therefore can corrupt the data within).
    In reference to cells, I assume you mean a spreadsheet program (Excel) and Notepad++ definitely isn’t one of those. It will open CSV files which can also be associated with Excel, but they are still text files.

    Terry

  • TextFx in a macro ?

    Locked
    1
    0 Votes
    1 Posts
    338 Views
    No one has replied