• New install/user - npp won't open some files

    4
    0 Votes
    4 Posts
    2k Views
    Terry RT

    @Thomas-Shelby
    You are possibly asking someone who hasn’t been on the forum for a long time, and the post is really old as well.

    Why don’t you just explain the issue you are having and maybe a current forum member can help you?

    We’d need to know the file type (normally the file extension) as that can have a bearing on the issue. Also where it’s located. Consider copying that file to a folder close to the root (something like C:\temp folder) and see if it opens.

    What happens when you try to open the file?

    Terry

  • Unable to load Auto Complete file

    4
    0 Votes
    4 Posts
    3k Views
    Goten SanG

    @tomas-chrastina said in Unable to load Auto Complete file:

    Hi,

    finally I downloaded files. I checked file using XML Tools, and found errors. So you need to correct them.

    First you should use escaped characters for attribute values of generated XML file (it will solve most of errors I can see):
    < -> <
    > -> >
    & -> &
    " -> "

    To change this lines containing special characters like:

    <Param name="&flags"/> <Overload retVal=">" ...

    I don’t know python, but it should be easy to implement escaping for you I guess -> Escaping XML.

    Then simply use XML Tools to check file, until it will be correct.

    Hint: You can use for new line in descr attribute. It will made file easier to read.

    descr="1st Line

    2nd Line"

    --- Best regards, Tomas.

    Thanks.

  • Re-open last tab closed

    6
    0 Votes
    6 Posts
    45k Views
    Thomas ShelbyT

    @Aircheck-Indiateam said in Re-open last tab closed:

    alt space x

    Thanks.

  • Updater doesn't work, need proxy address?

    1
    0 Votes
    1 Posts
    669 Views
    No one has replied
  • Make Notepad++ default editor for browser?

    2
    0 Votes
    2 Posts
    200 Views
    Lycan ThropeL

    @Ronald-Dupas ,
    You haven’t defined your chosen browser that you want to use, so minus that information, very little factual help can be provided. However, if you are wanting to use the Firefox Browser, the below pic will show you want you’re looking for there, by clicking Settings->Applications and choose the file type you want opened by default by the Notepad++ application, click the right menu selection, and then select Use other... and browse to your chosen application.

    BrowserDefaultTextEditor.PNG

  • Greek capital letter 'Α punctuated does not appear correctly

    7
    0 Votes
    7 Posts
    6k Views
    Goten SanG

    @cchalkiopoulos said in Greek capital letter 'Α punctuated does not appear correctly:

    That is a very detailed answer. For sure you have covered all angles of this issue.

    Your 2 suggestions make sense to me and I have actually tried the 1st one and it works fine for me to change the encoding to Greek/Windows-1253.

    From my side it is totally fine to mark this thread as being resolved.
    I’m however very curious to the fact that you do not consider this as a bug on Notepad++.
    I will try to phrase this as follows: “A certain file is displayed correctly with Notepad but with Notepadd++”. Isn’t this fixable?

    Many thanks for your time.
    Honest regards,
    Christos C.

    Thanks.

  • Updating removed all my recent files?

    2
    0 Votes
    2 Posts
    201 Views
    Terry RT

    @Duck said in Updating removed all my recent files?:

    Is this intended, and is there any way to restore said files?

    No it is NOT intended, however with any system there can be issues.

    Unfortunately you have fallen victim to using the default backup system without understanding how it actually operates. Many have suffered the same issue as you and in almost every case all we can recommend you do is read the FAQ post Periodic Backup vs AutoSave Plugin. In there is information on where any possible backup files might be.

    If you are really lucky it will just be that the session.xml file which has been cleared. If so then the backup files will likely still exist. Read that post, it will explain it all.

    Please also heed the recommendations made there. If you learn anything at all (even if your critical files are lost) it is that you need to set what type of backup system you will use in future and understand the processes going on.

    Terry

  • Remove everything but specific chains

    7
    0 Votes
    7 Posts
    491 Views
    guy038G

    Hello, @david-l,

    But, regarding the two last cases :

    amounts 1234 and 4567 amount A1A1

    do they need to be followed with a space or dot character as well ?

    Remember: regular expressions are a school of precision ! Each character and its position has its importance !

    Best Regards,

    guy038

  • Notepad has hyjacked Windows Notepad

    4
    0 Votes
    4 Posts
    1k Views
    Lycan ThropeL

    @_ ,
    Amazing. The man answers your question in a straight forward and informative manner, and you read ''annoyed" in it? Wow, you’ve shown super powers of wokeness. Moving on. Downgrading post.
    And yes, that was a conveyed “annoyed” response on my part.

  • Change the color of the previous line

    3
    0 Votes
    3 Posts
    233 Views
    HaichitoH

    @PeterJones Okey, I will try to implement what you said.
    Thank you very much.

  • Help with Regex

    4
    0 Votes
    4 Posts
    274 Views
    PangolinP

    Thank you very much Mark and Guy for taking the time to answer my request. It is really appreciated!

    Have a nice evening

  • 0 Votes
    2 Posts
    320 Views
    PeterJonesP

    @Antonio-Guerriero ,

    You just want it to be “any token that ends in a : should be considered a LABEL”? Yeah, the User Defined Language lexer isn’t designed to be that complicated: it is intended for a specific list of keywords

    The EnhanceAnyLexer plugin will allow you to add a regex to change the foreground of matching text on a per language (per UDL, or per builtin lexer). Assuming that the LABEL has to be the first non-whitespace sequence on a line, and must be only alphanumeric-and-underscore-before-:, then the following should make your LABEL green.

    [your_udl_name_here] 0x00CC00 = ^\h*\w+:
  • Binary file does not reload with the HEX-editor

    2
    0 Votes
    2 Posts
    317 Views
    PeterJonesP

    @Pavel__A ,

    “base” Notepad++ has no problem with File > Reload From Disk. The symptoms you have described are almost definitely related to the HEX-Edit plugin, not Notepad++ itself. You can try to put in an issue here, but there are a lot of open issues on that plugin, and I won’t guarantee that it will be fixed. (The release history over the last few years seems to focus mostly on “crashes”, not any new features or minor bug improvements.)

  • Looking for string search that includes the & mnemonic

    14
    0 Votes
    14 Posts
    697 Views
    Alan KilbornA

    @guy038 said in Looking for string search that includes the & mnemonic:

    I noticed that the search is a non-sensitive search

    If you wanted a “sensitive” search you could add (?-i) to the start(s) of the expressions you input at the prompt.

  • Search for a list of strings in another file.

    8
    0 Votes
    8 Posts
    3k Views
    Alan KilbornA

    @gendalv said in Search for a list of strings in another file.:

    although I had to figure out how to actually run a python script in np++, ended up installing PythonScript plugin, which is also not obvious, how to add a script to, but, after some fiddling

    You could have found quicker answers had you consulted this site’s FAQ entry for : How to install and run a script in PythonScript

  • Hide text

    3
    0 Votes
    3 Posts
    528 Views
    F

    @Alan-Kilborn thank you for this clear answer.

  • remove correlative text from multiple lines

    9
    0 Votes
    9 Posts
    404 Views
    Alan KilbornA

    @Mark-Olson said in remove correlative text from multiple lines:

    try using \s

    And note that \h is often better than \s.
    \s will match end-of-line characters which isn’t always what people expect.

  • Delete numbers following letters ( i.e. \w\d+\s becomes \w\s)

    3
    0 Votes
    3 Posts
    287 Views
    Luís GonçalvesL

    @Alan-Kilborn you’re right! Haha. Sorry about that, I’m just finding how regular expressions work (and I’m loving it, even though it’s hard to learn all by oneself)… so I’m sorry if sometimes my questions are more or less repetitive -.-’

  • "Intellisense" suggesting wrong words

    11
    0 Votes
    11 Posts
    548 Views
    Petr DemuthP

    @Michael-Vincent said in “Intellisense” suggesting wrong words:

    @Petr-Demuth said in “Intellisense” suggesting wrong words:

    Notepad++ v8.4.8 (64-bit)

    That’s the problem. If you want the behavior we are seeing, upgrade to 8.5 or newer.

    On a fresh 8.4.8 portable, I observe the same behavior as you do.

    Cheers.

    Kudos!
    Now works OK :)
    01331bb5-6b6c-41b0-aef7-a4882c501a94-image.png

  • Code Collapsing Weirdness

    3
    0 Votes
    3 Posts
    172 Views
    Alan KilbornA

    @Jason-Burnett:

    I try to collapse one sub_fld, it collapses the parent element

    I don’t know…works for me correctly, with N++ 8.5:

    dcc4a6bd-72bc-478a-a9be-77e935a9cf7f-image.png

    I guess if it doesn’t work for you, you’ll have to demo something about exactly what it is doing for you.