• Using Python with Notepad++

    6
    0 Votes
    6 Posts
    40k Views
    chemebabakC

    Claudia, thanks for this:

    N++ is better than Python idle because each line of code in N++ is numbered, whereas idle in not. That makes it difficult to troubleshoot a file with 1000 lines of code.

    Great, I did not know about that plug-in.

    A lot of people use lmddgfy sarcastically, but that link you sent me helped me a lot because I am not familiar enough with idle to determine the keywords for a ddg search.

    Thanks!

  • Regex: DateTime

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    MAPJe71M

    @Vasile-Caraus

    I second @Alan-Kilborn 's remarks, IMO you should no longer be considered a beginner. After the amount of questions you posted related to regular expressions and the answers you got based on goodwill of other community member(s) (i.e. @guy038), you’ve had plenty of time to learn the basics.

    There are lots of sites available for regular expression related questions specifically, to name some:

    Learn regular expressions the hard way Regular Expressions 101 Regular-Expressions.info (by RegexBuddy author/developer).

    Furthermore, one doesn’t have to be a programmer to learn and use regular expressions.

  • EOL Conversion file size limit?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Removing lines if contains X,X1,X2,X3

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    John BowmanJ

    A way without regular expressions you could bookmark each of the lines (use the mark tab on the find files dialog), then from the drop down menus use Search > Bookmark > Removed bookmarked lines.

  • Make Background Color Transparent in Styler

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    John BowmanJ

    There is no transparent option. Even if you look in %appdata%\Notepad++\userDefineLang.xml where the settings are stored, all the styles specify bgColor=[something]. I experimented with removing it but Notepad corrected it with bgColor=“FFFFFF”

  • Search and replace not working properly ...

    9
    1 Votes
    9 Posts
    16k Views
    Scott SumnerS

    @Vasile-Caraus

    Create a UTF-8 document with some “word” data in it. For example, copy-n-paste the content of this posting.

    Get to the Find dialog’s Replace tab:

    Find what: \w Replace with: \x20 Search mode: Regular expression Wrap around: checked Uncheck all other checkboxes on Replace tab.

    Press the Replace button one or more times. Each press replaces a word character with a single space character.

  • Create an account on the NP++wiki

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Launch in FIREFOX ?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Regex: I want to modify something

    11
    0 Votes
    11 Posts
    4k Views
    Scott SumnerS

    @Vasile-Caraus

    I can understand why \r would work in place of \R for non-Unix files in a FIND operation, but I would not use \r in place of \R in a REPLACE operation for Windows files. Truly, however, \R works fine in my extensive experience with it, and something else must be wrong in your situation.

    \W and \K have no relation at all, and if indeed it works somehow in your specific application, it is sheer coincidence.

    What troubles me is that you are making blanket statements such as you did, without any supporting information. So perhaps people read this thread in the future and they start mistrusting \R or \K unnecessarily.

    Can you post some understandable examples of real text where \R and \K do not work right? Just saying “this doesn’t work” without more information is not helpful. I know it takes work to find specific examples and then put them together into a clear, coherent post that really seems to demonstrate a problem…but I don’t see any way around that for this case. Let’s either prove that \R and \K have issues, or let’s disprove it.

  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Michel-DEVEL

    I think you should report this at github.

    Cheers
    Claudia

  • use plugin from macro

    7
    0 Votes
    7 Posts
    3k Views
    dailD

    @gfgtdf

    I never said it was perfect ;) You are welcome to make changes and submit a pull request.

  • Save as "All types (*.*)" default - 7.3.1 64bit

    5
    0 Votes
    5 Posts
    3k Views
    waukeerulesW

    @hianghokung Okay. I was unable to save the setting in Preferences > Default Directory > “Use new style save dialog (without file extension feature)” while using 7.3.1. When closing and opening Notepad++ the checkbox would reappear. Downgrading to 7.3.0 resolved this issue.

    As for being unable to open text files, this was an issue with Preferences > MISC. I had set the “session file ext.:”/“Workspace file ext.:” to “txt” while I was troubleshooting the issue.

    Thanks again for your help.

  • gpup.exe requires administrator privileges

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    chcgC

    See https://htmlpreview.github.io/?https://github.com/bruderstein/nppPluginManager/blob/master/doc/index.html#install
    , unfortunately still version 1.3.5 is bundled with n++ 7.3.1 instead of current 1.4.3 of PM which causes some troubles.

  • Getting find in files to stop on first match

    6
    0 Votes
    6 Posts
    5k Views
    Ted LundqvistT

    Thank you for your excellent support!
    Your suggestions definitely solves my problem and there is no need to have this feature implemented in N++.

  • TLS 1.1 or later support?

    6
    0 Votes
    6 Posts
    3k Views
    chcgC

    @Claudia-Frank That’s right, but before digging deeper I would like to get an answer from @Dan-Soper , what exactly he needs to know.

  • Jump or go to the nth element

    9
    0 Votes
    9 Posts
    7k Views
    Bruno Miguel PereiraB

    Hello,
    Just to thank you all :)

    It seems @Scott-Summer was right and the issue came from the install through plugin manager. I did it again manually and now the script is working. I will use it as a base and I will probably do some adjustments.

    Cheers,
    Bruno

  • make cursor more visible

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Scott SumnerS

    @Alain-Torrens

    You might also want to turn on current-line highlighting. See Settings (menu) -> Preferences -> Editing -> Enable current-line highlighting.

    Even if your caret was hard to see after Claudia’s suggestion (which it won’t be), this would help narrow down its location. :-)

  • Last few versions, no more auto-indent?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    T QT

    I guess it was a bug. I updated to the latest version today and its working again. All good now :)

  • 0 Votes
    7 Posts
    10k Views
    Claudia FrankC

    @minsikau

    that is url standard encoding. Spaces needs to be percent escaped.
    See https://tools.ietf.org/html/rfc3986#page-12 for more information.

    Cheers
    Claudia

  • Not able to see japanese characters

    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    @pranjal-mathur

    Same result or different result but not solved.
    By any change - could you upload the xml for testing?
    Or create one which shows the behavior.

    Cheers
    Claudia