• File Status Auto-Detection, redux

    4
    0 Votes
    4 Posts
    449 Views
    Lycan ThropeL

    @Jay-Libove ,
    In addition to what @Alan-Kilborn has mentioned, some of my own tests with Notepad++ setup with Google Drive as a cloud install, showed a drastic difference in updating file contents and the times that it gets transferred.

    What I discovered, is that the local drive Google Drive is what had to be updated, not the network version of it, as until there was a connect between the desktop and the network Google Drive, no real updating occurred. Even with the connect being constant. My guess is that the desktop version didn’t make an update

    Whether OneDrive and Google Drive operate the same way, eveyone that I know that has tried a ‘live’ use of One Drive in the dBASE networking scheme has abandoned it, as it’s not really real time. Updates are sporadic and network connections get dropped and mess things up. Using a “storage” network drive as a real time data server seems to be purposefully unreliable. Just food for thought, in addition that I would never trust my data being stored on anything I don’t have direct physical control of.

    Had I not had to test out the cloud option of Notepad++, for those of our users that do use it, so I could test how to write an installer that copies files for our UDL to the cloud location of NPP, I would never have even tried this kind of use. I don’t trust my data to anyone else. At best, I use my Google Drive as a free FTP location to download the UDL installer from. :)

  • Displaying an image as the background of a webpage

    5
    0 Votes
    5 Posts
    6k Views
    PeterJonesP

    @Ku-Qiu said in Displaying an image as the background of a webpage:

    I am wondering whether ‘document list’ is the wrong thing to do.

    Yes, it is the wrong feature. Document List shows all the documents that are open in Notepad++. You don’t (normally) open image files in a text editor (because they aren’t text).

    But if you want the warm fuzzies of seeing a directory listing in Notepad++ that shows Icon.jpg so you can be more confident that it’s there, you could use the File > Open Folder As Workspace… (“FaW”) on the current directory, and that will give you a directory listing. Or you could View > Project Panels > Project Panel #, and create a new project in the workspace , then add that folder to the project. (But really, I think FaW is your best bet.)

    N++ User Manual: Folder as Workspace N++ User Manual: Project Panels

    that NPP can display this image as the background without going to find this image with a specific path.

    Notepad++ is a text editor. It doesn’t natively display images, and it does not natively render HTML for you. If you want to render HTML inside Notepad++, you can use the PreviewHTML plugin (available through Plugins > Plugins Admin). Or you could just use View > View Current File In > … and pick your favorite browser, which would then launch that browser with the saved version of the HTML page you are actively browsing.

    ----

    Ahh, your reply post shows that it appears that you are using PreviewHTML . You should have listed that among your assets.

    But still I am not sure whether document list is the best way for my intention

    Nope. (See above)

    I used to use Matlab.

    Using matrix math application for editing webpages? I’m confused.

    And they have a navigation pane on the left where you can put all the files you need in the ‘current folder’ so that only files in that folder can be used/run.

    Ah, maybe you were just talking about the UI concepts.

    No, you cannot limit what files your webpage will see based on what’s in some list in Notepad++. The webpage (and the HTML renderer in whatever plugin you are using) are Notepad++ agnostic: they don’t know, and don’t care, about anything that Notepad++ is doing (and it especially wouldn’t once you used a real browser to view the page, and/or published it to a webserver).

    But if you want to be able to see non-text filenames in a panel on the left, so that you can remember image filenames more easily, use the Folder As Workspace feature, not Document List.

  • Missing back and next buttons

    16
    1 Votes
    16 Posts
    786 Views
    Michael VincentM

    @Alan-Kilborn said in Missing back and next buttons:

    Maybe I was encouraging you to finish it up? :-)

    I wrote it in 2020 during the pandemic. I haven’t really touched it since. I’m pretty sure I’m done with it - whether it is actually done or not. :-)

    Cheers.

  • Few problems with User Defined Languages

    2
    0 Votes
    2 Posts
    619 Views
    PeterJonesP

    @Karlo-F,

    I change it like this: “Language -> Define your language…”, under “User language” I select “User Defined Language”
    Works fine until I restart N++. After restart there’s white text on black background again.

    I can’t find if there’s a way to save the changes.

    When creating a new UDL, you should always start with a “Save As” to give it a name that describes the filetype. If you don’t do that, Notepad++ will not save any settings you change. The “User Defined Language” in that listbox is not meant to be a permanent language, and Notepad++ doesn’t save changes made to that default UDL “name”.

    ab6bc9ab-c06d-4402-a787-873b30a67b96-image.png

    When I click on “Dock” button with localized caption, the text on the button is changed to “Undock” in English.
    There’s no “Undock” in localization .xml files.
    After clicking on the “Undock” button, the caption on the button is changed to “Dock” in English instead of localized text.

    I can confirm with v8.4.9 portable that the Dock/Undock move away from localization and use only-English once that button is used. Please read about how to create an official bug-report issue as described in our “FAQ: Feature Request and Bug Report” . Make sure when you create the issue that you don’t have the typo (you claimed v8.4.7 but your change.log in the screenshot showed v8.4.9), and that you paste a link to your issue in this conversation, so others here can follow your issue. I’d suggest naming the issue something like “UDL dock/undock button doesn’t follow localization” rather than a generic “few problems with User Defined Languages”.

  • Enter a standard text to every new file

    2
    0 Votes
    2 Posts
    200 Views
    Terry RT

    @Andi-Kok said in Enter a standard text to every new file:

    For example, i want to enter “hello world” in the beginning of every new file.

    There was an old post here that might have some relevant information to help you.

    Terry

  • Automatically showing all the properties of a tag

    3
    0 Votes
    3 Posts
    384 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Actually, HBuilder, bills itself as an HTML Integrated Development Environment (IDE), whereas Notepad++ bills itself as a source code editor and Notepad.exe replacement, IE just a text editor.

    That NPP can emulate an IDE to some extent with plugins and additional functions is the work of dedicated folks making it possible, and if the OP wishes to write an HTML IDE plugin for NPP, I’m sure it will be welcome. :)

  • How to set border in Notepad++

    3
    0 Votes
    3 Posts
    4k Views
    Ku QiuK

    @Terry-R Thank you very much for your comments! ‘Word Wrap’ seems work perfectly in this case!!

  • Using console without the 'NppExec' plugin installed

    3
    0 Votes
    3 Posts
    228 Views
    Alan KilbornA

    @Ku-Qiu

    If you want to use the NppExec console, the short answer is “you don’t”.

    If you are talking about some other “console”, you’d better explain more about what you mean.

  • How to change language?

    2
    0 Votes
    2 Posts
    168 Views
    Alan KilbornA

    @Ralph-Hulslander

    Isn’t this more of a computer usage question than a Notepad++ specific one?

  • Font settings on the bar

    3
    0 Votes
    3 Posts
    285 Views
    PeterJonesP

    @jack-benimble ,

    Because Notepad++ is a text editor, not a word processor, and font information isn’t embedded in text files. And as such, having a “change the font” would encourage people to try to use it to set the font of individual words, and mistakenly believe that they can somehow embed the font information in the text file.

  • Broken Dialog boxes

    6
    0 Votes
    6 Posts
    307 Views
    K XXK

    @Alan-Kilborn said in Broken Dialog boxes:

    e you noticed this same thing in 8.4.8

    yes, I believe that was the version i was on before the downgrade, I have uninstalled and reinstalled 8.4.9 and it is working.

  • Larger caret?

    6
    0 Votes
    6 Posts
    458 Views
    Alan KilbornA

    @thistlillo said:

    High-DPI are an issue with Notepad++

    Agree.

    I thought it would not be that hard to add, but I am clearly wrong.

    It would NOT be that hard to add, you just have to see if someone is interested in adding it, or contribute the change yourself and hope that the author is interested enough to accept the change.

    Or, use one of the alternatives I mentioned earlier.

  • 0 Votes
    4 Posts
    285 Views
    PeterJonesP

    @Mohamed-Mohamed ,

    The Find in Files feature that @Alan-Kilborn mentioned searches across multiple files. If your episodes are in separate files, then Find in Files is the way to search through all the episodes for the text. If you had tried it, it would have been pretty obvious whether or not it worked for you.

  • How to add autocomplete schema to NPP distro?

    11
    1 Votes
    11 Posts
    11k Views
    swegmikeS

    @Michael-Vincent Check my reply to your post, and follow the link, @PeterJones at that links said he’ll take a look at all your xsd and dtd files this weekend if you repond and attach your files. Be aware that you may need to change the file extension to txt and state so in the post since the drag and drop doesn’t recognize some file extensions.

  • 0 Votes
    32 Posts
    22k Views
    MM-JohnM

    Impressed that “5 years later” this thread and plugin again got attention. This plugin is exactly what I needed.

    The alternative plugin mentioned by @DaveyD in 2017, called “File Switcher, by Dave Brotherstone” no longer appears in my Plugin Admin (maybe I’m doing something wrong) so I’m glad I have this.

    [FYI: I found this plugin mentioned at https://community.notepad-plus-plus.org/topic/14375/search-open-file-name after searching the internet for “notepad++ search open tabs” and “notepad++ search open filenames”.]

    My problem is I have 31 tabs open and NavigateTo didnt see 2 of my tabs. Both are recently opened. But it does see fine another tab that was recently opened.

    One of the missing files is from a flash drive, flash drive then removed, npp asks me if I want to keep it and I say yes. But the other is regular file resident on local drive. And other files from the flash drive show up. And another new file I just loaded while writing this is correctly present in the NavigateTo list.

    I am using v.1.12.4.1 and my Notepad++ is at v8.3.3 which is not the latest.

    Possibly this fix released in v.1.12.6 that I don’t have yet fixes it: https://github.com/young-developer/nppNavigateTo/issues/15; Or my issue could be different/similar/related.

    I’ll update to the latest and try it again later when I have time.

    If it helps:
    Notepad++ v8.3.3 (64-bit)
    Build time : Mar 13 2022 - 17:20:02
    Path : C:\M***s\programs\npp.8.3.3.portable.x64\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : ON
    Cloud Config : OFF
    OS Name : Windows 10 Pro (64-bit)
    OS Version : 2009
    OS Build : 19044.1766
    Current ANSI codepage : 1252
    Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NavigateTo.dll NppConverter.dll NppExport.dll NppTextViz.dll NppXmlTreeviewPlugin.dll TakeNotes.dll XMLTools.dll

  • Move word with notpad++

    5
    0 Votes
    5 Posts
    600 Views
    faouzi satF

    @PeterJones said in Move word with notpad++:

    @faouzi-sat ,

    Here’s your freebie, since this was your first post. And I appreciate that you showed before-and-after data, even if you neglected the </> button to mark your text as plaintext. But as Terry was encouraging you, you will get better help (and learn more) if you put in more effort when asking for help.

    So, in Regular Expression search mode,

    : matches a literal colon \d+ matches one or more digits \. matches a literal dot/period/fullstop character putting () parentheses around an expression will save it in the next capture group number

    And in the replacement, $1 references the first capture group number.

    Putting that all together: put a colon and one or more digits in group#1 and the sequence of digits-dot-digits-dot-digits-dot-digits in group#2, and replace with group2-then-group1

    FIND = (:\d+) (\d+\.\d+\.\d+\.\d+) REPLACE = $2$1

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation

    Working !

    thanks

  • 0 Votes
    4 Posts
    556 Views
    guy038G

    Hello, @david-cummings, @alan-kilborn and All,

    Not difficult with regexes !

    So, let’s start with this INPUT text :

    406D69 NPT04S G-JMCH B734 West Atlantic UK -------- 25025 24450 1250 1250 30/01/2023 23:54:46 30/01/2023 23:59:31

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?x-s) ^ (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) | \x20+ -------- .+

    REPLACE (?1\1,\2,\3,\4,\5)

    Untick all box options

    Tick the Wrap around option

    Select the Regular expression serach mode

    Click on the Replace All button

    => You should get your expected OUTPUT text :

    406D69,NPT04S,G-JMCH,B734,West Atlantic UK

    If OK, I’ll explain you how it works, next time !

    Note that I use the Free Spacing mode (?x), in the search regex, in order to separate the main parts for a better comprehension

    Best Regards,

    guy038

  • Rendered markdown

    2
    0 Votes
    2 Posts
    344 Views
    PeterJonesP

    @SouthPole-Cat ,

    yes.

    In Notepad++ natively, no. But using the plugin MarkdownViewer++, a converter-and-renderer is embedded into your Notepad++ environment for you.

  • More Notepad++ resources

    2
    3 Votes
    2 Posts
    239 Views
    No one has replied
  • will notepad++ support macOS?

    5
    1 Votes
    5 Posts
    5k Views
    ArtOfficialIntelligenceA

    Hello from the future of 2023!

    Some ingenious and clever programmer created a cross platform clone of Notepad++ and is available on all major OSes including macOS.

    *Though the application overall is stable and usable, it should not be considered safe for critically important work.

    https://github.com/dail8859/NotepadNext

    Enjoy!