Navigation

    Community

    • Login
    • Search
    • Recent
    • Popular
    • Search
    1. Home
    2. Popular
    Log in to post
    • All categories
    • Announcements
    • FAQ
    • General Discussion
    • Help wanted · · · – – – · · ·
    • Plugin Development
    • Security
    • Translation
    • Boycott Notepad++
    • Blogs
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month

    • FlorianSchaetz

      Layout breaks after a few days
      Help wanted · · · – – – · · · • • FlorianSchaetz  

      6
      0
      Votes
      6
      Posts
      25
      Views

      Ekopalypse

      @FlorianSchaetz you could post it at https://pastebin.com/
    • darkenb

      How can I change all the words in a given structure?
      Help wanted · · · – – – · · · • • darkenb  

      5
      0
      Votes
      5
      Posts
      9
      Views

      darkenb

      @Alan-Kilborn Can you show me an example usage? Find what: What will I write in this part? Replace with: What do I write in this part?
    • Robin Cruise

      REGEX: Add something at the beginning of each line that does not contain the sign -
      Help wanted · · · – – – · · · • • Robin Cruise  

      3
      0
      Votes
      3
      Posts
      10
      Views

      Alan Kilborn

      So for future people that come along looking maybe for a solution to something, and seeing this post, I say: It has several pieces of misinformation. First, the “spec” was: add something to the beginning of each line that does not contain the sign - In fact, the regex supplied does not do this. What it does is: Add something to the beginning of each line that does not start with -. Second, the OP diagnosed a problem as being that: There was no need for \ before - In fact, the removal of \ did nothing to change the outcome of the replacement operation. - does not need to be “escaped” in the usage shown by the OP. While it was true that there was “no need”, it didn’t make the first regex not work. The two regexes supplied by the OP do exactly the same thing.
    • Darius Runge

      Column width with Generic Text-only Printer
      Help wanted · · · – – – · · · • column width text-printer text only print dot-matrix • • Darius Runge  

      2
      0
      Votes
      2
      Posts
      14
      Views

      PeterJones

      @Darius-Runge , I am glad that Notepad++ works for your dot matrix. I don’t think the developers do anything special to support that. I don’t know a lot of the behind-the-scenes in modern printing, but Notepad++ presumably shoots text data and font information (font name, size, weight, and color) at the driver, and the Windows printer driver for your printer presumably translates that into the right data for your individual printer. My guess is that characters-per-line (ie, page width) is a setting of your printer driver. Actually, it’s probably physical page width, rather than characters-per-line. For example, using the Microsoft Print to PDF driver that I get with MSOffice at work, I printed the same document twice from Notepad++: the first time, I did it in normal portrait orientation, and got about 82 characters of actual text (plus my line numbers in the left margin); I then did a second print in landscape (wide) orientation and got at least 20 more characters per line. So I think the printer driver tells Notepad++ “I have this much width”, and when Notepad++ then sends the data to the printer driver, Notepad++ uses that much width before wrapping the data. So, when you use File > Print from Notepad++, instead of immediately hitting Print from the dialog, try the Preferences, and see if you can define a page size that more accurately matches your actual paper size (or the effective paper size that Notepad++ should see to make use of the full width of your printer) – you might have to go into Advanced after choosing Preferences.