• 0 Votes
    2 Posts
    597 Views

    @nnp729

    Have a look at >>> this thread <<<, the answers of @rddim and me are still valid.

  • Trying to avoid reload prompt

    Feb 10, 2021, 9:56 PM
    1 Votes
    2 Posts
    239 Views

    Npp uses ReadDirectoryChangesW to get notified when a file has been modified. I don’t think you can catch this message.
    Reopening might be the only solution I guess.

  • html, php and css

    Feb 10, 2021, 5:59 PM
    0 Votes
    3 Posts
    2k Views

    @Ana-Mendes ,

    Yum, cookies!

    You can use Notepad++ to type the valid HTML or PHP code that calls the appropriate CSS or included-PHP. The syntax for what those calls look like would be found on help sites for HTML, PHP, and/or CSS.

    This forum is about how to use the Notepad++ text editor – using its builtin and plugin features, finding the correct menu entry, etc. Specifics on coding (whether it’s HTML/PHP/CSS or C++ coding) aren’t on-topic for this forum, because we cannot be expected to be experts on every type of file that you might want to type.

    For example (and to explain my first statement), just because you’re typing your favorite chocolate chip cookie recipe using Notepad++ doesn’t mean that the members of this forum can tell you why they taste bitter. There might be someone here who knows, but it’s not the topic of the forum.

    If your question really is, “when I type code (insert example here) in Notepad++ and save the file as filename, my browser cannot read the file; but when I type the same code with microsoft windows’ builtin notepad app and save filename2”, then it’s on topic, because the difference is in how you are using Notepad++, not in what you are typing – if so, explain why you think it is on topic. But if you can type the same things in Notepad++ and in any other text editor, and you get the same end results, then the problem is obviously with what you typed, not with how you are using Notepad++ itself. Since this is a Notepad++ forum, then the answer to your question isn’t best found here.

  • 0 Votes
    5 Posts
    4k Views

    WORKS PERFECTLY, thanks !!

  • 0 Votes
    3 Posts
    759 Views

    @Robert-Lewis

    To elaborate on what Eko is meaning is that you would set up a compiler to run a compile on your source file, and produce output for you which would indicate your “unused variables” in an output window.

    Ideally the output window has clickable links which would take you to the point of the problem in your original source code.

    This would be a “manual run” kind of thing; if you were looking for something that would be an “as you type” solution, I think you’re out of luck.

    There is some good info in this vein to be found HERE.

  • Won't save

    Feb 4, 2021, 1:13 AM
    0 Votes
    3 Posts
    192 Views

    I suppose the OP isn’t coming back…but I believe this could have something to do with a bug in the SessionManager plugin, if that is used.

  • Mirror for npp-user-manual.org

    Feb 8, 2021, 6:35 PM
    0 Votes
    3 Posts
    217 Views

    @Ekopalypse Thanks! I didn’t think to check for it there.

  • 0 Votes
    3 Posts
    153 Views

    Sorry, just confirmed, the change log listed:

    Fix dockable panels not being displayed regression due to multi-instance mode activation. (Fix #9341 & #9363)

    According to #9491’s links, #9341’s fix is included in v7.9.3, and the comments on #9491 say that the fix will also fix the session / Document List Panel interaction.

  • I don't uderstand "folder Backup"...

    Feb 8, 2021, 4:40 PM
    0 Votes
    5 Posts
    1k Views

    (I have two laptops with Win 10. The XP is used for testing)

  • CSS Syntax Highlighting

    Feb 9, 2021, 1:12 PM
    0 Votes
    2 Posts
    200 Views

    Sorry, figured it out. There was a really old langs.xml file in my Users{username}\AppData\Roaming\Notepad++ folder that was being used. All sorted now.

  • 1 Votes
    8 Posts
    413 Views
  • 0 Votes
    2 Posts
    285 Views

    @Rafael-Fontan

    Afaik there is no builtin way to assign new documents to an UDL.
    Solution are possible by using scripting language plugins.
    Let us know if you want to go this way.

  • 0 Votes
    2 Posts
    236 Views

    Hi @Harold-Vogelaar

    Did you try to add the argument --profile-directory to your call to chrome? Something like: chrome --profile-directory=&quot;<your_profile_folder>&quot; &quot;$(FULL_CURRENT_PATH)&quot;

    You can find the actual name of your profile folder by opening Chrome and entering chrome://version in the search bar. The end of the string Profile Path is your profile folder (perhaps is something like “Profile 2” because they don’t usually match the actual name of your profile).

  • 0 Votes
    4 Posts
    672 Views

    Thanks for the information! This explains it all now.

  • 0 Votes
    2 Posts
    142 Views

    @Günter-Dierks ,

    Yes, you are right. v7.9.1 and earlier turned off line-number printing just fine, but v7.9.2 always prints the line numbers, ignoring that setting.

    It looks like Don already fixed it, so the next version (v7.9.3) should work again, once that gets released.

    Until then, you can either install v7.9.1, or just live with the line numbers in your printing.

  • 0 Votes
    2 Posts
    1k Views

    @Terry-Musser,

    Sorry that’s happening to you. Windows 10 is annoyingly difficult to get stable file associations in. The NPP developers do their best to set the right registry settings, but sometimes there is a buried entry that gets in the way.

    this recent discussion talks some about registry locations that might be interfering with the association attempts – especially my final post. That might give you some pointers where to look next.

  • Notepad and latexml

    Feb 6, 2021, 5:30 PM
    0 Votes
    2 Posts
    196 Views

    @Klaus-Lang said in Notepad and latexml:

    Is notepad the culprit?

    A warning, you said “notepad” throughout your question. Notepad is a Microsoft application that ships with Windows OS. Notepad++ is a standalone open-source application that we discuss here. They are two separate applications, despite sharing some letters in the name. If you are really asking about the editor that ships with the Windows OS, then this forum is not the right place for help.

    I doubt that your text editor is the culprit in the above scenerio – firstly, because text editors (whether wimpy ones like MS Notepad, or great and powerful editors like Notepad++) are really good at editing text and asking Windows to save the file to disk. My guess is that your problem lies with your sequence of events, or things aren’t in the state you seem to think they are.

    If you are really using the Notepad++ editor, and you think that the culprit really is the Notepad++ editor, please more fully describe your sequence of events, being careful with the details (like not confusing Notepad with Notepad++) and the exact sequence of events.

  • Keep certain blocks of text

    Feb 6, 2021, 2:53 PM
    0 Votes
    2 Posts
    268 Views

    @737simpilot ,

    No plugin, specifically. But I think your goal can be met with the regular expression searching (regex) and bookmarking built into Notepad++.

    It’s hard to tell exactly how bad your text has been mangled by the forum (use the </> button when making your post to make sure the text is treated as plain text, rather than being in forum markdown), which might influence the exact makeup of the regex. But my first guess for a solution, assuming it’s always exactly 8 lines in the match, and that the port always has to say exacty 53/tcp open cwmp on the eighth line.

    Search > Mark FIND WHAT = ^Nmap scan report for(.*\R){7}^53/tcp open cwmp start of line, the literal text Nmap scan report for, followed by 7 instances of anything up to the newline sequence, followed by exactly 53/tcp open cwmp Search Mode = regular expression enable ☑ Bookmark Line click Clear all marks if you already have previous bookmarks that you want to get rid of click Mark All

    What you do next depends on what you want to do with the matching data.

    If you want all the matching data in the Windows clipboard to paste somewhere else, Copy Marked Text in the dialog, and paste it wherever you want If you want to delete everything that’s not a matching section, then go to the Search menu, then the Bookmark > submenu, and Remove Unbookmarked Lines That **Search > Bookmark > ** submenu has many other options for manipulating the bookmarked

    For more info on bookmarking, see https://npp-user-manual.org/docs/searching/#highlighting-and-bookmarking

    Example Data (using the formatting hint from above, also mentioned in the footnote at the bottom):

    Nmap scan report for such*such.net (12.3.4) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp filtered cwmp Nmap scan report for such&such.com (4.3.2.1) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp open cwmp Nmap scan report for such*such.net (12.3.4) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp filtered cwmp Nmap scan report for such&such.com (4.3.2.1) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp closed so don't match Nmap scan report for such*such.net (12.3.4) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp filtered cwmp Nmap scan report for such&such.com (4.3.2.1) Host is up (0.14s latency). PORT STATE SERVICE 53/tcp open cwmp

    In this example, I believe you want the first 8 lines and the last 8 lines to match, but not the center 8 lines.
    For me, it does match:
    a660329c-6fae-4a36-aa2d-6bdceab16033-image.png

    If this isn’t sufficient for you, please follow the advice below and clarify.

    ----

    Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as literal text using the </> toolbar button or manual Markdown syntax. To make regex in red (and so they keep their special characters like *), use backticks, like `^.*?blah.*?\z`. Screenshots can be pasted from the clipboard to your post using Ctrl+V to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get. Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.

  • Link on Html page

    Feb 6, 2021, 1:53 PM
    0 Votes
    2 Posts
    175 Views

    @FANT-OME ,

    I would like to insert a link which, when I click on it, takes me to a sentence on my page

    If you mean, “I want to insert in my HTML source code a link which, when I click on it while viewing the file in my browser, takes me to a sentence on my page in the browser”, that’s an HTML question, and off-topic here (but I will give you the hint to search the web for documentation on how to create HTML anchors 🛈 and how to link to anchors 🛈 – that’s pretty basic HTML technology, and quite well documented)

    If you mean, "I want to insert a link which, when I click on it inside the Notepad++ editor window, takes me to a sentence on my page inside the Notepad++ editor window so that I can edit there, then I’m sorry to say, there is no built-in way of doing that. There are things you can do in a plugin (either purpose-written, or one of the generic scripting plugins like PythonScript). If you choose to go down that route, but need some pointers in the right direction, you can show what you’ve tried and we can give you some help.

  • 0 Votes
    4 Posts
    3k Views

    Thank you for insight guys! I guess I’ll be paying attention to what type of file I am saving Ha ha ha. Cheers!