Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Z

      Hide vertical scrollbars

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      85 Views
      Alan KilbornA

      @zitot-hawaii-edu said:

      in distraction free mode, the two views/panes became only one view/pane…but I need both

      Hmm, presumably, the designer of distraction free mode decided that a second pane would be distracting… :-)

    • Molly Harris 0M

      Vertical Tabs (Proposed Change): Default as Stacked, Not Sideways?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      100 Views
      Jim DaileyJ

      @Molly-Harris-0 Have you tried the Window Manager plug-in?
      With the tab bar disabled and using the Window Manager, I think you will have something akin to what you are looking for.

    • peter clarkeP

      printing from file to printer with colored characters

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      59 Views
      PeterJonesP

      Additional info:

      First, once I was on my computer this morning, I was able to confirm that ino is already in the default list of extensions for C++, so you don’t need to add it to user ext. Sorry for my poor memory.

      Notepad++, by default, doesn’t know the Arduino-specific keywords/constants. But the Style Configurator has 8 “USER KEYWORDS #” styles for C++, and you can add your own keywords into User-defined keywords box for each, and define your own colors.

      Before:
      e1e7f4e3-e45c-4e1c-853d-82658355ecfd-image.png

      After:

      Change USER KEYWORDS 1 to green, with setup loop Change USER KEYWORDS 2 to orange, with pinMode digitalWrite delay begin Change USER KEYWORDS 3 to bold+orange, with Serial Change USER KEYWORDS 4 to aqua, with HIGH LOW OUTPUT

      d2149d3c-47bd-4c08-a4e6-46bfc6b44aec-image.png

      You would have to go through and figure out any other keywords (I don’t currently have a list of arduino keywords, though you could probably search the forum for “Arduino” and maybe find something).

      Ah, there, I knew it must exist: this post had a link to a zipfile with an old UDL for Arduino. From it, I was able to extract some lists of keywords, paste them into Arduino IDE 1.8.18 to see how it categorizes them, then re-allocate them:

      USER KEYWORDS 1:loop setup USER KEYWORDS 2:ANALOG_PORT BSSID Client END_SYSEX File Firmata MAX_DATA_BYTES REPORT_VERSION RSSI SSID START_SYSEX TOTAL_PORTS WiFiClient WiFiServer Wire abs accept acos analogRead analogReference analogWrite asin atan atan2 attach attachInterrupt attached autoscroll available begin beginPacket beginTransmission bit bitClear bitRead bitSet bitWrite blink blinkVersion callbackFunction ceil clear click close connect connected constrain cos createChar cursor degrees delay delayMicroseconds detach detachInterrupt digitalRead digitalWrite direction disconnect display encryptionType end endPacket endTransmission exists exp find findUntil floor flush gatewayIP getResult getSocket highByte home interrupts isListening isPressed leftToRight listen localIP log lowByte macAddress map max micros millis min mkdir move noAutoscroll noBlink noCursor noDisplay noInterrupts noTone onReceive onRequest open overflow parseFloat parseInt parsePacket peek pinMode position press print printFirmwareVersion printVersion println processInput pulseIn radians random randomSeed read readBytes readBytesUntil readMicroseconds release releaseAll remoteIP remotePort remove requestFrom rightToLeft rmdir round scrollDisplayLeft scrollDisplayRight seek send sendAnalog sendDigital sendDigitalPort sendString sendSysex setBitOrder setClockDivider setCursor setDataMode setFirmwareNameAndVersion setFirmwareVersion setSpeed setTimeout shiftIn shiftOut sin size speed sq sqrt status step stop stringCallbackFunction subnetMask sysexCallbackFunction tan tone transfer version write writeMicroseconds USER KEYWORDS 3:Serial Serial1 Serial2 Serial3 USER KEYWORDS 4:ANALOG_MESSAGE BIN CHANGE DEC DEFAULT DIGITAL_MESSAGE EXTERNAL FALLING FILE_READ FILE_WRITE HALF_PI HEX HIGH INPUT INPUT_PULLUP INTERNAL INTERNAL1V1 INTERNAL2V56 LOW LSBFIRST MSBFIRST OCT OUTPUT PI PROGMEM REPORT_ANALOG REPORT_DIGITAL RISING SET_PIN_MODE SPI_CLOCK_DIV128 SPI_CLOCK_DIV16 SPI_CLOCK_DIV2 SPI_CLOCK_DIV32 SPI_CLOCK_DIV4 SPI_CLOCK_DIV64 SPI_CLOCK_DIV8 SPI_MODE0 SPI_MODE1 SPI_MODE2 SPI_MODE3 SYSTEM_RESET TOTAL_ANALOG_PINS TOTAL_DIGITAL_PINS TWO_PI

      I don’t guarantee that’s all, or even most, of the Arduino keywords. But it’s a reasonable selection to get you started.

    • donhoD

      My future is secured. But what about yours?

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      5 Votes
      3 Posts
      173 Views
      xomxX

      I_LOVE_AI.jpg

    • Claudia SvensonC

      doLocalConf.xml still necessary to make NP++ portable?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      100 Views
      mkupperM

      @Claudia-Svenson, I am wondering, What are you trying to achieve?

      The reason I ask is that it’s possible to run a “portable” copy of Notepad++ without a doLocalConf.xml file.

      You may want to review https://npp-user-manual.org/docs/config-files/#configuration-files-location.

    • Mauricio CagnassoM

      Notepad++ strange behavior if I change the style

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      207 Views
      Mauricio CagnassoM

      @xomx Thanks!!!

      This WORKS!!! 👌

      a269e947-c335-4c76-a071-455ded5c8931-image.png

    • Ben HardyB

      Notepad++ not remembering where the current file is saved

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      92 Views
      Ben HardyB

      @PeterJones yes that was it!
      So indeed it was an easy one - you’d think I would have figured that out. Haha
      Thank you for pointing me to the setting!

    • John BlueJ

      How to find a comma that is embedded in a string?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      79 Views
      John BlueJ

      @PeterJones, thank you so much!

    • Annie ChuangA

      Function List does not work properly after update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      79 Views
      PeterJonesP

      @Annie-Chuang ,

      In addition to @Alan-Kilborn’s request, you can also go to ?-menu’s Debug Info, and paste that here.

      Please also tell us the full path of the filename where you put the XML file – was it c:\users\___\AppData\Roaming\Notepad++\functionList\XyzPdq.xml or c:\Program Files\Notepad++\functionList\XyzPdq.xml or somewhere else?

      I referred to many documents

      Unfortunately, you don’t tell us which ones, so we cannot know whether they were telling you the right thing, or not.

      Here are some reasonable documents to consult:

      User Manual: Function List = https://npp-user-manual.org/docs/function-list/#how-to-customize-function-list User Manual: Function List Config Files = https://npp-user-manual.org/docs/config-files/#function-list Including instructions on how to upgrade from a v7.9-or-earlier FunctionList (from before November 2020) to one that works with modern Notepad++ = https://npp-user-manual.org/docs/config-files/#upgrading-old-function-list-entries Community Forum FAQ: Function List Basics = https://community.notepad-plus-plus.org/topic/19480/faq-function-list-basics

      re-created the XML file and put it into FunctionList Folder

      As per the User Manual, there are two files that need to be edited to add the FunctionList – you need to have the XML specific to your language, and you need to edit the functionList\overrideMap.xml – if you didn’t do the latter, then just creating the XML isn’t enough.

      Also, you have to make sure it’s named correctly, and that you’ve got your User Defined Language (UDL) already set up and working, too.

    • Sergio DiasS

      Copy & past if copy is null

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      85 Views
      mathlete2M

      For those who want to update their back-up configuration files with this setting: in config.xml, look for GUIConfig name="ScintillaPrimaryView" and add the entry lineCopyCutWithoutSelection="no".

    • TreyT

      rereplace help

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      130 Views
      TreyT

      @Alan-Kilborn I had to re-add ‘.*’ to the middle section, but I got it working now and can use variables the way I want now, thanks!!

    • Roger CracknellR

      Searching for text returns same Line twice

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      97 Views
      Alan KilbornA

      @PeterJones said:

      if the line is long enough, Search Results can split the results on a single line into multiple entries in the Search Results panel

      Can we quantify “long enough”?
      Is this behavior worth documenting in the user manual?

      Note that the above discussion presumes this setting is checkmarked:
      2ed6b732-e13b-4d33-901f-700fb46d2f83-image.png

      If it is uncheckmarked, then each match for sure gets its own line in Search results regardless of length of line.

    • Chuck HerrickC

      Format my JSON

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      4k Views
      PeterJonesP

      @Estevao-Jordao ,

      Did you really need to come 4 years later to give a URL to a random website when the problem is solved with Notepad++ and the JSToolNpp plugin mentioned then (or the JsonTools plugin which also exists now).

      (your link was de-linkified, to avoid this forum becoming a honeypot for posting URLs to random sites unrelated to Notepad++)

    • Richárd StockingerR

      [New Plugin] NppOpenAI

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      44
      8 Votes
      44 Posts
      29k Views
      A

      @andrea-tomassi said in [New Plugin] NppOpenAI:

      Hello everyone,

      I recently came across this plugin and found it promising for my typical workflow. However, I encountered a blocking bug: a 2 000-character limit on the selection imposed by Notepad++. Additionally, relying on a single system prompt for every scenario proved insufficiently flexible.

      I investigated and discovered that the bug had been reported some time ago, and the project was effectively stalled due to other commitments within the community.

      Accordingly, I forked the repository, fixed the bug, and submitted a pull request to the original project. I then restructured the code and developed a new feature to support multiple system prompts. Since the latter is not strictly a bug fix, I did not submit a pull request for that change.

      I hope the community finds my repository useful:
      https://github.com/andrea-tomassi/nppopenai

      EDIT: the PR has been merged into the original project, no need for using my fork

    • DenineD

      The validity period of EV code sign has expired

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      62 Views
      PeterJonesP

      @Denine ,

      The owner is working on it, but, per here, it’s not as simple as one might hope.

    • P

      Workspace with Monospaced Fonts

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      108 Views
      EkopalypseE

      @ptrstack

      How difficult is it to make the folder tree …

      depends on how complex you want your solution to be.
      I would probably just change the font in the resource file and use the WM_SETFONT call in WM_INITDIALOG after initializing the treeview component. Depending on the size, you may also need to call TVM_SETITEMHEIGHT. So this would be 3 lines of code, I guess.

    • kracovwolfK

      not all characters removed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      61 Views
      PeterJonesP

      @kracovwolf ,

      [?i-s].*?music.*

      The [?i-s] is a character class matching the question mark or lowercase i through s. I think you meant (?i-s) to change mode to match case-insensitive with . not matching newline.

    • Malek AM

      Preventing Unicode Symbols From Displaying as Emojis

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      112 Views
      PeterJonesP

      @Malek-A ,

      If your active font has a glyph for that character, then whether it looks like an emoji or not depends on that font. If your chosen font does not contain the glyph, depending on your Notepad++ DirectWrite preferences, Windows OS may go through some alternate fonts to find one that has the glyph.

      For example, for Yin Yang, if I use my default Fira Code font, which does not apparently have the glyph for that symbol, it uses an emoji-style rendering, because whatever backup font Windows OS has chosen uses the emoji rendering:
      7ac95ec0-141b-4916-8dbd-7d0fab933f02-image.png

      If I switch to DejaVu Sans Mono, which does have a glyph for that font, it looks like a normal character:
      73f467c9-8ca2-4f1d-b6e3-1c26be584638-image.png

      (both those screenshots were zoomed, so that you could actually make out the character rendering)

      It’s not actually a Notepad++ specific issue: I can see similar even in my browser: ☯/☯ renders as

      3414e66a-bbd0-446e-be30-b97906eca8ea-image.png

      for me – once again, because of the font choices in the browser settings, and whether or not those fonts have a glyph for the given character.

      Windows uses what it calls the CompositeFont for doing glyph substitutions. If you change your Notepad++ Settings > Preferences > MISC > …DirectWrite… / Rendering Mode , you can influence whether or not the substitutions happen (turning it off in older versions, or to GDI (most compatible) in newer versions should stop the substitution, but might mean that all unrecognized characters show up as �.

      You can read more about CompositeFont in some of my old posts, or searching the web in your favorite engine.

      “Some characters are not displayed [Unicode]” [May 2018] “Default font for Devanagiri script” [Apr 2019] “门这个字显示有问题” [Oct 2024] search here for other mentions of CompositeFont [insert link to favorite search engine’s results here]

      The web search is mostly likely to be helpful in figuring out how to edit your Windows OS settings to make use of a different backup/alternate font for a given range of characters, if you end up going down that route.

      But the best advice is to pick a font that has a glyph that you like for every unicode character you care about. (Easier said than done, I know)

    • jhyslopJ

      Monitor (tail -f) prompts to reload file

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      15
      2 Votes
      15 Posts
      16k Views
      PeterJonesP

      @ryangray01,

      Again, your only contribution in this topic was to reiterate phrases that had already been used in other posts. Please try to include your own unique perspective in posts. You now have two “could be AI nonsense” strikes against you. You are on very thin ice at this point.

      This was tested on Notepad++ v7.8 (32-bit) on Windows 10 (64-bit)

      Why would anybody still be using v7.8 (32-bit) on Windows 10 (64-bit) – in 2019, when the original discussion was started, that was reasonable. But 6 years later, when Notepad++ is to v8.8.1, and Windows 10 is at the cusp of end-of-support from Microsoft, I cannot believe you are actually still using that setup, or that there is any benefit today to trying to replicate that 6-year-old setup.

    • Aaren MyattA

      Is there a We don't stand with Ukraine version?

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      2
      -2 Votes
      2 Posts
      262 Views
      CoisesC

      @Aaren-Myatt said in Is there a We don't stand with Ukraine version?:

      I don’t think labelling a stance on a war on a software download is very sensible.

      The developer who has made this software possible clearly believes in the cause enough to attach it to his work. If that troubles you too much for you to feel good about using it, it’s open source software. You can clone it on GitHub and build it yourself with any changes you like.