• Help wanted with REGEX Search

    10
    0 Votes
    10 Posts
    1k Views
    IanChaykowskiI

    @peterjones said in Help wanted with REGEX Search:

    $1:L P[$2] WELD_SPEED FINE\r\n: Weld End[1,1];

    That worked beautifully, thanks so much

  • How do I toggle block comment?

    4
    0 Votes
    4 Posts
    439 Views
    nutnutwinN

    @ekopalypse

    Where do you see an advantage in using block comments over line comments?

    A very refreshing point indeed…
    Yes for many language with decent single line comment it is totally fine
    while for Markdown for example, only block comment is properly defined

    <!-- your comment -->

    the built-in markdown use “#” for single line comment, which is reserved for paragraphs in markdown

    Yes I can change to to like “//”, but is not compatible when I open the file in other Editors, say, VSCode.

    Thank you.

  • How do I always open txt with certain Syntax(eg. Markdown

    3
    0 Votes
    3 Posts
    713 Views
    nutnutwinN

    @peterjones

    Thank you so much! it worked

  • Several plugins not getting installed in 8.3.2 32-bit with hash incorrect

    3
    0 Votes
    3 Posts
    4k Views
    rdipardoR

    @bill-nardone,

    Plugins : combine.dll [ . . . ]

    That must be from a previous installation: the hosting domain for that plugin was taken down a month ago: https://community.notepad-plus-plus.org/topic/22645/combine-plugin-gone/7

  • turkish characters problem

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @ogün-kovan

    https://community.notepad-plus-plus.org/topic/22636/debug-info-dialog-what-does-current-ansi-codepage-mean/5

    Those links are focused on changing the codepage to UTF8 (65001)… but should be able to work for changing to 1254 as well.

  • No more autocomplete

    6
    0 Votes
    6 Posts
    634 Views
    Magnus WillattsM

    @peterjones Will do, cheers.

  • Notepad++ crashes, by opening more than x files at the same time

    5
    1 Votes
    5 Posts
    1k Views
    PeterJonesP

    @luca-cavandoli said in Notepad++ crashes, by opening more than x files at the same time:

    NPP with -noPlugin per default

    That’s not the right long-term solution. To be able to do that, you would have to edit one or more entries in your registry; since you’ve got definite problems, I would not recommend doing that, unless you know what you’re doing. (And, to be blunt, if you knew enough for it to be safe for you to edit your registry, you wouldn’t be asking how to run a program with a specific command line option by default.)

    The right long-term solution is to uninstall the plugin or plugins that are causing the problem, after which point Notepad++ will load properly.

    Anyway I temporarily deleted all the plugins in the plugin folder and it still crashes, so I don’t think it’s caused by any plugin.

    I am dubious. Are you sure you don’t have multiple copies of Notepad++ lying around, and you deleted the plugins from one but it’s actually a different one that’s trying to run? And are you sure you deleted/renamed the actual plugins (the folder(s) containing the DLLs, that is, C:\Program Files\Notepad++\plugins\), not just the %AppData%\Notepad++\Plugins directory (probably c:\users\username\AppData\Roaming\Notepad++\Plugins), which should only contain the configurations for plugins, not the plugin DLLs themselves?

    Could you show us the updated Debug Info after you are confident that the plugins are really out of the picture?

    It crashes when opening more than 2 files btw, 2 files at the same time works fine.

    I have never seen that happen. What is the exact sequence of events you are taking that leads to this?

    Command Line : “C:\01 Projects\00_SCS-PFA\00_SVN\Trunk\Packages\R2.x.x\4_Tools\eData_v3.5\Templates\Param\MM_AP001_L_S1.scl”

    Given the length of the filename on your command line, I wonder if when you are selecting 3 or more files, whether the total length of the command line is too long for Windows to deal with (Windows has some length limitations in the “verb action” interface). If you select each of the files one-at-a-time and open them with Notepad++, does it load those same files properly?

  • Changing the color of a single letter with a UDL

    4
    0 Votes
    4 Posts
    294 Views
    EkopalypseE

    @perniculous

    seems to work for me

    e63c9103-c539-41cc-95a4-90fdd6041bde-image.png

    Are you sure that it is not part of other styling parts?

  • Notepad ++ 8.3.2

    2
    1 Votes
    2 Posts
    173 Views
    PeterJonesP

    @amogh-datar ,

    You probably have one or more incompatible plugins (v8.3 and newer have a change that makes it incompatible with many/most plugins that used to work with v8.2.1 and earlier).

    Assuming your Notepad++ is in c:\program files\notepad++, then rename c:\program files\notepad++\plugins to something else, then try re-running notepad++.

  • Convert Case to option greyed out

    3
    0 Votes
    3 Posts
    389 Views
    guy038G

    Hello, @michael-vincent,

    Should be obvious, anyway !

    BR

    guy038

  • Is it possible to use regex to achieve this?

    16
    0 Votes
    16 Posts
    2k Views
    Neil SchipperN

    @guy038 said:

    \A … works properly ONLY SINCE the 7.9.1 N++ release

    Thanks, good to know. (I probably skimmed that factoid in the past but it wouldn’t have made an impression on me since I’m a novice user of \A.)

    Refer also at the end of this topic

    Those posts don’t say how \A behavior changed, and I’m not inclined to chase down and crawl through the Boost doc versions or developer issue discussions and commit comments to find out! If you happen to know, maybe share a sentence or two about how it behaved prior to 7.9.1, or link to something (brief!) where one can get a user-level idea of it.

  • Find in files - find extensionless files

    4
    0 Votes
    4 Posts
    839 Views
    PeterJonesP

    @dada-a said in Find in files - find extensionless files:

    Is there a way to achieve exclude all files with extensions?

    What you want to exclude are all files that have at least one character after the extension. But *.* matches zero-or-more characters after the extension, so !*.* excludes all files, with or without extension.

    If you want to guarantee that it excludes only files with at least one character after the extension, use !*.?*, where the ? matches one character, and the * after it matches zero or more characters in the extension.

    So the full Filters setting of *.* !*.?* (or !*.?* if you’re on Notepad++ v7.8.7 or later) will only match files that have no extension.

    https://npp-user-manual.org/docs/searching/#find-in-files-tab
  • How to change default tab name

    5
    0 Votes
    5 Posts
    2k Views
    Richard NurseR

    Wonderful, thank you everyone! :)

    Kind Regards

  • Tabs are floating after upgrade to 7.9.5

    11
    0 Votes
    11 Posts
    2k Views
    Qamar4PQ

    Just hide it by resizing the editor window to the left, right, top, bottom. Exit and reopen it will remember the bigger window.

  • Saving rolled text

    2
    0 Votes
    2 Posts
    221 Views
    PeterJonesP

    @araders ,

    Notepad++ doesn’t store folding information when it exits, because it cannot guarantee that the file won’t have changed the next time it loads (which might be confusing or worse if it folded on the same line numbers as it did before).

    That said, back in this old discussion, I published a pair of scripts that will save the line numbers where folding occurs, and reload that folding on demand. it will only work if the file doesn’t change between the save and the load. To use that script, install the PythonScript plugin, then use that plugin to create two scripts, with the contents of the scripts from that other discussion; then run the individual scripts to save or load the folding from the CSV file.

  • How to delete "(....)" but only in certain lines

    13
    0 Votes
    13 Posts
    1k Views
    guy038G

    Hello, @peterjones,

    After further testing, I came to the conclusion to keep the present syntax (?\A). Refer to this post for some explanations :

    https://community.notepad-plus-plus.org/post/74937

    So, sorry for the noise. I’m going to reformat most of my notes, concerning this specific regex.

    Then I will send it to you by mail for checking before finding a final destination for it !

    Cheers,

    guy038

  • Replacing variable length file paths in a GEDCOM file

    44
    2 Votes
    44 Posts
    2k Views
    Web MasterW

    @paul-wormer The replacement string is constant so it’s a one-time entry into the expression the guys have devised for me.

  • how to add *cs before.xml

    6
    0 Votes
    6 Posts
    293 Views
    aff mA

    @alan-kilborn

    thank you. I followed your example and saved it .

  • Replacing different values with one value

    5
    0 Votes
    5 Posts
    1k Views
    2 mins Summary2

    @alan-kilborn I really appreciate it
    God bless you
    you made my day

  • How to replace multiple "variables" vs a template

    4
    0 Votes
    4 Posts
    2k Views
    Alan KilbornA

    @michael-vincent said in How to replace multiple "variables" vs a template:

    conf\nconf

    And you’d want to be careful about what type of “newlines” you put in; specifically on Windows you are likely to want \r\n instead of \n.