• Ability to turn off indent guideline?

    3
    1 Votes
    3 Posts
    186 Views
    T

    @PeterJones Thank you so much!! 💙

  • Problema con la incorporación de texto

    2
    0 Votes
    2 Posts
    187 Views
    PeterJonesP

    @Laura-Pla ,

    If I have a long piece of text in Word and I try to add it to Notepad, it all comes out with strange characters. Is there a possible format that Notepad accepts, so I can format it later, or do I have to retype the entire text?

    This forum is about the application Notepad++, not Microsoft’s notepad.exe app that automatically comes with Windows. If you are asking about the Microsoft app, we cannot help you. But I will continue my response assuming you meant “Notepad++”

    If you copy text from inside MS Word and paste it in Notepad++ , it will properly paste the text. If you open the .docx Word file in Notepad++, then you will see a bunch of weird symbols like ETX and DC4 and NUL , and you cannot copy and paste that and expect that it will be “normal text” – our FAQ explains why it doesn’t work to open a .docx file in a text editor like Notepad++ (short version: because .docx is a binary format, not a text format).

    If this isn’t enough of an answer for you, you will need to provide more details, including the ?-menu’s Debug Info and the exact steps you are taking to copy from Word to Notepad++. Screenshots could also help us diagnose your problem.

  • PythonScript regex error, but not as NPP regex

    4
    0 Votes
    4 Posts
    209 Views
    M Andre Z EckenrodeM

    @Ekopalypse

    Thanks much. My bad for even bringing it up, actually, since I already had back in 2021 and was advised about the lambda workaround at that time. Forgot about that.

  • Autoformating of HTML comments - how to turn off ?!

    4
    0 Votes
    4 Posts
    192 Views
    PeterJonesP

    it was Consolas!

    Weird. I have never been able to get Consolas to give ligatures.

    but here is the weird thing - i changed Consolas to JetBrainsMono (love the IntelijIDEA font xD).
    It stopped auto-converting!

    That’s truly weird, because JetBrains Mono has ligatures. JetBrains Mono NL is the version that doesn’t have ligatures (the NL literally means no-ligatures, as far as my research uncovered)

    Now, reverting to Consolar…it no longer changes it !

    Glad you got it to a state you like it. (However, I would actually recommend that you try to get used to the ligatures: those fonts were designed to be monospace even with the ligatures, so it helps your brain parse what you’re reading much easier, even more than just syntax highlighting alone. At first, I was opposed to the ligatures, but I forced myself to try the experiment for a week, and found when I tried to go back that I missed the ligatures. So now Fira Code is my go-to monospace font.)

  • 0 Votes
    4 Posts
    250 Views
    David FoxD

    @PeterJones said

    mybrowser.exe file:///E:/dwgs/Json/OSM_tag_history/index.html?$(CURRENT_WORD)

    This was the solution. upvote.

  • Macro does not record my Run action

    17
    0 Votes
    17 Posts
    1k Views
  • AutoComplete XML Problem

    3
    1 Votes
    3 Posts
    247 Views
    S

    @PeterJones said in AutoComplete XML Problem:

    Thus, it does not see the # at the beginning as being part of a “word” when trying to auto-complete.

    I thought something like that might be the case but there was always a possibility of user error!

    You’d have to do #PB instead of #P before it would pop up
    Use Settings > Preferences > Delimiter’s

    By default the PureBasic IDE doesn’t show autocomplete before 3 characters anyway so I can’t see an issue there personally, but there’s a workaround for anyone who just can’t live with that.

    I am updating the wording of the user manual:

    Thank you for your amazing response! That’s just what I’m looking for.

  • Need some help on comparing text files.

    2
    0 Votes
    2 Posts
    132 Views
    Mark OlsonM

    @tlt1970s
    The ComparePlus plugin is your best bet for this sort of task.
    I highly recommend this plugin for all Notepad++ users. I regard it as almost essential.

  • Opening files with Notepad++ is very long (more than 30 seconds)

    2
    0 Votes
    2 Posts
    167 Views
    Alan KilbornA

    @Bernard-Jouffrey

    Antivirus software in use?

  • How to replace two separate lines.

    Moved
    7
    0 Votes
    7 Posts
    393 Views
    ?

    :) you are not lucky, eh?

    It looks like the reason it works for me is that I’m using the LF EOL, not CR LF as typical in Windows.

    Cheers

    P.S. @Brent-Ficker if you’re not familiar at all with regex, the “Extended” mode setting would work for this particular problem too, to gently introduce you to such things.

  • Disable menu activation for a shortcut not working for english.xml

    5
    0 Votes
    5 Posts
    213 Views
    jabcreationsJ

    @PeterJones

    I had to reinstall to get the English Customizable file installed (C:\Notepad++\localization\english_customizable.xml). I made some recommended changes (name="Exit&°"), changed to English and then back to English Customizable and tested it and it did not exit as desired; thanks!

  • Search characters if exist in any order with no spaces?

    Locked
    5
    0 Votes
    5 Posts
    320 Views
    PeterJonesP

    Moderator Note: Please do not delete posts after the conversation has happened. It removes context.

    (Moderator restored deleted posts; topic being locked, because it appears the original poster is no longer interested, since the posts were deleted)

  • Unable to see Data in the Notepad++

    28
    0 Votes
    28 Posts
    12k Views
    NebojshaN

    @xomx said in Unable to see Data in the Notepad++:

    I’d like to ask the affected users here, for which switching the DirectWrite OFF helped - what OS, graphics card and version of its drivers are they using?

    E.g. post: Windows 10, Nvidia GeForce xyz, 2/24/2023 30.0.14.7430

    (you can find such info e.g. by WinKey+R, type there devmgmt.msc -> OK, and check the Display Adapters > doubleclick on an adapter > Driver tab)

    Win 11, VMware SVGA 3D, 4/28/2023, 9.17.6.3
    Win 11, Microsoft Remote Display Adapter, 6/21/2006 10.0.26100.4484

    Accessing a VMware virtual machine via Remote Desktop Connection (RDP)

  • More information regarding initial post: Spaces instead of Tabs

    Locked
    3
    0 Votes
    3 Posts
    178 Views
    PeterJonesP

    moderator fixed image in the original conversation; continue discussion there

    LOCKED THIS SECOND DISCUSSION
  • 0 Votes
    6 Posts
    282 Views
    PeterJonesP

    @Danie-Bosman,

    I used moderator powers to fix your embedded image.

    Are the arrows indicatiing Tab characters, or merely indicating where the indents are?

    Your drawn red arrows are the View > Show Symbol > Show Indent Guide indicators. They show up whether you are set to spaces or tabs, so it won’t help you determine which you are set to.

    OTOH, the related View > Show Symbol > Show Space and Tab do show spaces vs tabs:

    126dc4bb-05c5-4be7-aa93-20a8ffd5e33a-image.png

    As @Alan-Kilborn said, the long right arrows are tab characters, the mid-dots are space characters.

    Unfortunately, your screenshot did not include enough information to tell what language your code is in. Like I said, the screenshot needs to include the status bar to show us that, and you cut it off before the status bar. Your language looks vaguely VisualBasic-like, but that’s just a guess. (Though it’s confusing to me that your tab name claims *.txt, but it’s syntax highlighted like code; have you associated .txt with something other than normal text?)

    Anyway, whatever language it’s set to, whether you are willing to show the status bar or not, assuming you can read the status bar yourself, or can look in the Language menu to determine what language is active for syntax highlighting your .txt file with code, you need to click on that language’s entry in the Indent Settings box that lists all the languages, and see what the Indent Using is set to for that language: see whether it’s set to Use default value, in which case it will follow the [Default] settings you show in you screenshot; or it might not have that set, and instead have its own, like Makefile does:

    Examples comparing my settings for Visual Basic with Use default value vs Makefile with its own set to use tabs:

    Visual Basic 1e2784be-9137-4be5-9b25-e49554bfbb19-image.png Makefile 2ec29bcd-b77d-4519-9876-c610152b64fa-image.png

    update: But given your indication that you seemed to think the guidelines were tab characters (which they aren’t, necessarily), then my guess is that you were just misinterpreting what you were seeing, and this whole time, you really do have spaces where you thought it was still inserting tabs. Again, View > Show Symbol > Show Space and Tab will show you definitively and unambiguously whether the characters are spaces or tabs.

  • Delete an entire line if a specific word is found inside that line

    9
    0 Votes
    9 Posts
    39k Views
    Antheds KennelA

    @Mark-Olson Thanks for the help, I’ll try it when I get back from vacation. Kind regards Thore

  • Disable line-switching keyboard shortcut?

    3
    0 Votes
    3 Posts
    129 Views
    jabcreationsJ

    @PeterJones Thank you Peter, that seems about right. I was able to find and clear the keyboard shortcuts (Settings --> Shortcut Mapper for others who don’t know offhand).

  • npp v8.6 reverses the order of lines on column copy/paste

    25
    1 Votes
    25 Posts
    8k Views
    CoisesC

    @PeterJones said in npp v8.6 reverses the order of lines on column copy/paste:

    Unlike @Coises , I don’t consider it a “feature” (ie, a bug masquerading as a feature), I think it’s a reasonable compromise between all the different opinions on what the “right” behavior should be when mixing between column and multi-select mode.

    I agree — perhaps the scare quotes were a bit excessive. For certain, it’s intended behavior; it was never a bug that was presented as a feature to avoid dealing with it.

    I think that for users like me, who use rectangular selections frequently and multiple selections rarely, the improvements to multiple selection in the early 8.x releases felt like a degradation in user experience. Some of that has been mitigated by the Multi-Editing options (though, for example, turning off the ability to create multiple selections when you do want them is an unfortunate trade-off for not breaking normal drag-copy conventions… but if I recall correctly, that binary choice is baked into Scintilla, so it would be fragile at best for Notepad++ to attempt something different).

    I imagine it appears exactly reversed to people who use multiple selections often and rarely want rectangular selections: they probably wish the distinction could be eliminated so they didn’t have to keep track of different behaviors when a rectangular selection hasn’t been changed to a multiple selection.

  • Advice for Backup settings with AutoSave installed

    3
    0 Votes
    3 Posts
    379 Views
    Mark D Worthen PsyDM

    @PeterJones Thank you for explaining everything so well. I really appreciate it. All the best - Mark

  • Add iNVERT cASE in the Right Click Menu

    2
    0 Votes
    2 Posts
    136 Views
    Alan KilbornA

    @Michel-Merlin

    You can customize the right-click context menu for your own use; consult the user manual (found via the ? menu in Notepad++) for details on how.