• Codepages not correctly saves

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    guy038G
    Hello, @dreamforceinc, Just see these posts, below, for a possible solution : https://notepad-plus-plus.org/community/topic/14502/notepad-and-wrong-ansii-encoding/4 https://notepad-plus-plus.org/community/topic/11014/encoding-gets-big5-encoding/2 Cheers, guy038
  • Notepad++ start-up from command line (options)

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    pnedevP
    Hi @Claudia-Frank , Thanks for the feedback :) Cheers
  • Material Design Theme for Notepad++

    Locked theme
    2
    3 Votes
    2 Posts
    11k Views
    HiSandyH
    [image: 85UJvYw.jpg]
  • DSpellCheck and user defined language

    Locked dspellcheck udl
    3
    0 Votes
    3 Posts
    2k Views
    Lionel LagardeL
    Thanks. I did not check the DSpellCheck project page. My bad. Sorry for the noise.
  • Auto update

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS
    @Владимир-Орлов I hate update notifier at start up. So turn it off. …keep software updated. Like on smartphone. Why dont you make this updater silent? Likely if this were done, you’d be a frequent poster here…and you’d be really really angry.
  • Theme resets after switching to administrator mode

    Locked
    7
    1 Votes
    7 Posts
    5k Views
    Henry BurrowsH
    Sorry, didn’t see your reply in time; however, a re-install and reboot has resolved the issue. Thanks again!
  • Feature Request: Could notepad++ just keep the selection part

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Claudia FrankC
    ignore my comment - overlooked that this is a feature request. Probably a better place to ask for this enhencement is at github. Cheers Claudia
  • useless macro?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP
    @Angelica-Bartoloni isn’t overly clear (but maybe English isn’t her native language), but I read the description of the ImgTag plugin in the Plugin Manager: it appears to allow you to use a File|Open-style dialog to select images from your drive, and then insert the appropriate <IMG> tag in the HTML document you are editing in Notepad++. Given that description, then it could probably be automated inside NPP… but probably not with the macro-recording tool. The ways that I can think of: Use the ImgTag plugin as normal. Then use a regex-based search-and-replace to update the title and alt fields. If the OP gave us the example output HTML from ImgTag, the regex experts could easily customize to fit the OP needs. Use PythonScript to automate the ImgTag plugin, and edit the output as it’s going. (I don’t think this really has any benefit over #1) Use PythonScript to completely replace the ImgTag functionality: have the .py call a File|Open-style dialog itself, and then generate the HTML <img> tags, with all the fields that are desired. (For simplest case, this might work; but if OP is relying on getting/setting the width and height tags via ImgTag as well, then it would probably require accessing other libraries through the .py, at which point, #1 is probably simpler again.) I think probably #1 is the easiest. Assuming ImgTag would return the following if you selected a.png, b.png, and c.png: (and assuming that “alt field is blank” means there is the alt attribute but no string inserted, and that “no title field” means that there isn’t a title attribute at all): <img src="./a.png" width=640 height=480 alt=""> <img src="./b.png" width=1280 height=720 alt=""> <img src="./c.png" width=1920 height=1080 alt=""> And assuming @Angelica-Bartoloni wants <img src="./a.png" width=640 height=480 alt="./a.png" title="./a.png"> <img src="./b.png" width=1280 height=720 alt="./b.png" title="./b.png"> <img src="./c.png" width=1920 height=1080 alt="./c.png" title="./c.png"> Then I would use something like Find What = (?-s)src="([^"]*)"([^>]*)alt=""> Replace With = src="$1"$2alt="$1" title="$1"> If the order of attributes is different, or ImgTag uses different quote characters (single quotes, for example), or if it uses xhtml-style <img ... />, then the regular expressions could be changed to accommodate. Angelica, please give us actual example output from ImgTag, and the exact desired final result: we can tweak the regex as necessary. Try to think of edge cases: do any of your filenames have quotes or apostrophes embedded, such as Mr. D'Angelo's "favorite" picture.png, or any other special characters that you think might influence things? Does ImgTag always output attributes in the same order? Does it include the alt="", or alt='', or no alt at all; similar for title? What other helpful information can you give us? (The more details you give of “what you have” vs “what you want”, the easier it is for us to help you find a solution.) <edit>: also, we need to know if you have other <IMG> tags already in the document. If so, then before doing the search-and-replace, you’ll have to select just the ImgTag-based <IMG> tags, and use the ☑ In Selection option, to avoid messing up other images.</edit>
  • Multi lines selection in longer file

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS
    @Pavol-Pusztai Use the Begin/End Select feature (see Edit menu). Here’s how: Go to your first line of interest (possibly using Search (menu) -> Go to…) Invoke Begin/End Select. Go to your second line of interest (possibly using Search (menu) -> Go to…) Invoke Begin/End Select again. Your desired range should now be selected/highlighted.
  • Feature Request: filter files in "Folder as Workspace" by path

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Jim DaileyJ
    @HonoredMule I think the Open File In Solution, Solution Hub, and Solution Hub UI plugins may do what you want in a somewhat different way. With them you can type parts of filenames and, if you want, pathnames and it displays the matching ones and allows you to select one to open in the editor. Check it out at http://npp.incrediblejunior.com/
  • Issues running versions after v 7.5.1 on Wine

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Claudia FrankC
    @Danie-de-Jager just updated to the latest stable verison 3.0 and can use npp 7.5.4 Cheers Claudia
  • [Suggestion] Reload opened files when restarting for update

    suggestion update
    3
    2 Votes
    3 Posts
    1k Views
    Eagle3386E
    @donho, is this possible? :)
  • Remove duplicate lines from unsorted, keeping first

    10
    0 Votes
    10 Posts
    11k Views
    guy038G
    Hello, @sepehr-e, I must admit that sometimes regexes, involving great amount of text, may, wrongly, get an unique match, which represents all the file contents :-(( This case may also happen, in case of regexes with recursive patterns, inside ! I can’t clearly explain this behaviour. May be, it’s related to a matched range of characters, that exceeds a limit. It could also depends on the RAM amount or because of specific N+++ features, like the periodic backup ! Practically, you could use the regex, below, which implies an other condition : the \1+ block of lines, which is to be deleted, must, follow, most of the time, some End of line characters ! (?-s)^(.+\R)(?s).*?\R?\K\1+ Despite you didn’t say anything about your working file, but it could help ?! Note that the syntax \R must be optional ( => the form \R? ) in case of a block of consecutives identical lines, as for instance : 456 789 123 123 123 123 000 Best Regards, guy038
  • How to run python code once written?

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC
    @David-Hodge I can’t say what your python code should do as there is no info what has been coded but concerning the execution of code from within python there are several ways to achieve this. use the run menu and run function (typically keyboard shortcut F5) within this dialog you would do something like cmd /K python $(FULL_CURRENT_PATH) the variable FULL_CURRENT_PATH gets substituted by notepad++ with the full path of the current opened document. So it is a must that the script has been already saved before you run it. Install the excellent NppExec plugin. It does basically the same as the build in run function but offers a lot more in addition. Like you can define that not only the script should run but also some other action should take place. If using the NppExec plugin you do not need the cmd shell from the previous example as it has its own “shell” so a call python $(FULL_CURRENT_PATH) is sufficient. 3)Install python script plugin. As it is not its native functionality you can use it to run scripts as well. Its main purpose is to interact with notepad++, meaning you can automatically insert text into your document or reformat it automatically etc… Cheers Claudia
  • File write failures causes loss of data.

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    chcgC
    Which version of N++ are you using? Could you please provide the debug info. Do you have one of the backup methods active (Settings->Options->Backup)?
  • No Plugin Manager in menu dropdown.

    Locked
    3
    0 Votes
    3 Posts
    11k Views
    chcgC
    https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9 with background why removed https://github.com/bruderstein/nppPluginManager/issues/80. Howto install manually https://bruderste.in/npp/pm/#install
  • Ability to change the color of individual tabs that are open

    3
    0 Votes
    3 Posts
    5k Views
    Scott SumnerS
    @Gogo-Neatza There are four groups of settings related to tabs These 4 groups seem to be: Active tab focused Active tab unfocused Active tab text Inactive tabs My experimentation with this uncovered that only “Foreground colour” had an effect, and only for 3 of the 4 (Active tab unfocused was unaffected). If anyone has a different experience, I’d be interested to hear it.
  • File Associations not sticking

    6
    0 Votes
    6 Posts
    2k Views
    Claudia FrankC
    @johnwargo which basically confirms what is discussed - your account doesn’t have sufficient rights to manipulate the needed registry keys. Why this account has been removed the permission to modify the needed keys I cannot say but one solution to solve this issue is to add your account to keys. In the past, Microsoft provided tools to fix registry permission issues, maybe this is also available for your os version. Cheers Claudia
  • Misleading ads on download page above download links

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Scott SumnerS
    @PeterJones Maybe the current Plugin Manager needs an integrated ad-blocker as well. :-D Then we could have it back. And…the…questions…about…where…it…has…gone…would…STOP!
  • [BUG!!!] Code tray #4087

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    CheckBC
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4087