• nppexec.dll plugin install failure.

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    Vasile CarausV

    You can to this. make a search and replace in all files with Regular Expression:

    Search [~}{@%.!)\]*(?&$#,=/[^+-] Replace by (leave empty)

    This will delete all the special characters from files, and will remain only letters and numbers.

  • new user replace -??- by /??/ in date

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @BMSI-Bureau

    I would prefer using \d{2} to be sure getting only a two digit number.
    See here for more information.

    Cheers
    Claudia

  • Unable to change color of text strings in javascript files

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Nate-Jensen141

    Have you tried that?

    Yes, that’s what I did.
    Concerning the changes - I guess the reference is the default theme (styler.xml).
    If it does work with the default, then make sure that your theme has all the required
    entries for the language in question, as well. If this is the case, than it should work.
    From the current discussion I get the feeling that your styler.xml is already corrupted.
    Maybe you wanna think about replacing it with the stylers.model.xml which is the one
    which is used to create the styler.xml if you do a new installation.
    Of course, you can also run a compare of these files and do the changes manually.

    Cheers
    Claudia

  • XY plots in Notepad++

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @prajwal-rao

    plugin, - not that I’m aware of.
    And I don’t think that scintilla being the editor component is useful in this case.

    Cheers
    Claudia

  • Multiple choice questions need help

    4
    0 Votes
    4 Posts
    4k Views
    PeterJonesP

    @guy038 ,

    Although I frequently use the ALT+MouseSelect column editing, I had never looked in the Column Editor dialog box, and didn’t know it had the auto-number feature. I’ll have to keep that in mind. I love learning new-to-me features in NPP.

    And your regex mastery always astounds me. :-)

    I would make one change to allow @CTL-Signup’s original asterisks (which I assume were marking either the “right” answer or the “selected” answer) to be preserved, which in my tests seems to work by modifying the first

    SEARCH (?-s)^\R|\R(\*?\l\))|(.+)

    Explanation: the same as Guy’s, except allow zero or one asterisk before the lowercase letter: \* indicates a literal asterisk; ? indicates “match 0 or 1”.

  • Search a files that contains multiple requested words.

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Scott SumnerS

    @Sascheya-Dragon-Shikamaru

    From your screenshot, it appears you are searching for your data in the wrong order: you won’t find “ab” if you tell Notepad++ to search for “ba”…

  • Cannot get to properly change encoding

    4
    0 Votes
    4 Posts
    4k Views
    Marcos SzeinukM

    Claudia and gstavi - Thanks for your answers

    Finally I managed a workaround by saving fist the utf-8 data file as .xls (which I could), opening excel and saving as .csv and then open in npp and “convert to ansi” - other ways exchanged some letters - but somehow this worked with no missing or exchanged letters.

    Thanks again
    Marcos

  • Use notepad++ to run python in the same IDLE

    Locked
    4
    0 Votes
    4 Posts
    8k Views
    Claudia FrankC

    @Amol-Deshmane

    Why do you need to have it in the same console?
    For reference? If so, NppExec provides functions for saving last output.
    See NppExec help.
    If it is for different reason we need to know what you do to see if this can be done
    or not.

    Cheers
    Claudia

  • Printing text files when you are using a colour scheme

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    Claudia FrankC

    @Andrew-Truckle

    What about Setting->Preferences->Print settings?

    Cheers
    Claudia

  • 0 Votes
    25 Posts
    13k Views
    guy038G

    Hi Alan and MapJe71,

    Thanks, MapJe71, for the link about Word Boundaries, from the definitive site about regular expressions ! Of course, Alan, I know the differences between the three assertions : \b , \< and \>. I just preferred not to speak about it, first, in order to keep concentrated on your problem !

    To be short, the \b assertion acts, either, as a \< assertion OR as a \> assertion. This explains that the regex \<WORD\> can be simply replaced by the regex \bWORD\b.

    BTW, in the Words Boundaries table, I noticed the POSIX word boundaries ( [[:<:]] and [[:>:]] ) which have, exactly, the same meaning as the GNU word boundaries \< and >\ ). These syntaxes are functional, with the N++ Boost regex engine ! Unfortunately, Alan, the problem that you noticed does occur with the POSIX word boundaries, too :-((.

    On top of that, from the LAST row of the “Word Boundaries” table, named Word Boundaries behaviour, it is said that “word boundaries” are not correctly handled, in most regex engines :

    Word boundaries always match at the start of the match attempt if that position is followed by a word character, regardless of the character that precedes the start of the match attempt. (Thus, word boundaries are not handled correctly for the second and following match attempts in the same string.)

    And it shows an example :

    \b. matches all of the letters but not the space when iterating over all matches, in the string “abc def”

    So, I did some tests ( again !! )

    I copied this single sentence, below, part of the license.txt file, in a new tab By contrast, the GNU General Public License is intended to guarantee your freedom...

    In the Find dialog, I left the Match case and the . matches newline options UNCHECKED

    I selected, of course, the Regular expression search mode

    I tested the different regexes, below, against the example text

    REMARK : In the table, below, each dash character, under the sentence, indicates a match of the corresponding regex(es) !

    ======================================================================================================================== | REGEXES | EXAMPLE text - MATCHES noted by a DASH character | RESULTS | ======================================================================================================================== | | | | | | By contrast, the GNU General Public License is intended to guarantee your freedom... | INCORRECT ! | | (^|(?<!\w)). | ------------------------------------------------------------------------------------ | | | | | | +-----------------+--------------------------------------------------------------------------------------+-------------+ | | | | | \b. | | | | \<. | | | | [[:<:]]. | | | | | | | | | By contrast, the GNU General Public License is intended to guarantee your freedom... | INCORRECT ! | | \b\w | -- -------- --- --- ------- ------ ------- -- -------- -- --------- ---- ------- | | | \<\w | | | | [[:<:]]\w | | | | (^|(?<!\w))\w | | | | | | | +-----------------+--------------------------------------------------------------------------------------+-------------+ | | | | | | By contrast, the GNU General Public License is intended to guarantee your freedom... | INCORRECT | | (^|(?<=\W)). | - - - - - - - - - - - - - - | | | | | | +-----------------+--------------------------------------------------------------------------------------+-------------+ | | | (At last !) | | | By contrast, the GNU General Public License is intended to guarantee your freedom... | | | (^|(?<=\W))\w | - - - - - - - - - - - - - | CORRECT | | | | | ==================+======================================================================================+============== | | | | | | By contrast, the GNU General Public License is intended to guarantee your freedom... | INCORRECT ! | | .\b | -- - - -- -- -- -- -- -- -- -- -- -- - | | | | | | +-----------------+--------------------------------------------------------------------------------------+-------------+ | | | | | | | | | .((?=\W)|$) | By contrast, the GNU General Public License is intended to guarantee your freedom... | INCORRECT ! | | .((?!\w)|$) | - -- - - - - - - - - - - ---- | | | | | | | | | | +-----------------+--------------------------------------------------------------------------------------+-------------+ | | | | | .\> | | | | .[[:>:]] | | | | | | | | \w\b | By contrast, the GNU General Public License is intended to guarantee your freedom... | CORRECT | | \w\> | - - - - - - - - - - - - - | | | \w[[:>:]] | | | | \w((?=\W)|$) | | | | \w((?!\w)|$) | | | | | | | ========================================================================================================================

    From that table, it obvious that the handle of the assertions, by the N++ Boost engine, seems quite weird !!!

    To be coherent, only two regexes, with similar syntax, should be used :

    The regex (^|(?<=\W))\w, which matches the FIRST character of a word

    The regex \w((?=\W)|$), which matches the LAST character of a word

    => The regex (^|(?<=\W))\w|\w((?=\W)|$) matches the first AND the last characters of a word

    Best Regards,

    guy038

  • change.log always opens

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Willem de GrootW

    Yes, thanks!

  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Andreas-R.

    is there a way to denote a keyword (for folding) that it should be considered only if it is the first word in a li

    afaik, no.
    What comes into my mind would be two ugly hacks.

    Assuming Visual FoxPro is case insensitive make it case sensitive and use
    different cases. Define the FOR loop keyword with an always to use variable
    like “FOR n” as the open folding part.

    Ugly, said it.

    Cheers
    Claudia

  • Is 7.31 Compatible With Win XP?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    chcgC

    If https://github.com/gup4win/wingup/blob/master/vcproj/GUP.vcxproj is used, probably the updater is compatible with win xp. Would need a change of the toolset from v120 -> v120_xp.

  • Can't save files as HTML?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    There is a bug with v7.3.1 that requires you type the file extension.

  • Is there an insert link function?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @William-DeFoore

    I believe you are going to have to define what you mean by “insert link”; otherwise I think that command is called “paste”. :-)

    Seriously, though, perhaps you don’t have this setting checked?
    Settings (menu) -> Preferences -> MISC. -> Clickable Link Settings -> Enable

    If you turn that “on”, when you create something that has the syntax of a hyperlink in your text, it should actually LOOK and ACT like a link.

  • Unable to Rename to a Mapped Network Drive

    3
    0 Votes
    3 Posts
    2k Views
    Veronica SutzerV

    All the mapped drives are present and accounted for and they are all connected.
    I can access them from explorer and move files manually to them.
    Only when using Rename can I no longer move them. I don’t receive any messages so it looks the same as it does when it worked only the file isn’t moved because it doesn’t work.

  • Can Notepad++ warn me when it is wrapping around to top of file?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Rick SilvaR

    Cool. It does flash. Thanks for the help!

  • User-Defined Language | Probleme coloration of a string in Group

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Corentin-Ambroise

    looks like udl does have a problem with the é.

    Cheers
    Claudia

  • RegEx for duplicate words (I'm not familiar withRegEx)

    3
    0 Votes
    3 Posts
    2k Views
    nafri brautN

    Thank you!