• Continued prompting that file does not exist

    Locked
    2
    2 Votes
    2 Posts
    667 Views
    EkopalypseE

    @sbaumann-hm
    happens with portable version as well but seems to be already addressed

  • 1 Votes
    7 Posts
    5k Views
    EkopalypseE

    @PeterJones

    Looks like this works if the number of selected rows are equal to the the number of selections from the editor. Tested with LibreOffice Calc.

    import ctypes def custom_paste(): if ctypes.windll.user32.OpenClipboard(None): try: clipboard_handle = ctypes.windll.user32.GetClipboardData(1) if clipboard_handle: pointer_to_content = ctypes.windll.kernel32.GlobalLock(clipboard_handle) clipboard_data = ctypes.c_char_p(pointer_to_content).value ctypes.windll.kernel32.GlobalUnlock(clipboard_handle) else: raise ValueError('Invalid clipboard handle') except Exception as e: print('Error', e.message) return finally: # ensures that clipboard will be closed even in case of an exception ctypes.windll.user32.CloseClipboard() # there was no exception - start replacing targets lines = clipboard_data.splitlines() if len(lines) == editor.getSelections(): for i, line in enumerate(lines): editor.setTarget(editor.getSelectionNStart(i), editor.getSelectionNEnd(i)) editor.replaceTarget(line) else: print('Unable to open the clipboard - try again later') custom_paste()
  • Highlighting all found words on a search

    Locked
    2
    2 Votes
    2 Posts
    563 Views
    Alan KilbornA

    @jose-isaias-cabrera

    That’s what the Mark feature is built for. See the Mark tab in the Find dialog window.

  • Add more themes (suggestion)

    7
    0 Votes
    7 Posts
    2k Views
    EkopalypseE

    @Meta-Chuh

    I’m already barking the moon :-)

  • Add "Yes/No to all" for Save and other dialogs

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    welcome to the notepad++ community, @ricktendo

    this is a nice idea.

    if you would like to file a feature request, please read and follow our community’s official guide on
    how to submit a feature request here: >>> FAQ Desk: Feature Request or Bug Report <<<

    workaround for the meanwhile:

    go to settings > preferences > backup and make sure you have remember current session for next launch and enable session snapshot and periodic backup enabled, as seen at the screenshot below:

    settings - auto backup

    next close notepad++, regardless of how many files are opened or if some of them are saved or not.
    unsaved files are now automatically saved to %AppData%\Notepad++\backup every 7 seconds without altering the original file location.
    (disclaimer: “unsaved files are now automatically saved” applies, as long as you don’t experience a power loss, any hardware failure, or an unpredicted windows update reboot)

    now delete all files that you want to delete.

    open up notepad++ again, and only documents that still exist will be re-opened, including any unsaved changes from the last session, with no further alerts or dialogues.

    basic guide:
    don’t minimise notepad++ if you don’t use it and you are conducting file operations like deletion or renaming. close it instead.
    as long as you have remember current session for next launch and enable session snapshot and periodic backup enabled, everything that still exists will be re-opened, including yet unsaved data.
    (disclaimer: “including yet unsaved data” applies, as long as you don’t experience a power loss, any hardware failure, or an unpredicted windows update reboot)

    additional notes:
    @SinghRajenM has recently committed a feature that will allow us to disable all file status checking, except for the current foreground tab, which might also apply to some of your needs, as it minimises all file status change reports to your currently active tab (see settings screenshot).
    this feature commit is currently queued in the pull requests, for possible implementation into future notepad++ versions.

  • [Request]: Open Language(s) Folder...

    Locked
    15
    1 Votes
    15 Posts
    2k Views
    Meta ChuhM

    @PeterJones

    so you don’t need to remember my portable-only nature.

    it’s futile to try to prevent me from that … so resistance is futile 🖖😈🤚

    happy? I’ve had my second embarrassment in this thread now.

    thank god … vive l’egalite 😂😂😂

    ps: i just tried it and moved $(NPP_DIRECTORY)\autoCompletion to %AppData%\Notepad++\autoCompletion, and it gets completely ignored.
    so currently $(NPP_DIRECTORY)\autoCompletion is the only valid location.
    (i didn’t know that before)

    @rddim

    today seems to be a day of new knowledge for all of us 😉👍

  • auto-ident function in html page

    10
    0 Votes
    10 Posts
    13k Views
    Meta ChuhM

    a little update:

    here’s an answer about <br> in conjunction with the xml tools auto indentation (pretty print) taken from here, in order to not leave behind a solved, but unanswered, topic. (it would otherwise hurt my eyes on a monday morning ;-) )

    sorry about not replying to your other thread about <br> yet.
    i did not find any workaround using xml tools with an unclosed <br> yet.

    the only way i got auto indentation to work is by using a self closing <br/> instead.
    unfortunately many coders use <br> instead of <br/> since it is also valid.

    so until anyone finds any workaround for the xml tools auto indentation, or has a better alternative plugin, which is available for x64, you would have to replace all <br> with <br/>.

    response from @Adriano-Ellero :

    thanks I did on that way <br />
    all browsers accept that!

  • 0 Votes
    10 Posts
    83k Views
  • 0 Votes
    3 Posts
    938 Views
    Alan KilbornA

    @Dave-Slomer said:

    Seriously, what does LANGUAGE have to do with it? SERIOUSLY. Is there an answer? Tell me, please!

    People that type such things should really stop and think first.

  • Move/CLone panel size

    3
    0 Votes
    3 Posts
    595 Views
    EkopalypseE

    @thetechnodino

    maybe a workaround is to define an edge line via settings->preferences->editing
    check show vertical edge, line mode and set the number of columns to 78

  • 6 Votes
    1 Posts
    27k Views
    No one has replied
  • RFC / Beta Testers Wanted: pyscFilteredViewer

    53
    3 Votes
    53 Posts
    13k Views
    EkopalypseE

    @PeterJones

    LOOOL

  • Notepad++ 32bit installer detected as malware on virustotal?

    Locked
    11
    1 Votes
    11 Posts
    5k Views
    Meta ChuhM

    looking at bkav’s HW32.Packed detection, it might indicate, that it is triggered by the nsis compressor setting
    SetCompressor /SOLID lzma in nppSetup.nsi, as the result is an .exe with compressed resources.

    just like .exe files, that are compressed with UPX.
    they often (as in very, very, very often) produce heuristic virus alerts.

    and now, with the missing code signing certificate, it might be possible, that the engines do not whitelist the notepad++ installer any more, if they have whitelisted it before.

  • support for two-key combinations in shrotcut mapper?

    Locked
    3
    0 Votes
    3 Posts
    593 Views
    umnyagaU

    Thank you, that discussion explains everything for me. Not easy topic.

  • Save One Session for multiple files Bookmarks

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Meta ChuhM

    @Vasile-Caraus

    thank you for finding this and reporting back. 👍

    this will be very helpful for the future, if others experience the same.
    it also helps us as a reminder, to ask for the backup time setting, the next time we get a similar question.

  • Color on my web page is'nt showing from Notepadd++

    Locked
    2
    0 Votes
    2 Posts
    872 Views
    PeterJonesP

    @Marii-Whitaker ,

    Welcome to the Community.

    Sorry, I cannot understand what you are doing, or what’s going wrong, or what you’re asking.

    Please read https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you , then come back and post here with more information.

  • File too big

    Locked
    9
    0 Votes
    9 Posts
    21k Views
    Meta ChuhM

    thanks for your suggestion, @Florent-Pagès

    but vim 8.x will take a very, very, very long time, if you try to open a 12gb (12288mb) file on any platform (mac, ubuntu and windows) as it will try to load the entire document first, and only stop when a certain memory limit is reached.
    (8.1.1 will crash on occasions on huge files)

  • XML Highlihgt bug

    Locked
    2
    0 Votes
    2 Posts
    541 Views
    PeterJonesP

    @Luca-L ,

    Welcome back to the forum.

    The syntax highlighting comes from the lexers in the Scintilla component used in Notepad++. To get this updated, you would have to

    Look at the newest Scintilla release (v4.1.3 as of Mar 3, 2019), and see if that has already been fixed on the Scintilla side Use the Scintilla Bug Tracker or Scintilla Feature Request Tracker to ask for case-sensitivity in the lexer After it’s implemented and released in Scintilla, you would then have to use the Notepad++ issues tracker, per the instructions in this FAQ to request that Notepad++ incorporates those changes from Scintilla. Unfortunately, Notepad++ is still using Scintilla v3.56 from Jun 2015, so the chances of the Scintilla component being upgraded any time soon are … not very high. Sorry.

    Alternates:

    you might be able to ask first in the Notepad++ issues tracker if they could incorporate a bugfix into their older version of Scintilla, without doing a full Scintilla update. Still unlikely, I would think. You could compile you own Notepad++ with a newer Scintilla (either from the recent scintilla release, or applying your own bug fix to the XML Lexer). But maintaining your own compilation is not something for the faint of heart. (I’ve never done it, despite the advance usage I often have on Notepad++, because I have never setup the Visual Studio development environment)
  • Problem with saving file

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    Meta ChuhM

    @pcmanbob

    thanks for your report, i’m glad you got it working on 7.6.3.

    So I have no idea what the problem was I can only assume it was some leftover setting in the registry or in a folder that was messing things up.

    yes, this is a possibility.
    if it ever happens again, don’t hesitate to report it.

  • Some Project window suggestions

    Locked
    2
    0 Votes
    2 Posts
    521 Views
    Alan KilbornA

    @Иннокентий-Гончаров

    You will need to follow the advice at the following link to have any hope for your suggestion to be seen by someone that can/will/might implement it: https://notepad-plus-plus.org/community/topic/15741/faq-desk-feature-request-or-bug-report