• NeWDocDefaultSettings lang:1 ; settings , which file to modify ?

    Locked
    2
    0 Votes
    2 Posts
    425 Views
    dinkumoilD

    @WestJc

    The NewDocDefaultSettings is an XML node in <Npp-install-dir>\config.model.xml respectively %APPDATA%\Notepad++\config.xml but it’s for configuring EOL format, character encoding and default (programming) language for new files, thus it is not suitable for what you want to achieve.

    But you could try the NewFileBrowser plugin. It provides the ability to define templates for two programming languages which can be assigned to a keyboard shortcut.

    Note: The plugin is only available as 32 bit version. You can install it via PluginManager (up to Notepad++ v7.5.9) or via PluginsAdmin (Notepad++ v7.6 and above).

  • user defined languages and keywords without spaces

    Locked
    2
    0 Votes
    2 Posts
    673 Views
    EkopalypseE

    @EdoCarbone

    No, UDL isn’t good in this case. Depending on your exact needs you might get reasonable results by using marking feature or by using a scripting plugin like pythonscript, luascript etc…

  • Split View

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    cipher-1024C

    You had me at “quibble”.

  • 0 Votes
    3 Posts
    986 Views
    Ioakeim FragkoulisI

    Hello @PeterJones ,

    Thank you for your welcome as well as your fast and prompt reply. Your solution worked perfect.

    I wanted to remove all text starting from 175.19.61.11 up to and including SyslogWorker - but when 175.19.61.11 is on 17th digit and not in the beginning or anywhere else in the text. I didn’t know actually how to include a line in my Find.

    What i used was: 175.19.61.11.*?SyslogWorker which did not include the check of characters position on the line. Now with your Find it worked fine.

    P.S.This is my first post on this forum so i didn’t notice the use of Markdown so for further posts i will follow these tips :)

  • 0 Votes
    7 Posts
    2k Views
    Meta ChuhM

    @Jim-Dailey

    you’ve just made my day, with style ;-)

  • Line wrap

    Locked
    2
    0 Votes
    2 Posts
    594 Views
    PeterJonesP

    @Francisco-Pataro , welcome to the Community.

    Thanks for providing the debug info.

    Unfortunately, I cannot replicate your problem. Line wrap works just fine for me, in either 7.6.6 64-bit

    or 7.6.6 32-bit

    Is there something more you can give us, that will help us understand what’s going wrong for you?

  • Package Manager System.

    Locked
    1
    -1 Votes
    1 Posts
    399 Views
    No one has replied
  • access violation popup message

    10
    0 Votes
    10 Posts
    16k Views
    JuanJ

    I had this error with Notepad++ 7.5.7 when using TextFX to sort lines by a given column

  • find and replace

    Locked
    3
    0 Votes
    3 Posts
    736 Views
    Ivan KuzmichI

    Awesome. thank you!

  • Error build SciLexer.dll with boost

    Locked
    20
    0 Votes
    20 Posts
    3k Views
    andrecool-68A

    @Ekopalypse

    https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/README.md
    In the README file, I cannot understand what exactly needs to be done with this public key.

  • NotePad++ not work in Ubuntu

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Hassan DehghaniH

    Thank you for your attention @Meta-Chuh
    but i installed it from ubuntu software center and add it’s icon to favorite bar in the left side of screen in Ubuntu 18.4
    but when i click on it for opening and use it will not work at all

  • Disappearing of highlight for reopened tabs

    Locked
    5
    0 Votes
    5 Posts
    861 Views
    VadimoffV

    @Meta-Chuh

    Portable version of notepad++.exe has solved my problem!

    Thank you very mach!

  • Possible to click on a MACRO and jump to its definition?

    Locked
    7
    0 Votes
    7 Posts
    1k Views
    Paolo Santini104P

    @Alan-Kilborn said:

    @PeterJones said:

    If you want to be in source_file.1 and find the definition in any of source_file.2

    One could do Find in Files or Find All in All Opened Documents for this…but isn’t this handled better by one of the “tagging” plugins (which I don’t use)?

    It’s the only solution (at the moment…)

  • Double click on a not associated file calls uninstall

    Locked
    12
    0 Votes
    12 Posts
    2k Views
    Anders Eriksson22A

    A big **Thank You **to all that has shared their valuable time and knowledge!

    This is the best thing about Internet!

    // Anders

  • Convert ascii to text

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    gerdb42G

    Huh?!? ASCII is plain text, so just open it in Notepad++ and go ahead. What is the extension of your file or what does windows explorer show as type for that file?

  • Docking issue

    Locked
    19
    0 Votes
    19 Posts
    3k Views
    andrecool-68A

    @Meta-Chuh
    Disable all effects, transparency, desktop composition … and everything else

  • How to increase the font size of the "Doc Switcher"

    Locked
    1
    0 Votes
    1 Posts
    375 Views
    No one has replied
  • Find and delete everything between two characters

    Locked
    3
    0 Votes
    3 Posts
    699 Views
    Scott Smith155S

    @Alan-Kilborn said:

    <displayform>

    Thank You! Works perfect for me.

  • Delete all text outside a specific HTML tag pair

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @pelocalizer said:

    Any idea about using a Search/Replace Regex or patters in order to achieve this?

    Plenty of ideas. There’s a lot you aren’t telling us, so I have to assume that you’ll be happy with my solution here.

    start with a file:

    <span>out of bounds</span> <p class="text"> and </p> <span>this is out of bounds, too</span>

    want it to be

    <p class="text"> and </p> Find What = (?s)\A.*(<p class="text">.*?</p>).*\Z Replace With = $1 Mode = regular expression

    I made the assumption that the forum converted your real quotes into smart quotes. I made the assumption that you wanted only one instance of what’s in scope, so I’m deleting everything before the start of the p and everything after the end of the p.

    If you want better help than that, give us better information, and show that you’ve read and understood my boilerplate below, including the links mentioned.

    -----
    FYI: I often add this to my response in regex threads, unless I am sure the original poster has seen it before. Here is some helpful information for finding out more about regular expressions, and for formatting posts in this forum (especially quoting data) so that we can fully understand what you’re trying to ask:

    This forum is formatted using Markdown, with a help link buried on the little grey ? in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes ("") to curly “smart” quotes (“”), will change hyphens to dashes, will sometimes hide asterisks (or if your text is c:\folder\*.txt, it will show up as c:\folder*.txt, missing the backslash). If you want to clearly communicate your text data to us, you need to properly format it.

    If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study this FAQ and the documentation it points to. Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you. If you need help formatting, see the paragraph above.

    Please note that for all regex and related queries, it is best if you are explicit about what needs to match, and what shouldn’t match, and have multiple examples of both in your example dataset. Often, what shouldn’t match helps define the regular expression as much or more than what should match.

  • 0 Votes
    5 Posts
    5k Views
    Æþelleo Durkin240Æ

    @guy038 Thank you very much for your post. Symbola and Symbola_monospacified_for_LiberationMono are a reasonably comprehensive font of the Unicode character set that does what I asked for: the text files display and print as expected or planned with the new mathematical symbols with which I am experimenting. My only complaint is that it is a serif font … mutter mutter … I do like fonts like Helvetica.
    Æþelleo-Durkin