Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • JillPlaysMC

      Horizontal line question
      Help wanted · · · – – – · · · • • JillPlaysMC

      38
      0
      Votes
      38
      Posts
      177
      Views

      Snabel42

      @peterjones if it’s interesting, I finally hunted down the relevant UltraEdit wiki page as well as a screenshot of it being used

      53912d41-6bdc-41b2-8ef1-f32e5a520a63-image.png

    • John Russell

      Very new to notepad++
      Help wanted · · · – – – · · · • • John Russell

      37
      0
      Votes
      37
      Posts
      259
      Views

      John Russell

      Above code works perfectly 😁 Thank You 👍

    • Earth Invader

      Is multi-caret editing bugged?
      Help wanted · · · – – – · · · • • Earth Invader

      25
      0
      Votes
      25
      Posts
      166
      Views

      Alan Kilborn

      I just noticed an ISSUE that seemed very relevant to this thread.

    • Pallieguy

      Notepad++ 8.4.2 not recognizing file extension to define language
      Help wanted · · · – – – · · · • • Pallieguy

      24
      0
      Votes
      24
      Posts
      230
      Views

      PeterJones

      @pallieguy said in Notepad++ 8.4.2 not recognizing file extension to define language:

      I wonder when I did that?

      Probably at one of the updates: there was a while when the installer would not notice an old installation if it wasn’t in c:\program files\notepad++, so even if you had installed to D:\notepad++\, the updater/installer would put the newer copy in c:\program files\notepad++ instead. IIRC, that has been fixed (I spent a couple minutes searching through the issues list, but wasn’t using a narrow enough set of search terms, so couldn’t find it buried in all the other results), so the next time you run the installer/updater for whatever version you end up keeping, it should hopefully default to the existing location.

    • Bob Barringer

      v8.4.2 bug
      General Discussion • • Bob Barringer

      22
      0
      Votes
      22
      Posts
      340
      Views

      PeterJones

      @rdipardo ,

      The debug instructions don’t trash anything – they temporarily rename a folder. I believe it is a solid debugging plan to try to narrow down where the problem is coming from. There are times when the plugin is at fault, even if it’s not because of the 64bit-only change in Notepad++.

      But since it bothers you, the paragraph now emphasizes 64bit for the v8.3 change:

      in the 64bit Notepad++, v8.3 updated the communication rules between plugins and the application to better handle large files (>2GB) which required all 64bit plugins that used certain protocol calls to release a new version.

    • Tanquen

      Find and Replace
      Help wanted · · · – – – · · · • • Tanquen

      21
      0
      Votes
      21
      Posts
      282
      Views

      Tanquen

      @peterjones said in Find and Replace:

      you might want to change to [^,\r\n]* for this token to avoid grabbing newlines as well

      Not sure what the issue is. For this file type the template and header rows do not end with a comma. The first field doesn’t start with a comma but that seems to be ok as it sees it correctly as a tag and stops at the first comma. So far, these rows also always end with a comma.

      If two lines where like this and did not end in a comma and ended with a tag:

      DFO_129,S9_Filters,Default,XV_195401,DFO_129 CD_132,S9_Filters,Default,XV_195401,CD_132

      I could maybe endup with this?

      DFO_129CD_132

      I think I’m ok, it seems to work and all the rows with tags end with a comma and if they did not the result would jump out at me, maybe.

      Is there any easy way to stop at the comma but not include it? Seen some examples using Find and Replace to remove an end character but not just in the find expression for marking.

    • Alan Kilborn

      All bookmarks list view
      General Discussion • • Alan Kilborn

      19
      2
      Votes
      19
      Posts
      192
      Views

      Andi Kiissel

      @alan-kilborn said in All bookmarks list view:

      If you don’t like the Ctrl+Tab feature, don’t use it.

      I do like Ctrl+Tab feature, but don’t like table like this:
      a8c880c9-a01a-4151-937b-0be79ec56586-image.png
      Ctrl+Tab feature works fine without Document Switcher been enabled!

      If you can provide some steps to reproduce, an actual bug report can be created.

      Well, starting position:
      7478ba47-57a1-494e-9e90-f10525155818-image.png
      Switch off first “Enable”, “Enable MRU…” switches off too and stays grey:
      53f0b74a-3678-4a89-bba4-ee65ce35ee74-image.png
      Restart N++, both are available:
      fe9536ca-52be-4c76-9f26-6f8305ebabf3-image.png

      And I can switch “Enable MRU…” on alone:
      a5ec43d9-f20f-41ca-ad7e-19aea5abd687-image.png
      I’m not sure that I can describe this good enough for official bug report. And perhaps there is some logic.

      Anyway, now I got things work how I like.
      Thank you!

    • john Eski

      find and replace with wildcards
      Help wanted · · · – – – · · · • • john Eski

      16
      0
      Votes
      16
      Posts
      134
      Views

      john Eski

      @guy038 Thanks Guy and Terry

      this is a machine file so certain piece have more operations than others (operations like Dimple)

      terry’s code worked really well. Thank you again Terry, now i just have to do the reading to comprehend

    • Molly Harris

      Access Violation Specifically With 'Unwrap Text' within TextFX
      Help wanted · · · – – – · · · • • Molly Harris

      15
      0
      Votes
      15
      Posts
      154
      Views

      PeterJones

      @alan-kilborn said in Access Violation Specifically With 'Unwrap Text' within TextFX:

      If you’d like to make one, I’m sure Peter Jones would be agreeable to creating an entry in the FAQ section here with such data.

      Created and initially populated

      (I had a spare hour before dinner today)

    • donho

      Notepad++ v8.4.3 Release Candidate
      Announcements • • donho

      13
      9
      Votes
      13
      Posts
      691
      Views

      donho

      FYI, the v8.4.3 binaries are updated and included an important performance fix regarding the 5. Fix Find in files performance regression since updating Scintilla (Fix #11814): The folding previous result in Search result window has been added back.

      Please redownload the binaries if you want to process your tests.

      @jg-van & @Alan-Kilborn
      You might be interested in this feature’s back.

    • Mats Køber

      Npp 8.4.2 unreponsive during edting
      Help wanted · · · – – – · · · • • Mats Køber

      13
      0
      Votes
      13
      Posts
      171
      Views

      Mats Køber

      @peterjones @Alan-Kilborn
      Just wanted to thank you guys for your feedback and advice the other day.

      After unistalling Notepad++ and deleting the folder in the programs file, as well as the one in #APPADATA#, I downloaded Notepad again, and installed xml-tools. I took the advise from @Snabel42 and unchecked some options in the plugin meny, and things seemed to work fine.

      But not for long … I belive there is some issues with the plugin, and that it affects the performance of Notepad++, making it unresponsive for shorter or longer periodes, both when using find/replace and when working more manually with the text, on the keyboard and/or with the courser.

      I’ll go to the plugin people on github and post an issue, but thanks again!

      Mats

    • Troglo37

      How Do I Customize the Toolbar?
      Help wanted · · · – – – · · · • • Troglo37

      13
      0
      Votes
      13
      Posts
      241
      Views

      PeterJones

      @peterjones said in How Do I Customize the Toolbar?:

      The second is a built-in method new to Notepad++ v8.4.2. The documentation has been updated in GitHub to explain how that works, and that will make its way to the npp-user-manual.org website in the near future.

      The updated npp-user-manual.org has been published: the Toolbar Icon Customization instructions are now available at
      https://npp-user-manual.org/docs/config-files/#toolbar-icon-customization-toolbaricons-xml

    • TBugReporter

      AutoCompletion in Dark Mode
      Help wanted · · · – – – · · · • style config autocomplete • • TBugReporter

      12
      0
      Votes
      12
      Posts
      122
      Views

      Alan Kilborn

      @Michael-Vincent said in AutoCompletion in Dark Mode:

      setElementColour

      This function does not appear to be a part of PythonScript2.
      I’m not sure why this would be, because PythonScript3 is still considered “beta”…it doesn’t make sense that any advancements wouldn’t be backported, until such time as PS3 is really released and PS2 can be sunsetted.

    • Spiros Doikas

      Add line break in paste after multi-editing
      Help wanted · · · – – – · · · • • Spiros Doikas

      12
      0
      Votes
      12
      Posts
      177
      Views

      PeterJones

      @alan-kilborn said in Add line break in paste after multi-editing:

      wait for someone else to try it, and weigh in on how it went for them

      I installed the script, selected old text and verified it was in the clipboard by pasting. Then I selected two or three disjoint sections in multi-select mode, ran the script, and then pasted, and it pasted each section of the new multi-section data with a newline between, so worked exactly as I believe it was described.

      @Spiros-Doikas , you should look at Plugins > Python Script > Show Console after running the script, and see if it is giving you an error message.

    • Reiner Bühl

      PythonScript to replace TextFX Rewrap function?
      Help wanted · · · – – – · · · • textfx pythonscript python script • • Reiner Bühl

      11
      0
      Votes
      11
      Posts
      49
      Views

      PeterJones

      @Ekopalypse said in PythonScript to replace TextFX Rewrap function?:

      There is a fill method that does the “joining” - let’s see if that needs to be called in advance.

      It might not have been the way you thought of, but I used an re.sub() in the rewrap function which first merges the equivalent of \h*\R into a single space. With that, and using the replace_whitespace=True, the behavior of the script seems to match the essential nature of the Rewrap command from TextFX:

      # encoding=utf-8 """ PythonScript replacement of TextFX>Edit>Rewrap https://community.notepad-plus-plus.org/post/78161 Author: @Ekopalypse , with input from @PeterJones """ from Npp import editor, notepad from textwrap import wrap import re def rewrap(text, pos): joined = re.sub(r'\h*(\r\n|\r|\n)', " ", text) return wrap(joined, pos, expand_tabs=False, replace_whitespace=True, break_on_hyphens=False) def main(): pos = int(notepad.prompt('Wrap at position:', 'ReWrap', '72')) if pos < 8 or pos > 2048: pos = 72 start, end = editor.getUserLineSelection() start_pos = editor.positionFromLine(start) end_pos = editor.getLineEndPosition(end) rewrapped = rewrap(editor.getRangePointer(start_pos, end_pos-start_pos), pos) eol = {0:'\r\n', 1:'\r', 2:'\n'}[editor.getEOLMode()] editor.setTarget(start_pos, end_pos) editor.beginUndoAction() editor.replaceTarget(eol.join(rewrapped)) editor.endUndoAction() main()
    • P Fue

      Install Plugins without Admin Rights and Internet Connection - Manual Way doesn't work.
      Plugin Development • • P Fue

      11
      0
      Votes
      11
      Posts
      102
      Views

      inmizi miz

      @PeterJones said in Install Plugins without Admin Rights and Internet Connection - Manual Way doesn't work.:

      @p-fue ,

      If you want to do a manual installation of HTML Tag plugin:

      Note that the Plugins Admin lists the now-official home of HTML Tag as https://bitbucket.org/rdipardo/htmltag/ , not that ancient sourceforge link; and that points to https://bitbucket.org/rdipardo/htmltag/downloads/ as the downloads location Download the zip file for the 64bit plugin unzip the plugin to a temporary location Do not use the Settings > Import > Import plugin(s). Exit Notepad++. Create a new folder ...<notepad++install-location>\Plugins\HTMLTag\ Copy all the files from the temporary location to ...<notepad++install-location>\Plugins\HTMLTag\ Restart Notepad++ The plugin will be in the Plugins menu if you have followed these correctly

      The only time that Settings > Import > Import plugin(s) works is if your plugin only has a DLL and no other files; the HTMLTag has other files, so Settings > Import DLL will not work, because it will not put the other files in the right place.

      i was also looking forward to add plugins to my site but i was feeling so worried because i didn’t have enough knowledge but your discussions have made me so confident to install them . thank you so much

    • Timur Kelman

      Missing lexers from Lexilla?
      Help wanted · · · – – – · · · • • Timur Kelman

      11
      0
      Votes
      11
      Posts
      181
      Views

      Ekopalypse

      @peterjones

      congrats, very nice. In the future it may be easier to create them with the newly added NPPM_CREATELEXER message.

    • Betsy Garfield

      Setting up NP++ on new PC
      Help wanted · · · – – – · · · • • Betsy Garfield

      9
      0
      Votes
      9
      Posts
      35
      Views

      Betsy Garfield

      @alan-kilborn

      Somebody helped me set up the new pc (it’s an old fashioned tower). He downloaded apps from a list I made. I don’t know exactly where or how he did it. The ‘weird icons’ were there and I doubt he fiddled around with those settings. I’m sure he accepted all the default suggestions on first install.

      Thank you for your comments. Thank you all for speedy replies! I appreciate it. If I need more help I will try to be specific and not vague. :-)

    • Andi Kiissel

      How to jump to previous active tab/file with PytonScript?
      Help wanted · · · – – – · · · • • Andi Kiissel

      9
      0
      Votes
      9
      Posts
      121
      Views

      Alan Kilborn

      @andi-kiissel said in How to jump to previous active tab/file with PytonScript?:

      notepad.activateIndex(view, index)

      You need to put this together with notepad.getFiles() as it is an iterable that returns all of the necessary information. See the help for that function and you’ll see what I mean.

    • MachineThatGoesP1NG

      Notepad customization is it possible?
      Help wanted · · · – – – · · · • • MachineThatGoesP1NG

      8
      0
      Votes
      8
      Posts
      140
      Views

      MachineThatGoesP1NG

      @peterjones

      You misunderstood… I meant if there is currently a way to change it that i don’t know about i will try to learn how to do it to see the changes for the notepad++ I’m using.

      I don’t expect anyone to implement these changes into any issue of the program, if that is what this forum is for, I’m sorry i misunderstood.

      When little things can be changed it adds greatly to the overall experience.

      Thanks for the help though.