• Style Token errors

    3
    0 Votes
    3 Posts
    192 Views
    PeterJonesP

    @lcy10311 ,

    For example, it works just fine for me:
    d1778c58-aacb-4410-8c8b-3ad2acc17b88-image.png

    You might want to check that your current theme defines the styles reasonably:
    2ef8dd30-eb44-45f3-b7c0-26629dd71bcd-image.png

  • Feature Request : Multi Language Case Change

    Moved
    2
    0 Votes
    2 Posts
    369 Views
    PeterJonesP

    @Istanbullu ,

    converts wrongly (as i to I and vice versa).

    The i you have entered is U+0069 (“LATIN SMALL LETTER I”, also ASCII 105) and is always defined as lowercase. The I you have entered is U+0049 (“LATIN CAPITAL LETTER I”, also ASCII 73), and is always defined as uppercase. As far as I know, it is always correct for a case conversion process to convert one to the other (as they are an upper/lower pair in the latin-based alphabets, as far as I understand it).

    The İ is U+0130 (“LATIN CAPITAL LETTER I WITH DOT ABOVE”), and that one is considered uppercase/capital in Unicode definition; the ı is U+0131 (“LATIN SMALL LETTER DOTLESS I”) and is considered lowercase/small in Unicode. However, I am not an expert on the capitalization/lowercasization (not a word, I know) rules for the non-ASCII characters, so I don’t know if Unicode defines pairs for the case-conversion on those characters or not.

    If you find official Unicode documentation that explains the rules for case conversion on those U+0130 and U+0131 characters (or that gives an exception for circumstances when U+0049 and U+0068 are not a pair with each other), then you can read the feature request/bug report FAQ and follow the instructions there on where to put in official feature requests / bug reports. In your official bug report, you will need to request that the development team improve the case-conversion features, and you will need to provide that reference to the developers, and explain the “correct behavior” as you understand it).

    (Aside: I moved your topic from Plugins Development to Help Wanted, because it was not a plugin question.)

  • Japanese font not displaying in notepad++

    6
    0 Votes
    6 Posts
    6k Views
    PeterJonesP

    @Tyler-Durden-0 said in Japanese font not displaying in notepad++:

    It has .nfo extension but content is XML, if it helps finding the solution.

    There’s your problem. Notepad++ is hardcoded to interpret .nfo file as OEM-US, because that is the official encoding of the historic DOS-era .nfo files.

    If it’s really an XML file, change the extension before opening it in Notepad++

  • Inserting lines for double-spacing throughout?

    2
    0 Votes
    2 Posts
    690 Views
    PeterJonesP

    @caramadra

    FIND = \R
    REPLACE = $0$0
    SEARCH MODE = regular expression
    REPLACE ALL

    This can be recorded as a macro and assigned to a keyboard shortcut for easy use.

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
  • Extract specific lines from a VERY large text file

    2
    0 Votes
    2 Posts
    620 Views
    John CranmerJ

    Sorry to have asked I have just found it is very easy to do with the search all function and then cut and paste the results

  • help make sure files are not temporarily saved anywhere

    5
    0 Votes
    5 Posts
    396 Views
    E

    @Terry-R thanks terry and others for the info much appreciate. long life and good health to you all.

  • Double quotes

    3
    0 Votes
    3 Posts
    308 Views
    PeterJonesP

    @Andrey-Fedorchuk ,

    UDL wasn’t really intended for “phrases”; it was meant as a simple keyword/operator highlighter. In certain fields (the folding fields and the delimiter fields), you can put double-quotes around phrases so that the space will be part of the folding-trigger or delimiter… but I don’t know of a way that allows embedding quotes inside a multi-word phrase. Sorry.

    You might want to look into the AnalysePlugin – it’s reason for existing is to make navigating/searching/highlighting large logfiles easier.

    Alternately, the EnhanceAnyLexer will allow you to change the foreground color of strings matching regexes, so if you have an OpenWRT UDL, then making a [OpenWRT] section in the EnhanceAnyLexer config will allow you to define regex-based rules, which could use a regex like ^Successful ping of the target.*$ for matching any line starting with those… or if you want only the exact, then do the exact line.

  • Find and Replace Window

    4
    0 Votes
    4 Posts
    316 Views
    Alan KilbornA

    @Marc-Surprenant said in Find and Replace Window:

    It helps but i would still like it bigger

    There is a feature request already in place for this. You can see it HERE and if you want to add your thoughts there, developers will see that multiple people want this.

  • CSS "in block" on Notepad

    3
    0 Votes
    3 Posts
    295 Views
    Alan KilbornA

    @Livieishere

    I presume you didn’t create this file, but rather were given it or obtained it from somewhere.

    I don’t know much about css, but I’d presume that it isn’t required to have line-ending characters.

  • Macro automatic execution at NP++ opening/startup

    2
    0 Votes
    2 Posts
    206 Views
    EkopalypseE

    @Christophe-MERCEY

    two alternatives are
    a) using NppExec and its option to Execute this script when Notepad++ starts
    or
    b) a scripting language plugin like PythonScript

  • Replace variable chain of text then adding pattern before and after

    6
    0 Votes
    6 Posts
    628 Views
    Alan KilbornA

    @VenomNihil said in Replace variable chain of text then adding pattern before and after:

    the ^ doesn’t work with the spacing but I supposed is because I posted a screenshot. But just using " item " instead does the job.

    Yes, it is tough to work from a screenshot; that’s why we have suggestions to not post them for this type of problem, or to post both a screenshot and the literal text. Apparently we failed to noticed this part of your original posting:

    cc43d5be-7554-4e41-b60e-93ed8aed5213-image.png

  • Function Completion: cycle through choices

    16
    2 Votes
    16 Posts
    1k Views
    EkopalypseE

    @Michael-Vincent - cool, a nice one, thx.

  • Silent uninstall of .exe or .msi file needed

    3
    0 Votes
    3 Posts
    11k Views
    PeterJonesP

    @Harrison-Costas ,

    I said,

    quite a few hours before I could check my home machine

    I just checked. According to the registry Key section I mentioned, the UninstallString is "C:\Program Files\Notepad++\uninstall.exe" and QuietUninstallString is "C:\Program Files\Notepad++\uninstall.exe" /S

  • What are these extra panes???

    2
    0 Votes
    2 Posts
    279 Views
    Alan KilbornA

    See FAQ entry HERE.

  • Customized settings Migration

    2
    0 Votes
    2 Posts
    235 Views
    Terry RT

    @Swati-Rohatgi
    There is no formal method guaranteed to work everytime.

    However you may want to search the forum for helpful hints that users have identified to make the process as painless as possible. Try this post as a starting point.

    Terry

  • Delete the line number 15 in multiple files

    14
    0 Votes
    14 Posts
    3k Views
    PeterJonesP

    @ADEYINKA-ADEWOYIN ,

    You do realize that @Alan-Kilborn already answered that question for you: the regex he showed worked for him. If it doesn’t work for you, you will have to provide more details , because that regex will work to delete the first line of the files. He even asked you to provide more details to explain how the given regex doesn’t work for you.

    You really need to read this FAQ and see the referenes below.

    That said, can be simplified: a large part of the original expression was only needed because the original post wanted to delete line#15, not line#1. To delete the first line is simpler: FIND = (?-s)\A(^.*$\R?), REPLACE is empty, and SEARCH MODE must be REGULAR EXPRESSION.

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
  • Insert new line only if the line has less than X characters

    3
    0 Votes
    3 Posts
    228 Views
    Selin09010938S

    @Alan-Kilborn

    Thank you so much. It worked. I was able to beautify the txt like I wanted after applying your solution with extended expressions.

  • How to exclude some folders from find in files

    4
    0 Votes
    4 Posts
    4k Views
    SinghRajenMS

    I was also looking for this. Thanks @PeterJones !

  • Why is UDL coloring keywords that are in words?

    2
    0 Votes
    2 Posts
    196 Views
    PeterJonesP

    @Leahnn-Rey ,

    Use “Folding in code 2 style (separators needed)” [FiC2] instead of “Folding in code 1 style” [FiC1].

    The FiC2 requires spaces or newlines before and after the open, middle, and close keywords, whereas the FiC1 does not.

    Generally, FiC1 should be used for things like { and } as block-markers to fold on, whereas FiC2 is useful for words.

  • search in C-files and give me the name of the C-function

    6
    0 Votes
    6 Posts
    856 Views
    Klaus KonzeptK

    Hi Vitalii,

    cool things are out there, thanks you for your hints.
    I even didn’t know ctags.

    Klaus