• Notepad does not run. Windows 7+ required? Not stated anywhere

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    guy038G

    Hello, @eric-a-meece and @claudia-frank,

    Claudia, Yes, I’m still using Win XP SP3 I’m not that young, by now ;-))

    Anyway, Eric, I’ve never had, yet, big problems, due to Notepad++. From time to time, my N++ froze on exit ( but, always, without any loss of data ) due, probably, to the DSpellCheck plugin. Luckily, all seems OK, since the last 1.3.2.0 version !

    I, personally, always download N++ zip archives, extracting all in a new folder, getting a local configuration, with all configuration files, in the installation folder or in sub-folders. And my laptop contains different versions of N++, each in a separate folder, without any problem.

    Of course, I carefully verify that I’m only using an unique N++ version, at the same time !! BTW, my laptop is a NEC verso M350, which should be 15 years old, approximatively :-))

    Best Regards,

    guy038

  • Opening files recursively with user defined language

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @soczysty7

    Afaik, the l switch cannot be used with udl languages.
    A possible workaround, which more or less handles it, is described here.

    Cheers
    Claudia

  • 0 Votes
    2 Posts
    954 Views
    Claudia FrankC

    @iamvaibhavkr

    it is already available, check your settings->preferences->auto completion settings.

    Cheers
    Claudi

  • Beginner using notepad++

    7
    0 Votes
    7 Posts
    4k Views
    Trish WhiteT

    Hi Mikhail,

    The “text to speech” software can take text from either a text file or clipboard.

    I’ve tried your suggestion in notepad++ (“encoding” and “convert to ansi”) and it worked. Don’t know much about the technical side but as long as it works, that’s great!

    Thanks for your help.

    Regards,
    Trish

  • cr/lf suddenly appears

    18
    0 Votes
    18 Posts
    11k Views
    Reed ScarceR

    @Scott Sumner, THANKS.
    I’m getting used to posting to this board and the constraints.
    My last post was to a screen shot, one that wasn’t necessary after I viewed your informative post. I’d already lined it up and just pressed submit after the mandatory 20 minutes. Then I read your post.
    RE: Your Post - I’m betting you’re right. Over time I’ve let many open tabs accumulate. I have Notepad++ in Startup and, you get the rest.
    Ultimately, after making sure there was no corruption, I hit ctrl-S and the CRLF/Initial-Char issue resolved its self.
    So thanks!

  • Searach a word and send results in a new file

    Locked
    9
    0 Votes
    9 Posts
    4k Views
    Claudia FrankC

    @Daniele-Mangiapelo

    good to see that you found a solution for you because I was just starting to write that
    the macro solution seems not to work correctly with the find result window.

    Cheers
    Claudia

  • Need help replacing HTML tags! Any help welcome.

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    guy038G

    Hi, @carolin-marschke,

    I supposed that you’re speaking about the tag , as below, which starts, generally, an XML file !

    <?xml version=“1.0” encoding=“UTF-8” ?>

    Your troubles come from the Question mark character ( ? ), which is considered, in the regex universe, as a special character, also called a meta-character. So, by default, these characters are NOT simple literal characters !

    There are two different sets of meta-characters :

    Those, which are recognized anywhere in the pattern, EXCEPT within square brackets :

    \ General escape character, with several uses

    ^ Start of a line ( or a file )

    $ End of a line ( or a file )

    . Match any character, except new-line ones ( by default )

    [ Start a class definition or a class range

    | Start of an alternative branch

    ( Start of a sub-pattern group

    ) End of a sub-pattern group

    { Start a Min / Max range of a quantifier

    } End a `Min / Max range of a quantifier

    * 0 to more times, the preceding character or group

    +

    1 to more times, the preceding character or group

    Possessive behaviour of the quantifiers *, + and ?

    ?

    0 or 1 time, the preceding character or group

    Meaning extender, for groups or conditions, (....)

    Minimizer of the quantifiers *, + and ?

    Those, which are recognized within square brackets ( character class ), EXCLUSIVELY :

    \ General escape character

    ^ Negate the class, if first character of the class

    - Character range indicator

    [: Start of a POSIX character class, if followed by regular POSIX syntax

    :] End of a POSIX character class

    So, Carolin, if you need to search for any of the above characters, as a literal, you must escape it with the backslash character \

    Therefore, your regex must be rewritten as : (?i)<\?xml[^>]*>, with a \, right before the ? character !

    However, the regex (?-is)<\?xml.+?> give better results ! Indeed, due to the -s modifier, any dot will match standard characters, only, with case sensitivity. So, after matching the literal string <?xml, with that exact case ( <\?xml ), it looks for the shortest non-null range of characters ( .+? ), of the current line, till a closing symbol >

    Assuming that the unique XML line <?xml version=“1.0” encoding=“UTF-8” ?> would be split into the four lines, as below :

    <?xml ver sion="1.0" enc oding="UT F-8" ?>

    My regex doesn’t match this incorrect text, unlike your regex ! To get the same behaviour, you should change your regex as (?i)<\?xml[^>\r\n]*>. This time, the syntax [^>\r\n] matches any character, different from the > character AND different, also, from any EOL character :-))

    Cheers,

    guy038

  • Opera Browser in Notepad++

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Shepard

    Did you restart npp afterwards?
    Did you try to put the complete path for opera?
    $(FULL_CURRENT_PATH) is the correct variable but which file did you edit?
    Depending on your installation it might be that your shortcuts.xml is either the one in
    %APPDATA%\notepad++ directory or the one in the install directory.

    Cheers
    Claudia

  • NPPExec for Python: Passing Command Line Arguments

    4
    0 Votes
    4 Posts
    3k Views
    mattjhsnM

    Hey all. This is my first login ever and I’m here to thank Claudia Frank for posting the answer on how to execute python in N++. Found it on one search!

  • Pythonscript set-selection question

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    Alan KilbornA

    @Claudia-Frank

    No worries, Claudia…I can let it go; it’s not that important…I withdraw the question(s).
    :)

  • Output line nubers when printing

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Scott SumnerS

    @Tim-OBrien

    If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • split view or dual instance

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Scott SumnerS

    @Jeffery-P-Krause

    Even if Settings menu -> Preferences -> Multi-Instance is set to Default (mono-instance), right-clicking on an edit-window tab offers Move to New Instance and Open in New Instance choices that work.

    If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • Keystroke to switch focus from console window to active editor tab?

    12
    0 Votes
    12 Posts
    8k Views
    Scott SumnerS

    Another way to achieve the original goal of this thread (moving input focus) was inadvertently pointed out in this thread. Thus:

    Enable (tick) the Peek on tab feature in the MISC. section (of Settings menu -> Preferences). When your input focus is NOT in your active document (maybe it is in a console window or the Find-what zone of the Find window), but you want to move it there without changing caret position or destroying a currently-active selection(s), simply point the mouse at an inactive tab–assumes you have more than one file open–and the (IMO otherwise useless) document-peeker window will pop up. You will find input focus is now back in the editing window for the currently-active tab in the most recently-accessed view (view0 or view1).

  • how to paste text copyed on web from clipboard

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Joe-Eckel

    Either by using the normal Paste mechanism or by using the Paste Special function.

    Cheers
    Claudia

  • How to completely remove a language?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Mario-Valle

    Should I remove “r” from <Language name=“rebol” ext=“r reb” commentLine=“;” commentStart=“” commentEnd=“”> in the langs.xml file?

    Yes.

    Cheers
    Claudia

  • New metalang (folding list)

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    KrzysiuK

    Found it, yay. For now only one level, but that’s fine with me. For people who would look for the answer: Comment & Number tab, select Allow folding of comments, Comment line style: * :)

  • 0 Votes
    3 Posts
    9k Views
    Daniel BéginD

    Thank guy038, Clever! I’ll use it :-)

    However, (in case I have a really more complex manipulation to do!-), is it possible to do the above using XSL transformation from the XML Tools plugin?

  • FunctionList classrange question

    29
    0 Votes
    29 Posts
    16k Views
    MAPJe71M

    @oirfeodent see PR #3842 for my review.

  • 0 Votes
    3 Posts
    1k Views
    Charlie FullerC

    bingo…thankyou thankyou thankyou!

  • Emmet plugin not working win xp

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied