• How to highlight the underlined squiggle words

    35
    0 Votes
    35 Posts
    3k Views
    Alan KilbornA

    …any custom words they had before would be lost.

    If the .usr file is in text format (don’t know, don’t use the spell-check plugin), perhaps the Compare plugin or a script to perform an automatic merge is called for. Just sayin.

  • Cannot loggin via Facebook

    4
    1 Votes
    4 Posts
    220 Views
    Amitabh BatraA

    @donho
    capture-20200423-082211.png

  • Copy the text behind the parentheses and paste it into the double quotes

    3
    0 Votes
    3 Posts
    213 Views
    David CostacheD

    @Ekopalypse It worked! Thank you a lot!

  • PureBasic missing from style configurator

    12
    0 Votes
    12 Posts
    3k Views
    EkopalypseE

    @Michael-Vincent

    I’m working on synchronizing the themes and I have opened a thread of my own here.

    I got a lot of information and many links to even more information from guy038.
    Unfortunately the topic is completely new to me,
    so it will take some time until I can come up with a script here.

    To give a short visual representation of what needs to be done.
    The defined foreground colors from the default styler.

    6d94511d-75da-400a-a8f4-075c81c58ba1-image.png

    All the colors that are similar should be migrated to one color.
    Hoping to reduce the amount of different colors from >120 to 20-30
    There will be only one default background and one default foreground color in the lexers.
    I.e. on this example image, I would convert FFFFFF and similar to 000000.

    The colors used internally by Npp would be handled separately,
    because, for example, the background color of the current line must be different.

    There is a lot to do but I haven’t given up yet. :-)

  • 0 Votes
    4 Posts
    873 Views
    PeterJonesP

    @Hans-van-Gelderen ,

    I am using the “Bespin” theme.
    The theme, which is just a color/style mapping of identified keywords in a certain context, should be irrelevant.

    If the theme were set up correctly, then it would be irrelevant. But maybe the theme is out of date.

    Think of the theme as a mapping from the named settings in Notepad++ to the numbered array in the lexer (which is part of another separately-maintained codebase, known as Scintilla).
    Assume, for example, that in the “old days”, the CSS lexer expected “SETTING A” to be mapped to ID=1 and “SETTING B” to be mapped to ID=2. Then assume the “Bespin” theme was created. Then assume Scintilla changed the CSS mapping to expect “SETTING A” to be mapped to ID=3 and “SETTING B” to be mapped to ID=4. The default theme in Notepad++ was then updated, but no one updated the “Bespin” theme. So you tell the Bespin theme “I want these colors for SETTING A and SETTING B”, and the theme maps those to ID 1 and 2, and the lexer doesn’t see them because it’s looking for 3 and 4. Hence, the theme is not irrelevant to the conversation. (Note, I am not saying this is for-certain the case for the Bespin theme and CSS lexer; I am just saying it’s not out of the realm of possibility; I use the default theme, and rarely edit standalone CSS.)

    Thus, because it might very well be the theme, for debugging purposes, please try the default theme.

    If you are in the position to get Notepad++ enhanced in this respect

    This is a forum for the Community of Notepad++ users. Some here have contributed to the codebase, but the primary developer uses the forum mostly for announcements. And this is especially not a 1-on-1 support desk, where you can expect that I am now committed to solve your problem for you – I voluntarily read and answer in this forum, to help other Notepad++ make good use of the tool, but I am not part of the “in crowd” or a paid employee, and you cannot assume that I will always be available.

    Feature requests and bug reports do not go in the Forum – but really, the forum is a good first-line of support, to help educate users before feature requests are made: maybe there is already a way to accomplish the goal in an alternate manner.

    I noticed also other keywords in HTML, CSS and Javascript colored/styled wrongly

    If it’s colored or styled wrongly in the default styler, then show us where you think it’s wrong, and there’s probably a bug (or a misunderstanding of what the correct behavior is); otherwise, the theme is likely to blame. As I’ve said, the developers don’t regularly update the themes that are bundled with Notepad++.

  • ((BOL)) need...

    4
    1 Votes
    4 Posts
    325 Views
    IBIT-ZEEI

    …and here is the link to the GitHub feature request:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8153

  • Good news

    4
    0 Votes
    4 Posts
    267 Views
    Alan KilbornA

    @abdulbadii

    OR…you can just create your own forum for discussion of your fork, and don’t muddy the waters here!
    Thanks.
    :-)

  • Java highlighting seems broken

    5
    0 Votes
    5 Posts
    696 Views
    KronzkyK

    Ok, I figured it out…
    Turns out that the langs.xml file in my profile folder was seriously outdated. Many languages (among them Java) were missing, and once I’ve updated it with a new version I am now getting proper highlighting of Java.

  • Uh oh, virus commentary pending?

    5
    3 Votes
    5 Posts
    236 Views
    Alan KilbornA

    @dinkumoil said in Uh oh, virus commentary pending?:

    see my comment at the issue tracker entry.

    Yes, it’s why I titled this thread with “Uh oh” :-)

  • Launching tail-f from the command line.

    14
    0 Votes
    14 Posts
    3k Views
    EkopalypseE

    This PS, saved as startup.py (user NOT machine and PS configuration changed from LAZY to ATSTARTUP) should do the trick

    e6fb0b18-db39-4bab-a14c-ebdea5b99411-image.png

    from Npp import notepad, MENUCOMMAND if '-tailmode' in notepad.getCommandLine(): notepad.menuCommand(MENUCOMMAND.VIEW_MONITORING)

    and npp like this notepad++.exe -multiInst -nosession "FULL_PATH_OF_THE_FILE" -z -tailmode

  • Delete number strings in the middle of lines of data

    20
    1 Votes
    20 Posts
    4k Views
    guy038G

    Hi, @craksoft, and All,

    You said :

    So this long thing (?-s)(?<=\d{4}-\d\d-\d\d)\h+.{8} is 6 number ?

    I don’t know what you means, exactly !?

    The regex expression (?-s)(?<=\d{4}-\d\d-\d\d)\h+.{8} deletes blanks characters and the next 8 characters, when preceded by a date, with the YYYY-MM-DD format. No more, no less :-)

    BR

    guy038

  • Notepad++ losing unsaved documents

    5
    0 Votes
    5 Posts
    1k Views
    Alan KilbornA

    @Jack-Adrian-Zappa said in Notepad++ losing unsaved documents:

    but that means that some update turned it off,

    Maybe “some update” was pretty smart, protecting you from features currently in question. :-)

    I would think that should be a priority to fix.

    There’s been some attempts.

  • "Always on top" deactivation

    2
    0 Votes
    2 Posts
    246 Views
    EkopalypseE

    @Hadi-Jam

    if you want it to be always on top then start npp with the command line paramter -alwaysOnTop.

  • Need the ability to have fixed-width line number column

    19
    0 Votes
    19 Posts
    10k Views
    Alan KilbornA

    @Michael-Vincent said in Need the ability to have fixed-width line number column:

    (Scintilla multiedge)

    You mentioned “multiedge” briefly above; I agree that this could definitely help the OP. And, it appears a native multiedge capability is coming soon to Notepad++ !

    See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8107 and :

    f8d30148-91ff-48c1-a887-3c9de23250d5-image.png

  • Help find 2nd occurrence and replace

    16
    0 Votes
    16 Posts
    6k Views
    astrosofistaA

    Hi @guy038

    Thank you, your’s is good advise, as well as @Alan-Kilborn’s. As I told him, I only took into consideration the Windows case, ignoring other platforms.

    Will try to not forget it.

    Best Regards

  • "Find" box grayed out.

    10
    1 Votes
    10 Posts
    2k Views
    astrosofistaA

    @chilkoot

    Great! It is good to hear that it worked for you.

    Best Regards.

  • macro-writing

    4
    0 Votes
    4 Posts
    292 Views
    Alan KilbornA

    The discussion is continued HERE.

  • macro-writing

    4
    0 Votes
    4 Posts
    599 Views
    Alan KilbornA

    The discussion is continued HERE.

  • macro-writing

    2
    0 Votes
    2 Posts
    207 Views
    Alan KilbornA

    @khk-khk

    I’m not sure why you are opening a separate new thread each time you are replying, but OK, it is good that things are making sense on your end! :-)

  • Auto-Completion settings are just plain odd

    6
    5 Votes
    6 Posts
    309 Views
    astrosofistaA

    @dail

    Yes, that makes sense. As I said in my earlier post, the picture looks fine… but not nice.