• How do I cancel column mode by moving the cursor?

    2
    0 Votes
    2 Posts
    132 Views
    Alan KilbornA

    @Brixter-Tabun

    c7bb2870-9282-4b38-885f-65ae9d45adc9-image.png

  • Adding more steps to an existing Macro

    12
    0 Votes
    12 Posts
    2k Views
    Alan KilbornA

    @Robert-Or-Janet-Diebel said in Adding more steps to an existing Macro:

    Are comments allowed in shortcuts.xml?

    You can do this:

    <Action type="1" message="2172" wParam="0" lParam="0" sParam="I am a comment!!!!!!!!" />

  • 0 Votes
    3 Posts
    115 Views
    PeterJonesP

    @Terry-R

    Sorry, I didn’t see it was a second copy when I approved the second.

    Conversation will continue in the other

  • Comment line style for user defined language

    36
    0 Votes
    36 Posts
    30k Views
    malan sanniM

    @Scott-Sumner So you mean just change the name?

  • Link to Edit with Notepad++ status/fix please

    5
    0 Votes
    5 Posts
    1k Views
    S

    @PeterJones Yes, the paths were accurate. I have Notepad++ installed on a secondary drive with %APPDATA% path turned off - if you recall that install option. I tried installing on the default drive/path to no avail. I have added the PATH in my Environment settings to the dll’s and app just in case as well.

    I wish there was a way to compare registries just for Notepadd++ with you. I’m glad it works for you, hopefully another method will present itself here. Thank you.

  • Can't decode byte 0x89 in position 0: ordinal not in range(128)

    4
    0 Votes
    4 Posts
    271 Views
    Mark OlsonM

    Don’t use editor.getText with binary files. Notepad++ treats the file’s text as a NUL-terminated string for the purposes of that command, and most other text-retrieving commands. Apparently there are some ways for a plugin to get around this, but they are undoubtedly much more arcane.

    Have I ever mentioned how irritated I am that Don Ho refuses to implement a system for warning people that NPP is an inappropriate app for working with binary files?

  • Open file to most recent edit

    2
    0 Votes
    2 Posts
    129 Views
    PeterJonesP

    @afk-afk ,

    The closest command line option is -n# to take you to a specific line. If you pick a number that’s more than the number of lines (like -n999999), then it will scroll to the end.

  • How to style URL?

    4
    0 Votes
    4 Posts
    212 Views
    I

    @IstvanZachar Issued a feature request for styling URL-s here.

  • plugin admin not appearing

    5
    0 Votes
    5 Posts
    811 Views
    Dog five meD

    @PeterJones @Terry-R
    i opened notepad++ to do some coding for my website and tyo get the rest of the debug info and suddenly my notepad++ decided to work properly and have all the missing things appear i haven’t done anything. so sorry for wasting everybody’s time

  • [8.7.1] File doesn't open expected file in list

    10
    0 Votes
    10 Posts
    256 Views
    xomxX

    @Alan-Kilborn said in [8.7.1] File doesn't open expected file in list:

    In this case, even though files are being closed, they aren’t saved in the “recent files” list. There must be something in the code that prevents this from happening during closure via shutdown.

    https://github.com/notepad-plus-plus/notepad-plus-plus/blob/de1a04038b45df4e25f81f8bef1008b5a978106d/PowerEditor/src/NppBigSwitch.cpp#L2694

  • File does not exist.

    11
    0 Votes
    11 Posts
    663 Views
    Mark OlsonM

    BTW my HugeFiles plugin is more feature-rich and actively maintained than BigFiles.

  • How to remove this symbols from txt file

    10
    0 Votes
    10 Posts
    1k Views
    dr ramaanandD

    @mohammad-Al-Maaitah if your first and last symbol is symbol.PNGyou can type \x16.*?\x16 in the Find field, tick the regular expression mode, leave the Replace field empty and click Replace in files (to remove it from multiple files). That will help you get rid of all of those (and anything else in between). There are no spaces anywhere in the middle, so I am explaining the same to you

  • Can't find and replace text within multiple quotations

    6
    0 Votes
    6 Posts
    206 Views
    PeterJonesP

    Moderator restored the original post.

    Deleting a post after there have been replies is highly discouraged. There is nothing sensitive in the original post, so the post has been restored to maintain the history of this conversation:

    Don’t be embarrassed about having figured out the real problem: in internet help forums, there’s a whole category called “rubber duck debugging”, wherein just explaining the problem to someone else (ie, making your post) is enough to nudge your mind in the right direction, even without a reply – it’s nothing to be ashamed of. And thanks for letting us know you figured out your problem (so many times, people just go away after figuring it out, and never tell us whether we helped or whether we just acted as the rubber duck).

  • figuring how to create multiple pages on html for website

    2
    0 Votes
    2 Posts
    566 Views
    Terry RT

    @Pj-Doyle
    Your question seems to be related to html code and websites. Possibly you are using Notepad++ to generate this code, but as the issue isn’t really a Notepad++ issue you need to go to a HTML forum to get the answer.

    Can I refer you to this FAQ post here.

    Terry

  • 1 Votes
    5 Posts
    192 Views
    Alessandro PaceA

    @PeterJones Thank you so much these all worked perfectly!!

  • Add number in each line

    8
    0 Votes
    8 Posts
    695 Views
    Alan KilbornA

    @dr-ramaanand said in Add number in each line:

    please explain how to use the above RegEx

    I think the “explain” part was already done.
    But it isn’t a “RegEx”; it’s a syntax peculiar to the MutliReplace plugin.

  • Is there anyway to modify "Function List" font style and size?

    4
    1 Votes
    4 Posts
    159 Views
    PeterJonesP

    @Alberto-Casanova said in Is there anyway to modify "Function List" font style and size?:

    Maybe a mod or a plugin?

    I don’t think there is a way for a plugin to influence the font in a Notepad++-built-in panel.

    I’m not a plugin author, so I’m not sure; but as I’ve documented the plugin-communication messages, there isn’t a message which affects the font in that panel. However, there might be a clever programming trick that I’m not aware of to hack something like that. Someone with more plugin experience than I have would have to chime in.

  • Pinning of files on Notepad ++

    6
    1 Votes
    6 Posts
    637 Views
    Alan KilbornA

    @Sandeep-S

    …and I have recommended that issue be CLOSED, mainly because this idea was not taken up:

    supply some concrete ideas for change

    The suggestion made in the issue was for a way to disable the feature, not “pinning in a different way”.

  • I want ctrl-shift-tab and ctrl-tab activate tabs like browser

    2
    0 Votes
    2 Posts
    148 Views
    PeterJonesP

    @moyprofile said in I want ctrl-shift-tab and ctrl-tab activate tabs like browser:

    I want ctrl-shift-tab and ctrl-tab activate tabs like browser: ctrl-shift-tab should activate the tab left to the active, ctrl-tab should activate the tab right to the active.

    They do, plus by default it gives you two pieces of extra functionality as well:

    it also pops up a “Document Switcher”, so that you’ve got more feedback on where it’s going and what it’s doing, and it also gives “MRU” (most recently used) behavior, so that Ctrl+Tab, do something, then Ctrl+Tab again will take you back to the first tab, rather than blindly switching to some “next” tab

    Both of those extras are user-configurable in the Settings > Preferences > MISC > Document Switcher (Ctrl+TAB) section of the settings.

    the ☑ Enable checkbox will turn on and off the switcher; with the checkbox unchecked, it will go to the simple behavior you described; if checkmarked, it will allow the Doc Switcher to make your life easier. the ☑ Enable MRU behavior will make the Document Switcher cycle through in order of most-recent to least-recent, instead of going purely left-to-right. So if you want the Document Switcher, but want it to only allow left/right rather than remembering last-accessed-order, turn off this checkmark.

    This is all in the Online User Manual, as you can see from the links I provided.

  • replace \r\n with ' ' for lines enclosed in " "

    7
    0 Votes
    7 Posts
    380 Views
    guy038G

    Hello, @brenda-gross, @dr-ramaanand, @terry-r and All,

    @terry-r, your use of the search regex (?-si:"(?!\R)|(?!\A)\G)(?s-i:(?!").)*?\K(?-si:\R) is just clever, because :

    Any string may occur after the first " character ( the word Select or else )

    It ensure that, if the global replacement is re-run, no change will occur again, thanks to the negative look-ahead (?!\R) after the double-quote character

    Now, Terry, we still can tune this search regex !

    In all parts of this regex, alphabetic characters are not involved. So, we can omit the -i modifiers

    In the first and last part of this regex, the regex . character is not involved, too. Thus, we can omit the -s modifiers as well !

    We do not need the non-capturing group around the searched string \R, too

    Thus, the shortest syntax of the generic regex S/R is simply :

    FIND (?:"(?!\R)|(?!\A)\G)(?s:(?!").)*?\K\R

    REPLACE \x20

    Note that, if the OP speak of the smart quotes and , of Unicode value U+201C and U+201D, this regex S/R becomes :

    FIND (?:“(?!\R)|(?!\A)\G)(?s:(?!”).)*?\K\R

    REPLACE \x20

    So, @brenda-gross, just follow this road map :

    Open your file in Notepad++

    Add an empty line at the very beginning of your file, for security

    Hit the Ctrl + Home shortcut to move at the very beginning of your file ( IMPORTANT )

    Open the Replace dialog

    Uncheck all box options

    According to your case, use, either :

    FIND (?:"(?!\R)|(?!\A)\G)(?s:(?!").)*?\K\R

    FIND (?:“(?!\R)|(?!\A)\G)(?s:(?!”).)*?\K\R

    REPLACE \x20

    Select the Regular expression search mode

    Click, once only, on the Replace All button

    => All the lines between regular or smart quotes should be displayed in single lines !

    Now, if you want to get rid of these quote characters, at beginning and end of some lines :

    Move at the very beginning of your file ( IMPORTANT )

    Find ^"|"$    or    ^“|”$

    REPLACE Leave EMPTY

    Select the Regular expression search mode

    Click once on the Replace All button

    Best Regards,

    guy038