• Is it possible to add to the forum "select \ copy source code"

    9
    1 Votes
    9 Posts
    2k Views
    guy038G

    Hello @dail,

    I’m taking advantage of the fact that you’re on-line…, to tell you how your Elastic Tabstops plugin is magical ! Especially when using the Convert TabStops to Spaces option ! )

    It saves me quite a lot of time when making tables and I’ve just been using it to reformat a TSV file from my bank, which recapitulates all my operations of the last six months !

    BTW, would it be easy enough to add other characters than space chars, for the minimum padding between each field ?

    I mean, in the ElasticTabstops.ini file, instead of the default line padding 1, with the number of space chars, you would allow a string standing for all the padding zone. For instance, the string " | "

    With this new syntax, the | delimiter would be automatically inserted, with two space chars, between two fields of the table :-))

    Of course, the default padding would be " " ( 1 space char )

    What is your feeling about it ?

    Cheers,

    guy038

  • bug? find_in_selection

    9
    0 Votes
    9 Posts
    549 Views
    guy038G

    Hi, @alan-kilborn,

    Ah, yes I simply did a GitHub search with the criteria author:sasumner ! So, you’re right and I even found out the 6042 related issue !

    Thus, I’ve just updated my previous post

    Cheers,

    guy038

  • Session snapshot not working with 'Bookmarks@Dook' Plugin

    1
    0 Votes
    1 Posts
    275 Views
    No one has replied
  • 1 Votes
    11 Posts
    5k Views
  • Add "Count" button to a replace dialog

    3
    0 Votes
    3 Posts
    557 Views
    Alan KilbornA

    @andrecool-68 said in Add "Count" button to a replace dialog:

    I do not think that this is a big problem of duplicating this button.

    You must not be a software developer. :-)

    @Alex-3

    First, why do you think this is necessary? I don’t think it is. If you want to Count, switch to the Find tab. Is that a problem?

    Second, what do you want to count? Do you want the Count functionality as it is, or are you intending to count replacements made from, say a future Replace All ?

    If you actually do a Replace All, the status bar of the Find window will show you the count of replacements made. If you think, based upon that count, that the replacement you intended was not what you intended, you can always Undo.

  • "Find in files" special characters not working anymore

    8
    0 Votes
    8 Posts
    3k Views
    GregoriG

    Hello!
    I do not want to create a new topic because my problem is pretty much the same. But I would like to get a short answer, I’m not interested in the character coding stuff.

    So, I have a lot of .cpp files, all of them are ANSI and to my luck, each comment made in Korean language. For example, there is a comment: “ÇöŔç Ŕ§ÄˇżˇĽ­ »çżëÇŇ Ľö ľř˝Ŕ´Ď´Ů.”
    (This means “Not available at this location.” if I change the character encoding to Windows-949 but it is not important now.)

    Few notepad++ patches before I was able to search in my source files for special encoded characters, but nowadays I can’t.

    So my question is, what can I do to fix the search?

    I do not want to install an older version of notepad just because of this, but I think I must. What happened? Why not working correctly the search anymore? What can I do?

    Thank you in advance!

  • Is it possible...?

    14
    0 Votes
    14 Posts
    853 Views
    guy038G

    Hi, @dipsi7772 and All,

    You said :

    Strange thin is, on some files. just <!doctype html> this is the result.
    I would say al files are the same format , so Its mystious.

    It’s not strange and it’s not related to file format at all ! The reason, is that , for files with big size, it may happen that the regex does not work properly and deletes all characters but the first line of your HTML files. Indeed, as the regex is :

    (?s).*?(?-si:pass(word)?.*?>(.+?)(?=</div>))|.+

    The beginning (?s).*?(?-si:pass(word)? means that the regex engine selects all characters, even displayed on several lines, from current position of the caret till the first word pass or password. In some files, this range of characters can be significative and this fact could explain the non-expected results !

    If your HTML files are not important nor confidentiel, simply e-mail me one of these files, which produces errors. I’ll try to find out an other regex which works correctly, in all cases ;-))

    Next, you said :

    Is it maybe possible to implement a rule that avoids duplicate results?

    My question is : In the copied HTML files, that contains the passwords ( 1 per line ), which is the maximum length of these files ?

    Depending of this length, a regex solution may be possible… However, if you don’t mind changing the initial order of these passwords, just use, for each copied HTML file, the two menu options, below :

    Edit > Line Operations > Sort Line Lexicographically Ascending

    Edit > Line Operations > Remove Consecutive Duplicate Lines

    Finally, you said :

    Another thing is, even I choose “Automatischer Zeienumbruch” each line is writte ine ONE line, not in a second one which woud avoid the vertical scrolling.

    I’m sorry because I cannot guess what you’re speaking of :-(( Depending on your file ending characters, discussed previously, and using the appropriate Replace regex :

    \2\r\n for Windows files

    OR

    \2\n for Unix files

    The View > Word Wrap option should work correctly !?

    Best Regards,

    guy038

  • setting save location for note plugin in Notepad ++

    2
    0 Votes
    2 Posts
    797 Views
    Alan KilbornA

    @Susan-Amber-Bruce said in setting save location for note plugin in Notepad ++:

    it would be handy if this setting was available in settings and preferences.

    Plugins don’t (and can’t) use the normal Notepad++ Preferences UI.

    just a little elusive

    TBH, not at all

  • Notepad window collapsing

    6
    0 Votes
    6 Posts
    665 Views
    John PerryJ

    Thankyou for trying to solve this.

    As sugested, I have just now downloaded the notepad++ Zip package to my desktop system, extracted the files to a folder on the desktop and run the .exe and I get the same problem that I reported before. I have done that with both the 64bit and 32bit versions of notepad++, both show the same incorrect behaviour. I then checked notepad++ running on an Asus laptop computer, also with Windows 10, and the problem does not appear on that machine. So I guess the problem only occurs with some Windows 10 systems.

    With the desktop machine, I find that the problem does not occur if instead of clicking on Cut, Copy and Paste with the mouse I use the keyboard combinations ‘Ctl X’, ‘Ctl C’, ‘Ctl V’ so for me the answer for the time being at least is to use those keyboard combinations instead of the mouse.

    I dont know of anything unusual about my desktop computer which is working fine for all my other software. It does have two 2560x1600 pixel monitors connected to a single graphics card, but that has not been a problem with other software. I dont know if it helps but this is the system information summary, including for the display:

    System Information report written at: 12/21/19 15:38:12
    System Name: DESKTOP-UGQ9O4I
    [System Summary]

    Item Value
    OS Name Microsoft Windows 10 Home
    Version 10.0.18362 Build 18362
    Other OS Description Not Available
    OS Manufacturer Microsoft Corporation
    System Name DESKTOP-UGQ9O4I
    System Manufacturer ASUS
    System Model All Series
    System Type x64-based PC
    System SKU All
    Processor Intel® Core™ i7-4790K CPU @ 4.00GHz, 4001 Mhz, 4 Core(s), 8 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. 2902, 31/03/2016
    SMBIOS Version 2.8
    Embedded Controller Version 255.255
    BIOS Mode UEFI
    BaseBoard Manufacturer ASUSTeK COMPUTER INC.
    BaseBoard Product Z97-K
    BaseBoard Version Rev X.0x
    Platform Role Desktop
    Secure Boot State On
    PCR7 Configuration Binding Not Possible
    Windows Directory C:\WINDOWS
    System Directory C:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume2
    Locale United Kingdom
    Hardware Abstraction Layer Version = “10.0.18362.387”
    Username DESKTOP-UGQ9O4I\John_local
    Time Zone GMT Standard Time
    Installed Physical Memory (RAM) 16.0 GB
    Total Physical Memory 15.9 GB
    Available Physical Memory 9.66 GB
    Total Virtual Memory 18.3 GB
    Available Virtual Memory 10.4 GB
    Page File Space 2.38 GB
    Page File C:\pagefile.sys
    Kernel DMA Protection Off
    Virtualisation-based security Not enabled
    Device Encryption Support Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and the device is not Modern Standby, Un-allowed DMA-capable bus/device(s) detected, TPM is not usable
    Hyper-V - VM Monitor Mode Extensions Yes
    Hyper-V - Second Level Address Translation Extensions Yes
    Hyper-V - Virtualisation Enabled in Firmware Yes
    Hyper-V - Data Execution Protection Yes

    [Display]

    Item Value
    Name NVIDIA Quadro K2200
    PNP Device ID PCI\VEN_10DE&DEV_13BA&SUBSYS_109710DE&REV_A2\4&3834D97&0&0008
    Adapter Type Quadro K2200, NVIDIA compatible
    Adapter Description NVIDIA Quadro K2200
    Adapter RAM (1,048,576) bytes
    Installed Drivers C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_b7e5dd1387001335\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_b7e5dd1387001335\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_b7e5dd1387001335\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_ref_pubwu.inf_amd64_b7e5dd1387001335\nvldumdx.dll
    Driver Version 23.21.13.8816
    INF File oem23.inf (Section102 section)
    Colour Planes Not Available
    Colour Table Entries 4294967296
    Resolution 2560 x 1600 x 59 hertz
    Bits/Pixel 32
    Memory Address 0xF6000000-0xF70FFFFF
    Memory Address 0xE0000000-0xFEAFFFFF
    Memory Address 0xF0000000-0xF1FFFFFF
    I/O Port 0x0000E000-0x0000EFFF
    IRQ Channel IRQ 4294967291
    Driver C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\NV_REF_PUBWU.INF_AMD64_B7E5DD1387001335\NVLDDMKM.SYS (23.21.13.8816, 16.15 MB (16,936,560 bytes), 09/11/2017 09:53)

  • Context menu conundrum

    2
    1 Votes
    2 Posts
    230 Views
    ddloopingD

    Ok, got it, I was editing the “contextMenu.xml” in the “C:\Program Files (x86)\Notepad++” folder.
    I have now edited the one in “C:\Users\xxx\AppData\Roaming\Notepad++” and it’s working as expected. :)

    Thanks for reading nonetheless. ;)

  • Rename problem

    4
    0 Votes
    4 Posts
    256 Views
    PeterJonesP

    @Jack-Shankle ,

    The title of the page that Alan sent you to was “Request for Help without sufficient information to help you”; he didn’t send you there just so you could see the ```z-trick (which you implemented wrong, because you used a single-quote ’ rather than a backtick `).

    The reason he sent you there is because you have asked us for help, but not told us anything that will be useful in helping us-and-you to debug your problem. Until you give us something to go on, there is nothing for us to say, excepting, “I have tried to rename a file in Notepad++ 7.8.2 64-bit, and it has worked every time for me.” (Which, for me, is a true statement.)

    Unless you can describe your circumstances in enough detail that we can replicate your problem, there is nothing we can do to help you. What exactly did you do to try to rename the file? where is the file located? does that file require admin privileges, are you running notepad++ with admin privileges? All of these are questions that were asked in the FAQ; after reading that FAQ, we were hoping you would come back and give us some responses to those questions (including the full ? > Debug Info, not just the manually-summarized version info that you included).

    If you want help, give us details.

  • how many pages will print

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Where can I see how many pages will print if I print the document?

    In the paper tray.

    Sorry, that sounds like a snarky answer, but in Notepad++, it’s the technically-correct answer. Because of line-wrapping, WYSIWYG-printing-vs-not, etc, there isn’t just a simple formula that Notepad++ can use to determine how many actual pages will end up being printed, so it doesn’t even try.

    If you have a print-to-PDF printer defined in Windows (Microsoft often installs one with MS Office; or there are freeware alternatives, like PDFCreator provides), you can print to PDF first, which will then tell you the number of pages (and then you can either print again from Notepad++, but this time to paper; or you can print from your PDF viewer instead).

    These two already-existing issues are related to your request. If one or both of them are ever implemented, you would get the info you want “for free”. Unfortunately, with how old they are, the chances are they won’t be implemented.

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4236 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3610
  • Smart Highlighting - Multiline Support

    7
    0 Votes
    7 Posts
    1k Views
    Alan KilbornA

    @Joël-Sabourin-Poirier

    I do not want to permanently highlight them

    I think @Ekopalypse 's suggested method is actually better than Smart Highlighting for this purpose. And…it isn’t really permanent, you can clear it later.

    Plus you can make it really fast to implement and clear by using keyboard combinations rather than mousing through the menus.

    And the killer feature part: Even if Smart Highlighting did what you wanted, you couldn’t quickly navigate to far apart versions of the duplicate text sections, you’d have to visually look for them. With Eko’s method, and he pointed this out, you can quickly jump to the next occurrence, even if very far away from the original.

    I’m not a developer on Notepad++, but I really don’t see Smart Highlighting being changed to cross line-boundaries.

  • Telerik User Interface For NotePad++

    9
    -2 Votes
    9 Posts
    675 Views
    guy038G

    Hi, All,

    I’ve just banned that account, permanently

    BR

    guy038

  • 기뻐하며 waldheim33.com/first/ - 퍼스트카지노

    2
    -4 Votes
    2 Posts
    207 Views
    andrecool-68A

    Are there moderators on this project?
    Such users must be banned for life!

  • 1 Votes
    2 Posts
    280 Views
    Michael VincentM

    Probably not extending that prompt. But how about:

    Say no to the prompt - I don’t want to lose my changes Plugins => Compare => Diff since last Save Make edits / merges directly in Notepad++ Bob’s your uncle.

    Cheers.

  • Not organized file structure in a folder! 📂

    2
    0 Votes
    2 Posts
    293 Views
    PeterJonesP

    @Сергей-Друзь said in Not organized file structure in a folder! 📂:

    Why isn’t there a folder 📁 for each plugin

    Because the plugin authors chose not to use their own folder. Plenty of plugins (like PythonScript, NppFTP, and PreviewHTML) do use subfolders of the %AppData%\Notepad++\plugins\config folder; but there are also others (NppExec, MarkdownViewer++) that don’t.

    You would have to request an update from every individual plugin that doesn’t use its own sub-folder to get that to change. Good luck with that.

  • "Remember" Find/Replace window position?

    16
    1 Votes
    16 Posts
    819 Views
    Alan KilbornA

    This may be gaining some traction; see recent activity here.

  • Send File i-Mail

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @Eduard-castany said in Send File i-Mail:

    to do an action in a Files Menu

    In the Files menu? No.

    However, you can add something to the Run menu. If i-mail is some application found at c:\path\to\i-mail.exe, and you could send a file to i-mail by running c:\path\to\i-mail.exe --attach "d:\path\to\file", then

    Close all instances of Notepad++ and start one instance

    File > Open %AppData%\shortcuts.xml

    In the <UserDefinedCommands> section, add

    <Command name="send via i-mail" Ctrl="no" Alt="no" Shift="no" Key="0">"c:\path\to\i-mail.exe" --attach "$(FULL_CURRENT_PATH)"</Command>

    Save and close shortcuts.xml

    Exit Notepad++ and reload

    Run > send via i-mail should now work

    Of course, if it’s a different path, or need more or less arguments, you need to customize that example. Basically, you need to know the full command-line command to attach a file to i-mail, then you put that as the ___ in the <Command ...>___</Command>, using $(FULL_CURRENT_PATH) it the place of the filename; and if there’s a possibility of spaces in the path, put quotes around it.

    More documentation on <UserCommands> in the usermanual’s Config FIles doc

  • Add shortcut for closing unsaved file?

    9
    1 Votes
    9 Posts
    3k Views
    Steven GoslingS

    @PeterJones Thank you for letting me know. As I mentioned, this was so others searching for the topic would know that an update was available already.