• the result get from Nppexec is different from cmd

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Shortcut to replace all in replace dialog no longer works

    Locked
    5
    0 Votes
    5 Posts
    5k Views
    Scott SumnerS

    @Darius-Damalakas

    It appears that between 7.2 and 7.2.1 the “FInd All In Current Document” was assigned Alt+A as a keyboard- accelerator. This appears to be a duplicate assignment, since as you point out, the “Replace All” button has the “A” underlined. When you press Alt+A, the software finds the “Find All in Curr Doc” binding first and invokes that. The technique I linked to earlier should allow you to fix this.

    Regarding “resort(ing) to such magic…”, I guess the positive takeaway is that you can fix such things yourself without waiting on someone else to do it. And for some people that stretch Notepad++ to its utter limits, the “magic” is sometimes indispensable. :-)

  • saving files in notepad++

    Locked
    3
    0 Votes
    3 Posts
    6k Views
    Scott SumnerS

    @garyknott

    You can find a Notepad++ manual here: http://docs.notepad-plus-plus.org/index.php/NP%2B%2B_Guides

    I (re)found this by googling “Notepad++ manual” – not so difficult. :-)

  • Automatically open files and files in subfolders

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to show NPP Export Window

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Running a macro on all open docs

    Locked
    4
    0 Votes
    4 Posts
    7k Views
    Andy BayleyA

    Thanks for the reply! The individual files are XML order files and have lines which include the number of orders in that particular file. Merging them all into one wouldn’t be ideal without being able to extract them all after - possibly using a custom header as you mention. Ideally, the files also need to retain their filenames.

  • 0 Votes
    2 Posts
    2k Views
    cmeriauxC

    Please, provide debug info.
    Try to do a fresh install

  • Installation of plugins with Notepad ++ 64 bit

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    chcgC

    switch to 64 bit for the plugins is just on the way and expected to last some time, e.g. see the description of the compare plugin at github https://github.com/jsleroy/compare-plugin and the latest CI build at https://ci.appveyor.com/project/jsleroy/compare-plugin/build/1.5.7.101 , but that is not mainstream read to use, similar the pluginmanager for x64 at https://github.com/bruderstein/nppPluginManager/tree/x64

    So for N++ usage with plugins 32 bit is still the default for some time.

  • Hidden Fields

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Kacee GrubbK

    Yes I’m using Notepad++. I think I may have figured out the issue though.

  • Functionlist - Different results with different line endings

    5
    0 Votes
    5 Posts
    6k Views
    Bernd Peters-HagemannB

    Many thanks for your solution. Your Parser works fine.

    It also gives me a lot of stuff to study. I never heard of Pattern Modifiers before. I looked for Pattern Modifiers and found a tutorial on regular-expressions.info. I’ll try to work it through and learn more about Regular Expressions.

    Sincerely Bernd

  • Notepad++ can't handle a 10MB text file

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    glossarG

    Dail - Thank you! I’ve disabled this “snapshots and periodic backups” feature. I don’t use Auto-Completion, so it is already disabled. And for the 64bit version, there are no extra plugins to be installed anyway, except those few installed by default. Still I could, or would want to, uninstall the “Converter” and “MIME Tools”, if needed.

    Guy038 - Thank you! Your numbers are amazing! I’ve now disabled the word wrap feature as well.

    I hope I don’t encounter the problem anymore.

    Again, thank you both!

  • Help needed :) Automate deleting number and spacing

    5
    0 Votes
    5 Posts
    3k Views
    guy038G

    Hello Nazrulsyah Firaz Fauzee Andylim, Peter Jones and All

    If I fully understand the problem, your first line begins with one or more digits, followed by any spacing, followed by two time values, each of them, separated by a space and written with the template HH:MM:SS:CC ( CC = hundredth of second , from 00 to 99 )

    And you would like to delete the first number, at beginning of each line, containing the templates HH:MM:SS:CC, on 62 files, wouldn’t you ? If so :

    Backup your 62 TXT files, as the same 62 SRT files ( IMPORTANT )

    Open the Find in files dialog ( Ctrl + Shift + F )

    In the Find What : zone, type ^\d+\h+(?=\d\d:\d\d:\d\d:\d\d)

    Leave the Replace with : zone EMPTY

    In the Filters zone, type *.SRT

    In the Directory zone, type the absolute location of these 62 SRT files

    Select the Regular expression search mode

    Uncheck, if necessary, the In all sub-folders and In hidden folders options

    Click on the Replace in Files button and click on the OK button to valid that S/R

    Et voilà !

    Remark : If anything goes wrong, NO panic : just, delete the 62 SRT files, as you STILL get the 62 original TXT files :-)

    For instance, from the text below :

    2 15:25:23:80 15:25:25:37 Blah, blah Blah, blah Blah, blah ......... ......... 7 10:00:01:00 10:00:02:07 When I was a child, I used to go, 2 times per week, to Mr Parker's work-shop to contemplate, with fascination, all the automatons, build by the old man. More than 1 hundred, with their sparkling colours, lay on numerous shelves... ......... ......... 11 03:07:59:77 03:08:01:13 more than one line in the SRT goes here

    you would obtain, the replaced text below :

    15:25:23:80 15:25:25:37 Blah, blah Blah, blah Blah, blah ......... ......... 10:00:01:00 10:00:02:07 When I was a child, I used to go, 2 times per week, to Mr Parker's work-shop to contemplate, with fascination, all the automatons, build by the old man. More than 1 hundred, with their sparkling colours, lay on numerous shelves... ......... ......... 03:07:59:77 03:08:01:13 more than one line in the SRT goes here

    Notes :

    Only, the three numbers 2, 7 and 11, at beginning of lines, and the following spacing characters, are deleted

    Luckily, the lines, which begin with a number, but not followed by a template, of the form HH:MM:SS:CC, remain unchanged !

    From beginning of line ( ^ ), the regex engine looks for a non null range of digits ( \d+ ), followed by some non null spacing characters ( \h+ ).

    Then, due to the syntax (?=\d\d:\d\d:\d\d:\d\d), named a positive look-ahead, the regex engine, verifies that, at cursor position, a time value, with the template HH:MM:SS:CC can be found. If so, the overall regex matches that initial number and the spacing, after it.

    And, as the Replace zone is EMPTY, it’s , simply, deleted, from the file’s contents

    Best Regards,

    guy038

    P.S. :

    BTW, are my two sentences, at middle of the text, looks like “fair” English prose ?!

  • 1 Votes
    1 Posts
    2k Views
    No one has replied
  • Plugin to let you preview BBcode?

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    PeterJonesP

    If it were me wanting to preview BBCode, I would use the Preview HTML plugin, which by default renders HTML… But it allows you to define a filter to run an external converter to convert from language “X” to HTML. Thus, I’ve got mine set up to convert Markdown and Perl’s POD documentation-markup to HTML.

    ; Content of Filters.ini file [Markdown] Extension=.md .markdown Language=Markdown Command=c:\perl\site\bin\multimarkdown.bat "%1" [PerlPOD] Extension=.pm .pod .pl Language=Perl Command=c:\perl\bin\pod2html_clean.bat -css=c:\perl\bin\pod2html.css "%1"

    If you can find a BBCode to HTML converter (I did a quick google, and saw some promising links, but I know nothing about it, so cannot evaluate the converters themselves). On my computer, I would probably grab a Perl module that does the conversion, like HTML::BBCode or Parse::BBCode, write a quick script to use the perl module to convert a BBCode file to HTML, and use that converter script up as the Command in a PreviewHTML Filter Definition:

    [BBCode] Extension=.bbcode .bbc Language=BBCode Command=c:\batch\bbcode2html.bat "%1"

    (One caveat on the Preview HTML plugin: the Notepad++ Installer seems to think it’s an “unstable” plugin, and disables it every time NPP upgrades. However, I have never seen Preview HTML crash NPP, so I don’t know why the installer claims that it is unstable. It might be one of those situations, discovered recently, where an earlier plugin in your plugin list gets incorrectly blamed for a later plugin’s crash, but I have no way of proving that. I just move the PreviewHTML.dll back into the main plugins directory from plugins\disabled after every upgrade.)

  • features of notepad++

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Hi there

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Saad MuhammadS

    @Martin-Kaymer-Blake said:

    How do I use notepad ++ to compare 2 or more files and highlight or get an output of difference between these files?

    Install notepad++ on your PC and follow the instructions below:
    STEP 1- Go to files and then open the files you want to compare.
    STEP 2- Go to plugin > plugin manager > show plugin manager > available > compare.
    STEP 3- After that, both files you wanted to compare will be shown side by side on your screen and you will see the difference highlighted.

    Tips: You can also use Winmerge software to compare two text files.

  • future features of notepad++

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Folder as Workspace pane a pain every launch

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Margin fold collapsing for code blocks - Visual Studio Style

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    PhilCxP

    Apparently, this is indeed a Scintilla issue. I found via Google search, a feature request thread titled “Fold { on relevant line”.
    https://sourceforge.net/p/scintilla/feature-requests/8/?page=0

    Note that this request is request number eight (8) and the date is fifteen (15) years ago! When an open request in a list currently numbering in four digits is numbered with a single digit, you can probably deduce no solution is likely anytime soon.

    Seems to me the only general solution for scintilla is to trigger fold start on the list of “foldable” language structures, and base fold ends on a multiline regex pattern that encompasses the language syntax definition of the structure. (That is, the one the language parser understands)

  • Defined Language "if" highlighting within words

    7
    0 Votes
    7 Posts
    5k Views
    Ashok KumarA

    please shift the folders open & close codes from code1 to code2
    e.g.
    <Keywords name=“Folders in code1, open”>if for</Keywords>
    <Keywords name=“Folders in code1, close”>endif enfor</Keywords>
    <Keywords name=“Folders in code2, open”></Keywords>
    <Keywords name=“Folders in code2, close”></Keywords>
    should be
    <Keywords name=“Folders in code1, open”></Keywords>
    <Keywords name=“Folders in code1, close”></Keywords>
    <Keywords name=“Folders in code2, open”>if for</Keywords>
    <Keywords name=“Folders in code2, close”>endif enfor</Keywords>