• bug : "{file} doesnt exist any more. Keep file in editor?"

    13
    0 Votes
    13 Posts
    421 Views
    xomxX

    I just remembered similar “file does not exist” issue in the N++ v8.7.1+ caused by an interfering SW (in that case by the corporate telemetry spyware Teramind, monitoring all the files opened by user):

    https://community.notepad-plus-plus.org/topic/26462/file-does-not-exist

  • How to Make Fonts Bolder in Notepad++?

    4
    0 Votes
    4 Posts
    174 Views
    NianBrokenN

    @PeterJones @xomx
    When I switched the rendering mode to “GDI (most compatible),” the font display ended up looking even stranger than before, especially with Chinese fonts. It felt like I’d been transported back 60 years.

    Image
    Image

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

    3
    0 Votes
    3 Posts
    96 Views
    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.

  • 0 Votes
    6 Posts
    98 Views
    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 Votes
    2 Posts
    65 Views
    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 Votes
    3 Posts
    86 Views
    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 Votes
    4 Posts
    91 Views
    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 Votes
    5 Posts
    132 Views
    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 Votes
    2 Posts
    75 Views
    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 Votes
    30 Posts
    2k Views
    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 Votes
    3 Posts
    101 Views
    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 Votes
    13 Posts
    360 Views
    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 Votes
    3 Posts
    100 Views
    Robert Or Janet DiebelR

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

  • Convert the line format to a specific format

    1
    0 Votes
    1 Posts
    51 Views
    No one has replied
  • Find/Search window not dockable anymore?

    9
    0 Votes
    9 Posts
    3k Views
    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 Votes
    3 Posts
    77 Views
    Wim GielisW

    @Alan-Kilborn

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

  • indent between the lines

    4
    0 Votes
    4 Posts
    90 Views
    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 Votes
    5 Posts
    127 Views
    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 Votes
    4 Posts
    103 Views
    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.

  • 0 Votes
    8 Posts
    172 Views
    mkupperM

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