• Help needed - editing email id's to make them web addresses

    4
    -1 Votes
    4 Posts
    1k Views
    kerryvK

    Thank you - both methods worked fine ! The second one by Scott is much faster.
    I appreciate the help.
    Best regards,
    Kerry

  • Trying to move document tab changes the text to Korean.

    Locked
    1
    0 Votes
    1 Posts
    622 Views
    No one has replied
  • Notepad++ CS-Script Compilation Error

    8
    0 Votes
    8 Posts
    4k Views
    Julian AungJ

    P.S: I think this issue occur because of the latest release of both NP++ and CS-Script this didn’t happen in the previous versions of NP++.If I remembered correctly, CS-Script worked just fine with the NP++ plugin manager pre-installed version.

  • Función textfx en español

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Conchi-de-Madrid

    I don’t believe there is currently a 64-bit version of TextFX.

  • Updated Plugin Manager, now not showing ANY plugins!

    Locked
    3
    0 Votes
    3 Posts
    3k Views
  • 0 Votes
    2 Posts
    1k Views
    Eskander88E

    <LexerType name="xml" desc="XML" ext="">
    <WordsStyle name="SGMLDEFAULT" styleID="21" fgColor="000000" bgColor="A6CAF0" fontName="" fontStyle="1" fontSize="" />
    <WordsStyle name="CDATA" styleID="17" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" />
    <WordsStyle name="ENTITY" styleID="10" fgColor="000000" bgColor="FEFDE0" fontName="" fontStyle="1" fontSize="" />
    ...
    </LexerType>

    … don’t know what’s responsible for this parameter …

  • how to add questions in Notepad++

    Locked
    3
    -1 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @mohammed-bismillah,

    I rather agree with Peter’s post. To that purpose, read also this valuable article :

    http://www.catb.org/~esr/faqs/smart-questions.html

    Nevertheless, here is a simple solution for your batch file, below, which should clarify a bit how to proceed !

    @echo off title Game cls :menu echo. echo. echo Start : 1 echo Help : 2 echo Exit : 3 echo. set menu= set /p menu= if %menu%! == ! goto :EOF if %menu% == 1 goto game if %menu% == 2 goto help if %menu% == 3 goto :EOF :help cls echo. echo. echo Hit the CORRECT number and press ENTER. echo. echo. :game echo. echo. echo What is your name? echo. set name= set /p name= echo. echo Hello %name%! echo. echo. echo. :qt1 echo Who was the FIRST president of the USA? echo. echo Pierre Desperau : 1 echo George Washington : 2 echo. set qt= set /p qt= if %qt%! == ! goto qt1 if %qt% == 1 echo Incorrect & goto qt2 if %qt% == 2 echo Correct ! :qt2 echo. echo Who is the LAST president of the USA? echo. echo Donald Trump : 1 echo Guy Thevenot : 2 echo Emmanuel Macron : 3 echo. set qt= set /p qt= if %qt%! == ! goto qt2 if %qt% == 1 echo Correct ! & goto qt3 if %qt% == 2 echo Incorrect & goto qt3 if %qt% == 3 echo Incorrect :qt3 REM And so on ....

    Best Regards

    guy038

    PS :

    if you prefer to quit the batch file, with a simple hit on the ENTER key, on each question, just change each line

    if %qt%! == ! goto qt##

    by the line :

    if %qt%! == ! goto :EOF
  • Notepad++ doesn't show a normal text file

    Locked
    8
    0 Votes
    8 Posts
    6k Views
    guy038G

    Hello @cell-test, and All,

    I uploaded your test.log file and I got, as expected, a displayable file, like @MapJE71 did !?

    I just noticed that the Properties window of your file it gives a size of 2,264 Bytes. As for me, the size of the uploaded file is 1,501 bytes, only ! It’s an UTF-8 encoding file. where all characters code are under \x{0080}. So number of bytes = number of characters = 1501

    Remainder :

    To get the number of characters, of current file, looks at the length : zone, in the middle of the status bar

    To get the number of bytes, of current file, choose View > Summary… and see the line File length (in byte)

    I created a copy, with the UCS-2 LE BOM encoding ( which is the default Windows Unicode encoding ) and I got a file of 3,004 bytes. This is logical, as, with that encoding, each character is coded with two bytes + the invisible Byte Order Mark, in two bytes, as well => 2 x 1,501 + 2 for BOM = 3,004 bytes !

    Unfortunately, this value is also different from the 2,264 one ! So, like @MapJE71, I’m at a dead end, too ! It could be interesting to open that specific file with an hexadecimal editor, which will give you the exact code point of each character !

    Best Regards,

    guy038

  • Author-mode available in Notepad++?

    2
    0 Votes
    2 Posts
    910 Views
    MAPJe71M

    @Emiel-D AFAIK no.

    Anything that can provide this?

    See suggestions.

  • how to copy into multiple line into their orig line

    Locked
    3
    -1 Votes
    3 Posts
    1k Views
    FujiyamaVolcanoF

    @guy038 thanks
    you got upvoted

  • Python 3 and Python scripts plugin

    24
    0 Votes
    24 Posts
    18k Views
    Bill WinderB

    @Scott-Sumner and they are numbered! Perfect. Which essentially solves my problem.

    I hope! There is one further step. I will have to capture the name of the active tab and give it to NPPEXec.

    But that should be possible through the sci_sendmessage function (will look into that), since this is possible:

    sci_sendmsg SCI_GETSELECTIONSTART
    set local selStart = $(MSG_RESULT)

  • Utilizing other plugins within a plugin

    Locked
    1
    0 Votes
    1 Posts
    599 Views
    No one has replied
  • how to link to my URL

    25
    1 Votes
    25 Posts
    11k Views
    Joel SnyderJ

    Thanks so much, Guy –

  • spaces dropped when pasting

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    Clyfton InC

    Oh wow … you are right.
    It is not notepad++
    It is linux vi editing program is not copying the spaces.
    Thanks.

  • How to add custom HTML Fold when Language = PHP?

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    Will S.W

    Here is the answer… (unless someone tells me it creaes another a problem…)

    The "echo’ command can include multiple lines as the simple example below illustrates.
    Note the single quote mark brackets the echo’d code since double quote marks are used within the echo’d code at various points…

    So for me this example code folds perfectly and in my real case actually runs :-)

    If anybody sees a problem with using the multiple line php echo to manage folds in mixed html and php code please let me know.

    Example: (To try it paste it into Notepad ++ and select PHP as the language)

    <?php // TABLE 1 – ROW 1 – DISPLAY PAGE HEADER – THEN DISPLAY DATA INPUT FORM
    echo ’
    <table style=“width: 1233px; height: 595px; text-align: left; margin-left: auto; margin-right: auto;” border=“1” cellpadding=“2” cellspacing=“2”>
    <tbody>
    <tr>
    <td style=“vertical-align: top; width: 150px; text-align: center;”>
    </td>
    <td style=“vertical-align: top;”>
    ';
    $page_name = “mypage.php”;
    include ‘inc_header.php’;
    echo ’
    </td>
    <td Style=“vertical-align: top; width: 150px;”>
    </td> <!-- t1 tr1 td3 -->
    </tr>
    ';
    ?>

  • 0 Votes
    2 Posts
    829 Views
    guy038G

    Hello, @vito-korleone,

    I’m really disconcerted !! Unless I misunderstood your post, it’s quite an elementary task to achieve :-))

    Open the Replace dialog ( Ctrl + H )

    Type in a single space character in the Find what: zone

    Leave the Replace with: zone EMPTY

    Tick the Wrap around option and the Normal search mode

    UN-tick all the other options

    Click on the Replace All button

    Remark :

    If you must delete the space characters, in a specific zone of your file, only :

    Do a normal selection of that zone

    Open the Replace dialog ( Ctrl + H )

    Type in a single space character in the Find what: zone

    Leave the Replace with: zone EMPTY

    Tick the In selection option and the Normal search mode

    UN-tick all the other options

    Click on the Replace All button

    Best Regards,

    guy038

  • How to configure Notepad++ for compile in pascal

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    cipher-1024C

    @Meta-Chuh posted an easy method to get the Plugin Manager here. After you get everything updated, you should be able to easily install NPPExec. If you already have NPP set up and you want to just download the Plugin Manager dll, @Claudia-Frank gave some good instructions here. The link she gave for the Plugin Manger is for the 64 bit version. If you’re using 32 bit try this link.

    Good Luck

  • 1 line code while wanting multiple lines

    Locked
    4
    1 Votes
    4 Posts
    6k Views
    Claudia FrankC

    @Emiel-D

    so you are saying you do the same on desktop pc and notebook and
    if you open the file with npp on desktop you see multiple lines but if
    you open it with npp on notebook you only have one line?
    That would be strange. Do you use the same plugins on both?
    Maybe one of it is corrupting the file - but to be honest,
    I don’t see how. XML Tools has a linarize function, could it be that it is executed
    when loading a xml file?

    And no, there is no npp setting which needs to be applied.

    Cheers
    Claudia

  • Add to AutoIt function list

    4
    0 Votes
    4 Posts
    2k Views
    Edward UlleE

    @Claudia-Frank @extended is not a user defined function, but a part of AutoIt language. I found langs.xml thanks to you and added it and it is working. Thanks again.

  • Prefix and suffix a text entry at start of every line

    5
    1 Votes
    5 Posts
    4k Views
    Richard AvonR

    @Claudia-Frank
    Many thanks Claudia. Brilliant.
    Thanks for taking the time to explain this.
    In much appreciation
    Regards
    Richard