• blurry colored output with 8.7.5 on windows 11 with cleartype disabled

    3
    0 評價
    3 貼文
    423 瀏覽
    Jean-Michel KisslingJ

    @PeterJones
    Hello, thanks for your fast answer.

    I tried switching on and off font smoothing, but it really does nothing on the old version.

    After installing the new 8.7.8 version, MIRACLE, it works with GDI

    0dc785be-7f80-4ae7-b778-0f6b6ad9811c-image.png

    Thanks a lot for the update and the help.

    Best regards.

  • Find:Invalid Regular Expression may be related to pipeline symbol search issue

    6
    0 評價
    6 貼文
    265 瀏覽
    PeterJonesP

    @Bharath-k ,

    That is not the same as the regex I gave you: it will match ANY line with the text on the right side of the | , not just the ones that have the prefix you described.

    If it “works” for you, great. But it doesn’t match your original request.

  • 0 評價
    2 貼文
    438 瀏覽
    Lycan ThropeL

    @GM-Bobby-B ,
    First off, you should go to the Notepad++ menu bar, select the ?->Debug info...->Copy debug info to clipboard and add that to this message thread so people can see what you’re working with. This is vital information before beginning any serious troubleshooting of your issue. It would also help if you read over the FAQ Threads of the forums in particular this one 'FAQ:Why can’t I just say “Most Recent Version” ’ to learn things about posting, information required to help, etc.

  • Issue if Folding in code

    3
    0 評價
    3 貼文
    251 瀏覽
    Zachary DeckerZ

    @PeterJones

    Thanks for the reply. I followed your suggestions, but these did not resolve the issue.

    However, I did find a solution after much troubleshooting. You noted that there can be issues if the first line is a comment. This is not the case in my file, but I realized the folding issue was correlated with the number of comments. Playing around with the Comment settings in the Comment & Number tab shows this to be true. I had some strange settings going on in there which worked for the comments, but screwed up the folding.

    a2656615-892c-4d50-a4e1-4423abdcf958-image.png

    Removing the Comment Style settings fixed the issue.

    Thanks
    Zach

  • Different foreground/background colors per tab?

    4
    0 評價
    4 貼文
    306 瀏覽
    Alan KilbornA

    @coltrane31 said in Different foreground/background colors per tab?:

    Is it possible to have two versions of the app installed at the same time

    See the user manual for “instances”; the user manual may be accessed via your ? menu in Notepad++. There are several alternative things you could do in this regard, although to get “different fg/bg colors per tab”, it all seems a bit much to go through.

  • The view jumps not quite to the bottom of the page when switching tabs

    5
    0 評價
    5 貼文
    317 瀏覽
    Taras TkachenkoT

    @PeterJones That is probably the best. I don’t want a version cluttered with features.

  • Is it possible to open two instances on startup?

    2
    0 評價
    2 貼文
    715 瀏覽
    PeterJonesP

    @Wicke2d ,

    At startup of windows? Yes, there are multiple ways.

    You could create a .bat which runs two instances (ie, it calls c:\Program Files (x86)\Notepad++\notepad++.exe twice, at least one of which with the -multiInst option, or having the always-use-multiple-instances setting on in your Notepad++ config), and put that in your Startup folder (search the interwebs to see how to add something to the startup folder for your particular Windows version).

    Or you could use Task Scheduler to create a task that runs two instances of Notepad++ (again, with the -multiInst or the preference equivalent mentioned above)

    I have a dual desktop setup

    I, however, don’t think that either of those solutions would be able to put a separate instance on a specific Desktop when you first boot.

    I want to say maybe you could do it with calling a different session from the command-line in each, but I don’t think that would be able to automatically run them at bootup. Maybe someone else has some ideas.

  • sql language style issue with \"

    30
    0 評價
    30 貼文
    5k 瀏覽
    mpheathM

    @PeterJones

    I just tried the Notepad++.MSVC.x64.Release artifact and am impressed. It changes directly in the editor pane with checking and unchecking the checkbox. I tried cloned view and works good with both panes. I see NPPM_ACTIVATEDOC, that I presume it is helping to refresh the property change live.

    I have tested multiple Notepad++ restarts, checkbox changes and buffer changes. Tests are so good, that it should IMO fix and close the issue ticket #16244.

    Well done!

  • Multi-language syntax-highlighting

    3
    0 評價
    3 貼文
    243 瀏覽
    mathlete2M

    @PeterJones said in Multi-language syntax-highlighting:

    not every XML-based file will use a Setting tag with the Type=“htf:jscriptexec” attribute to indicate javascript

    True, but to be fair, the jscript part of the Type attribute does give a sensible starting point for language-specific formatting rules. Whether or not the feature is easy to implement this way is another story…

    Given that @Blastocystis focused more on the CDATA section of the sample code, I’m guessing that (s)he was hoping for a more generic secondary language feature - one that gives users flexibility with the secondary language used. So, instead of applying a single language (the one selected in the current Language menu) to an entire document, have a Secondary Language menu that is designed to work on subsections of the document (to be marked in a specific manner). I could see this being equally complex to implement, though.

    Either way, perhaps it would make more sense to use/add a feature like Bookmarks to control where secondary language formatting is applied. In other words, give users the ability to directly choose which lines they want to format in another language by clicking on the margin.

  • Can't rebind mouse buttons/scroll wheel

    13
    0 評價
    13 貼文
    2k 瀏覽
    Alan KilbornA

    I must say that I like the functionality provided by the script myself, and I’ve started to use it. One thing I don’t particularly like, however, is not anything to do with the script, but rather how the NextResult (F4) and PreviousResult (Shift+F4) functionality works. After the last match is encountered, another F4 “wraps around” to the first match. It’s similar for Shift+F4. I find this annoying for reasons I’ve specified HERE. If other users feel the same way, and can publicly state so, maybe we can get an option to control this behavior.

  • RegEx This but not that

    3
    0 評價
    3 貼文
    201 瀏覽
    Robert Or Janet DiebelR

    @Mark-Olson Thanx. Your time and effort is much appreciated

  • Convert the line format to a specific format

    1
    0 評價
    1 貼文
    111 瀏覽
    尚無回覆
  • Find/Search window not dockable anymore?

    9
    0 評價
    9 貼文
    4k 瀏覽
    Jeff TremblayJ

    The easiest way is to rename to config folder name located below to for example “Notepad++2” to force Notepad++ to reconfigure itself to its default settings.

    -Close notepad++
    -Rename this:
    C:\Users\Name_of_user\AppData\Roaming\Notepad++
    For this:
    C:\Users\Name_of_user\AppData\Roaming\Notepad++2
    -Restart notepad
    -Magic happens!

  • Scroll to a position

    3
    0 評價
    3 貼文
    207 瀏覽
    Wim GielisW

    @Alan-Kilborn

    Thank you for the confirmation ! I will not spend more time on it.

  • indent between the lines

    4
    0 評價
    4 貼文
    417 瀏覽
    PeterJonesP

    @Linda-Delenra ,

    I mean that I have many lines of text in each line.

    I have no idea how you can have many lines of text in one line; there seems to be a language barrier. I answered the question based on your example data. If your example data doesn’t match reality, neither I nor anyone else here can answer your real question until you provide us data that matches reality. Sorry.

    If you have the text like you showed originally and want to transform it into your second example text, you need to run the regular expression replacement action that I described.

    by pressing one button

    You could record a macro where you do the replacement (Macro > Start Recording, run the REPLACE ALL, Macro > Stop Recording, Macro > Save Current Recorded Macro and assign a keyboard shortcut)

  • Bug found in "Col" indicator in column mode

    5
    1 評價
    5 貼文
    278 瀏覽
    mpheathM

    @Alan-Kilborn

    Enter w and then press home key.

    rs0.png

    Press tab key.

    rs1.png

    Press backspace to go back to state of the 1st image.

    Now press Alt and Shift and click on the caret position.
    A rectangular selection is created with anchor and caret at the same position.

    Press tab key.

    rs2.png

    Compare the 2nd image with the 3rd image.
    Col and Pos in the status-bar are different values.

    Use PythonScript to run

    editor.getSelectionMode()

    to get the selection mode with each step.

  • Transform the style and order in a certain way.

    4
    0 評價
    4 貼文
    444 瀏覽
    PeterJonesP

    @mkupper ,

    My point wasn’t to get into the details of IPv4 and CIDR, but to show that, as asked, the problem is unanswerable without more detail, even when the person answering does know at least a little about the problem domain.

    When asking for help with data transformation, people need to provide enough information about the requirements for someone to be able to answer them, without requiring the answerer to know generically about the kind of data they are using, and without requiring that they make guesses as to hidden/implied restrictions which make the difference between “easy” and “impossible”, as I pointed out in my examples.

  • Start new file in language>python with shortcut while standardlanguage remains NONE, TXT

    8
    0 評價
    8 貼文
    482 瀏覽
    mkupperM

    @Robert-Jablko, A while back @PeterJones posted this which shows a way to have comments in a macro.

  • How can I change the icon for Notepad++

    8
    0 評價
    8 貼文
    13k 瀏覽
    PeterJonesP

    @Craig-Shannon said in How can I change the icon for Notepad++:

    previous regedits didn’t work for me

    Yes it did, because knowingly or not, you followed my instructions.

    You chose a different icon than I did (which is reasonable: the icon you want is of course up to you), and yours was called Notepad++_file\ instead of the txtfile in my example, but my instructions explicitly said, “or whatever it was for yours” to indicate that while it’s often txtfile (because that was the old default for opening a .txt file under older versions of windows), it always depends on the exact circumstances of each user, and no set of instructions that claims one key can be correct for everyone… And there’s no point in trying to list all the possible key names, because it’s virtually limitless. Hence, my instructions gave the old default key, and confirmed that the key might be different for any given user.

  • Delete all lines that NOT contains a specific phrase

    4
    0 評價
    4 貼文
    354 瀏覽
    Rockberto ManentiR

    @Coises and @Terry-R

    thanx so much. Both methods work perfectly.