• Notepad for FreeFem

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Adriana-Maria-Castro-Sanchez

    First, is launchff++ a commandline executable? If so,
    call it with the commandline interpreter like

    cmd /k launchff++ “$(FULL_CURRENT_PATH)”
    (also consider using nppexec)

    If it is a win gui application, checkout if launchff++ can be executed to run the gui
    or if it is needed to put in the whole path.

    Cheers
    Claudia

  • How to not open last session when you have closed and re-open NotePad++

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    dvastonD

    Thanks perfect :)

  • Non-loading website

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Sandra-Blebbings

    first of all, make clear what you want.
    You’re saying that the website is showing up and in the sub-clause you are saying it isn’t.
    Then describe the steps you’ve done clearly - how should we know what causes the problem
    if you don’t provide any useful information. Sorry.

    Cheers
    Claudia

  • Save As dialog box stuck in fullscreen

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Brian-Edwards

    what about clicking into the top window area (don’t know the name currently, the area where save as appears)?
    It should open a menu where you can resize or restore (or something like that) the window.

    Cheers
    Claudia

  • replace in selected area

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    guy038G

    Hello , Gonen Shoham,

    Of course, it can -:))

    I noticed that, finally, you would like to change, ONLY, the lines which begin with a digit, wouldn’t you ?

    If so, you can achieve all your changes, in one go, with a regex Search-Replacement !

    Move back to the very beginning of your file ( Ctrl + Origin )

    Open the Replace dialog ( Ctrl + H )

    In the Find what: zone, type (?-s)^(?=\d)(\w+).+\W+(\w+)\W+(\w+)$

    In the Replace with: zone, type \1 \2 \3 , with a space character after digits 1 and 2

    Click on the Replace All button

    Et voilà !!

    NOTES :

    As usual, the in-line modifier (?-s) ensures you the any meta-character dot ( . ) will match standard characters, ONLY, and not EOL characters

    Then, the part ^(?=\d) is called a positive look-ahead, that is to say a condition which verifies that, at beginning ( ^ ) of each line, a digit ( \d ) does occur ( Note that this condition must be true, in order to valid the overall search regex. However, these look-arounds do not consume any character and the regex engine position is, still, at the very beginning of each line )

    So, the part (\w+) represents the first non-null range of word characters, of each line, which is stored as group 1, due to the parentheses

    Then, the part .+ stands for any non-null range of standard characters, till the regex engine reaches :

    A non-null list of NON-word characters ( \W+ ), followed by :

    A non-null range of word characters ( (\w+) ), stored as group 2, followed by :

    An other non-null list of NON-word characters \W+, followed by :

    An other non-null range of word characters ( (\w+) ), stored as group 3, finally followed by the end of the line ( $ )

    In replacement, we just re-write the contents of the three groups 1 ( first word ), 2 ( penultimate word ) and 3 ( last word ), separated by one space character.

    REMARKS* :

    The class \w represents, in the world-common ASCII range of characters, the class [A-Za-z0-9_], ( upper-case letters, lower-case letters, digits and the low line character ) But, if your present file has an Unicode encoding ( UTF-8 or UCS-2 ), the range of word characters ( \w ), in N++, is extended to any character, considered as letter or digit, in either, Latin, Greek, Cyrillic, Hebrew and Arab languages, correcty displayed with the Courrier New default N++ font !

    And the inverse class, \W, stands for any NON-word character, that is to say, any chracter, which does NOT belong to the word characters range

    So, from your example :

    *JSP - 060 N N 1309,com.sapiens.mig.ri.v050m00.RI17483,70 1309,com.sapiens.mig.ri.v050m00.RI17483,70 *SQL - 812 N N #SQL01 *DDC - 045 N N *JRN - 055 N N

    we would obtain the modified text, below :

    *JSP - 060 N N 1309 RI17483 70 1309 RI17483 70 *SQL - 812 N N #SQL01 *DDC - 045 N N *JRN - 055 N N

    Even if the non-selected lines begin with an othersymbol than the star, except for digits, AND/OR the different words are separated by several non-word characters, our S/R, always, behave as expected :-) For instance, if you consider the text, below, where I inserted numerous non-word characters, whose some space and tabulation characters, in the two lines, that have to be changed and where I changed the first character of the lines, which have to stay unchanged :

    +JSP - 060 N N 1309;com---sapiens~mig&ri>>>>>v050m00 RI17483,@@@@@@@70 1309:com"""sapiens===mig/ri!v050m00 RI17483%%%70 *SQL - 812 N N #SQL01 DDC - 045 N N JRN - 055 N N

    We, still, get the result, below !

    +JSP - 060 N N 1309 RI17483 70 1309 RI17483 70 *SQL - 812 N N #SQL01 DDC - 045 N N JRN - 055 N N

    Best Regards,

    guy038

  • How to keep spacing when converting file from plain text to rich text?

    5
    0 Votes
    5 Posts
    5k Views
    cipher-1024C

    When you “convert to rich text” I’m assuming you’re pasting the data into something else (Word?). I think all you need to do to maintain the columns is set the font on the pasted data to a fixed-width font like courier.

  • Search/replace function makes large file corrupted

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ Copy and Paste

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    cmeriauxC

    debug info please

  • Why do not alt+ASCII give extended ASCII characters

    4
    0 Votes
    4 Posts
    7k Views
    Martin PerssonM

    I code 100% in UTF-8

  • 0 Votes
    2 Posts
    2k Views
    guy038G

    Hello, Manorma Gautam,

    Not very difficult !

    From what you said, I deduced some points :

    You want to keep the lines, which contain, either, the string vprn OR vpls

    These two words begin by the two lowercase letters vp

    These two words are always located at beginning of lines

    All the lines, which do not contain these two words, must be deleted

    So, follow the few steps, below :

    Move back to the very beginning of your file ( Ctrl + Origin )

    Open the Replace dialog (Ctrl + H )

    In the Find what zone, type in (?-is)^(?!vp).+\R

    Leave the Repalce with zone EMPTY

    Uncheck, preferably, the Wrap around option

    Select the Regular expression search mode

    Click on the Replace All button

    Et voilà !

    NOTES :

    The first part of the regex are in-line modifiers (?-is) to force the regex engine to consider the search :

    In a non-insensitive way ( in the case you, previously, unchecked the March case option

    With the dot symbol matching standard characters, exclusively, in the case you, previously, checked the . matches newline** option

    The middle part ^(?!vp) looks, from beginning of each line, for a negative look-ahead ( a condition that must be true in order to satisfy the overall match but which is not part of the final regex. So, it verifies, for each line, if the exact string vp does NOT occur, at beginning of lines. If it’s the case :

    The last part, of this regex, .+\R matches any non-null range of standard characters, from beginning of line, followed by any kind of EOL characters. That is to say any complete line, which does NOT begin with vp

    All these complete lines are, of course, deleted, as the replacement part has been left EMPTY

    REMARK : The important thing, to note, is that look-arounds ( look-behinds and look-aheads ) do NOT move the regex engine position of search. So, after evaluating the negative look-ahead (?!vp) , the regex engine position is, still, just before the first character of each line ! Therefore, the part .+ does match all the standard characters of each line !

    Best Regards,

    guy038

  • Missing Plugin Manager

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    dailD

    Quote from the Notepad++ website:

    Note that the most of plugins (including Plugin Manager) are not yet available in x64

  • Nptepad++ New Line Issue

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Leon PriceL

    The Line Warp option fixed the problem for me, thanks for the help!

  • PHP styling keywords

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Where I can find the help?

    Locked
    2
  • Issue with automatic text replacement in v7.2.2

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Dave GreenD

    Fair enough. However I’ve resolved it. Somewhere’s in the last few versions an option has been added to set files to Read only. I’ve never used this option before but yet during the update to 7.2.2 one of the files I use often had the flag set to read-only. That’s why my macro replacement program never worked. Once I cleared the flag my macro replacements are working fine again.

    Thanks for the reply.

  • Notepad++ seems to be stuck on Python27

    Locked
    4
    1 Votes
    4 Posts
    3k Views
    PeterJonesP

    Do you mean how to change Window’s PATH variable from pointing to Python27 to Python35? That’s a Windows question, not a Notepad++ question, and one that your original post implied you knew how to do. And 30seconds on your favorite search engine will tell you: search for “change path WindowsN” (where N is 7, 8, or 10, as appropriate for your machine).

    If you mean how to change the path in the command snippet I showed, instead of typing c:\path\to\python3.exe, you would type the actual path to your installation of python3. I cannot know where that is on your computer (though c:\python35\python.exe is my first guess)

    If you mean something else, you’ll have to be more explicit. Because, once again, you haven’t said how you previously ran python27 from NPP, and other than a copy/paste of my text, haven’t shown what you’ve tried to get python35 to work.

  • Parameter to Remove line numbers from Find results

    Locked
    4
    0 Votes
    4 Posts
    6k Views
    cmeriauxC

    Guys, it’s already implemented
    Do a right click and use “copy” built-in function.
    It’s different that “select all” and “copy” with accelerator key

  • unable to download plugin snippets in notepad++

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Multi-Editing doesn't work when I pressed "enter" button..

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Focus on opened file

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Harold CoenenH

    Good enough reason /me thinks ;-) lol