• Notepad++ Python Script - Find files containing string at specific line

    13
    0 Votes
    13 Posts
    8k Views
    Scott SumnerS

    @toxpal

    OK, so you have to read the documentation to see how these “editor” functions work. See Plugins -> Pythonscript -> Context-Help.

    If you do this, you will see that editor.findText() returns a value indicating where a match did (or didn’t) occur.

    Does this make sense?

    Same thing applies to editor.getTextLength()…except in that case you actually have to spell it correctly (hint: case matters)…

  • Regex help

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Anthony BouttellA

    The answer is:

    Find what: [^a-z] replace with:
  • Some Questions about the 'Find' dialog

    14
    0 Votes
    14 Posts
    9k Views
    Rajkumar TamangR

    I have this problem, could you please help me explain this link: https://notepad-plus-plus.org/community/topic/13378/run-commands-issue/8 during run compilation, error is shown can’t fix it can you please help me. I have stopped working as i am not able to run in chrome . specification are windows 10 64bit

  • Troubles with open on Windows 10

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    chcgC

    Could you provide ?->Debug info data please. Similar to mine:

    Notepad++ v7.3.3 (32-bit)
    Build time : Mar 8 2017 - 03:37:37
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)

  • Same old bugs

    7
    0 Votes
    7 Posts
    4k Views
    chcgC

    Jslint should have been updated by the author. Last update to 0.8.1 on the pluginlist is from 2013-02-17 11:05:36.
    Also 0.8.3 was published on 2015-11-26, which seems to be not in the repo at https://sourceforge.net/p/jslintnpp/code/HEAD/tree/trunk/. I will write an email to Martin to check if it is ok for him to update the revision on the pluginlist.

  • Need help setting up

    Locked
    3
    -1 Votes
    3 Posts
    2k Views
    PeterJonesP

    What exercise files? What video? You need to give us a bit of context so we can understand your question.

  • Unable to validate DLL when updating to Plugin Manager 1.4.5

    3
    0 Votes
    3 Posts
    3k Views
    chcgC

    See https://github.com/bruderstein/nppPluginManager/issues/57, should be fixed on server side for the meantime.

  • Tab munging on load and save

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Cannot move the splitter

    3
    0 Votes
    3 Posts
    2k Views
    StanDogS

    Ok, nevermind. Closing all apps didn’t helped, but restarting system seems to solve the problem. But it’s still a strange behaviour. The rest of the UI seemed to work normally. Just the splitter was frozen.

  • Is it safe to edit cryptographed files with Notepad++?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 打开多个文件 标签页 可否按照名称 首字母排列顺序?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    MAPJe71M

    Google Translate:
    Title: Can I open multiple file tabs in alphabetical order by name?
    Body: Open a lot of files, sort the tabs in order. Is this function already available? How to set up?

  • Is there a way to add a main menu?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Match tags whose contents are repeated in multiple files

    7
    0 Votes
    7 Posts
    3k Views
    guy038G

    Hello, @vasile-caraus,

    You can download some GNU tools for Win32 from the link, below :

    https://code.google.com/p/gnu-on-windows/downloads/list

    ( The downloaded GAWK version is v4.1.0 )

    The GAWK documentation may be downloaded, from the link :

    http://www.gnu.org/software/gawk/manual/

    @vasile-caraus, GAWK software is a very very powerful Unix tool, but you’ll need some time, even to learn basic functions. For instance, the PDF Reference manual is a 540 pages file ! But, I’m sure it won’t take you much time to “Google search” an short introduction to the GAWK tool !!

    Cheers,

    guy038

  • Deleting multiple lines

    Locked
    4
    0 Votes
    4 Posts
    6k Views
    Norson TeeferlyN

    That did the trick. Thank you.

  • Gaddis Pseudocode?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Error When Opening Any .js File

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Under Settings > Preferences > Misc. make sure “session file ext” is not set to “js”

  • Copy paste into sqlplus

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Find and replace special characters

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Having notepad++ autohighlight certain values when they are non zero

    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello, @matthew-millard,

    Not too difficult with the right regular expression !

    So, using, for instance, the example text, below :

    SigQual[ uD 1633 | Nd 0 | sN 16 | cD 23 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ] SigQual[ uD 1633 | Nd 0 | sN 16 | cD 0 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ] SigQual[ uD 1633 | Nd 0 | sN 16 | cD 1 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ] SigQual[ uD 1633 | Nd 0 | sN 16 | cD 127 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ] SigQual[ uD 1633 | Nd 0 | sN 16 | cD 0 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ] SigQual[ uD 1633 | Nd 0 | sN 16 | cD 1234 | wF 0x00 | aF 0x00 | dA 0.0 [63561] | sA 14.6 [5882] | Rt D ]

    Open the Find dialog ( CTRL + F )

    In the Find what: zone, type in the regular expression, below :

    (?-i)(?<= cD )(?!0 )\d+

    Check the Wrap around option

    Select the Regular expression serach mode ( IMPORTANT )

    Click on the Find Next button

    => You should get the next number, different from 0, located after the string cD, in that exact case. Et voilà !! ( only the second and fifth lines will be skipped ! )

    Notes :

    The first part (?-i) forces the regex engine to search, in a sensitive way ( = non-insensitive )

    The final part \d+ is the real string to search for, that is to say, a digit ( \d ), repeated one or more times ( + ) ( idem a number ! )

    But, this number will be matched by the regex engine, IF and ONlY IF the two following conditions are TRUE :

    Before the number location, the string " cD ", with two spaces and without doubles quotes, DO exist ( positive look-behind syntax : (?<= cD ) )

    At number location, the string "0 ", with one space and without doubles quotes, does NOT exist ( negative look-ahead syntax : (?!0 ) )

    Best Regards,

    guy038

  • No response after moving plugin window

    7
    0 Votes
    7 Posts
    3k Views
    chcgC

    Ever tried the minimalist package from:

    https://notepad-plus-plus.org/download/v7.3.3.html

    -> no plugins and no installation. This should give you a hint if one of the plugins is a problem or somewhere in your local config there is an issue.