• AutoCompletion startFunc

    Locked
    10
    1 Votes
    10 Posts
    2k Views
    PeterJonesP

    Also, assuming @Finn-McCarthy (original poster) is the same person as the second user @Finn-Mac: you will have to be logged in as @Finn-McCarthy to mark @Finn-McCarthy’s Topic as solved.

  • Submitting Documentation Proposal - How to Build Notepad++ from Source

    Locked
    1
    2 Votes
    1 Posts
    686 Views
    No one has replied
  • Windows 10 Subsystem: bash.exe not found.

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Halley SouzaH

    Hi Peter,

    Indeed I was running 32bit.I just updated it to 64bit and NPP now find the bash.exe on the dir %WINDIR%\System32 with no problem.

    Thank you for the help.

    Halley

  • Search / Replace folders and subfolders

    Locked
    2
    0 Votes
    2 Posts
    946 Views
  • Remove this type of "prefix"

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Scott SumnerS

    @Shyvering-Barhard

    (?-s) -> prevent any following. usage from matching end-of-line characters
    ^ -> only allow match at start-of-line
    .+ -> (from start of line), match one or more characters of any type (except end-of-line)
    : -> match a literal :
    \x20 -> match a space (could have just used a space but it is hard to see on this site, also, in this case could have used \s or \h)

    Check out this posting! : https://notepad-plus-plus.org/community/topic/15765/faq-desk-where-to-find-regex-documentation

  • 1 Votes
    1 Posts
    767 Views
    No one has replied
  • 1 Votes
    6 Posts
    2k Views
    Shyvering BarhardS

    Forget about that before, I found the solution @scott-summer

  • Macro failed to playback in BLOCK EDIT MODE

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    guy038G

    Hello @daidaiworm, and All,

    I could not post anything for a while, due to some “Guru meditation...” ! In the meantime, You’ve got, from @Scott-sumner, the right solution :-)) I exactly thought about the same regex S/R. Here is my initial post, which was ready… to be moved on line !

    I didn’t test the column mode feature, while building macros, but I would use, instead, a macro based on a search/replacement operation.

    So, if you replace your macro block, in the shortcuts.xml file, with the following block :

    <Macro name="nppMacro_eric" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s).+" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="\($0\)" /> <Action type="3" message="1702" wParam="0" lParam="768" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> </Macro>

    you should obtain a reliable macro and expected results :-))

    Notes :

    The 1601 message initialize the search/replacement operation

    The search regex (?-s).+ is inserted at the end of the 1601 message and search for the greatest range of standard characters so all line contents, without its line-break

    The number 2, in message 1625, means that search is performed, in regular expression mode

    The replacement regex \($0\) is inserted at the end of the 1602 message and rewrites a literal ( symbol, then all the search match ( $0 ) and, finally, the literal ) symbol

    The flag number 768, in message 1702, represents the sum 512 ( Down direction) + 256 ( Wrap around )

    The command number 1609, in message 1701, stands for a hit on the Replace All button

    Best Regards,

    guy038

    P.S. :

    For a complete list of the search /replace encoding, in the shortcuts.xml file, refer to the link, below :

    http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#Search_.2F_Replace_encoding

    Note that the flag value 512 means Search goes downwards ( and not upwards ! )

    Be aware that when you use the command value 1614 ( Count ), the Find dialog must have been previously opened !

  • What RegEx Engine/Flavor?

    Locked
    17
    2 Votes
    17 Posts
    9k Views
    guy038G

    Hi, @claudia-frank, @peterjones, @scott-sumner, @dail, @mapje71, @jim-dailey,

    Done ! It was easier, than I first thought, to move these FAQ Desk: posts in the new FAQ section. A move topic command was available ! So, no need to save contents and re-create these posts ;-))

    I also, verified that your previous links to any FAQ Desk: post, has been preserved by the “move”. So, everything is fine !

    We just have, now, to go on filling up that new FAQ section, with pertinent posts !

    Best Regards,

    guy038

  • Blank Lines and Whole Words in UDL 2.1

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    FrontMan08F

    @Claudia-Frank

    Thanks for the feedback. I had a feeling I was running up against the edge of UDL’s capabilities. I’ll have to explore the python scripting approach or some other workarounds for now.

  • Hidden </p>

    Locked
    2
    0 Votes
    2 Posts
    726 Views
    Claudia FrankC

    @Bruce-Coyne

    without additional infos I assume this is caused by a plugin.
    Could you post some screenshots/gifs?

    Cheers
    Claudia

  • 0 Votes
    2 Posts
    865 Views
    Claudia FrankC

    @Vishal-Sehgal

    I don’t really understand what you are trying to achieve.
    Do you want to post some examples with before and after comparison
    like, I do have

    line with number 517189292 and some text another line with different number 1189292 and some text again a line with number 517189292 and some text and another line with different number 1189292 and some text

    and I want to have a result like this

    another line with different number 1189292 and some text and another line with different number 1189292 and some text

    Does this makes sense to you?

    Cheers
    Claudia

  • Finding and deleting entire paragraphs.

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    byron blackmoreB

    That works. Thank you very much!

  • Import xlsx list

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Magnus BrodinM

    You are an angel :-) My mistake is that I tried to copy from Excel instead of making a new document i Notepad++ and that resulted in many very strange things. Now everything is ok. Thank you!

    Best regards Magnus

  • Notepad++ Cannot Backup Text files - Windows 10

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Mark-Warbinek

    I assume you hit the MAX_PATH (260 characters) limit, which means
    the amount of characters in the full path is not allowed to exceed 260 chars, might this be?
    If so and because you are on windows 10 there MIGHT be a solution.
    Stop npp and edit the registry

    HKLM\SYSTEM\CurrentControlSet\Control\FileSystem

    add a REG_DWORD variable called

    LongPathsEnabled

    and give it a value of

    1

    See here for the explanation of this.

    Note, I don’t have any experience with this key but rumors on the web say
    that 32bit applications might have issues when having set this key and using
    api calls which do respect that key.

    Cheers
    Claudia

  • 1 Votes
    5 Posts
    10k Views
    Meta ChuhM

    @kichi-po
    @Scott-Sumner

    looking at the message from outer space and this:
    https://www.google.com/search?q=ascii+art&safe=off&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiY_Oe-0vvaAhWG2SwKHUqfB78Q_AUICigB&biw=1653&bih=918

    it would be a funny thing if someone creates a image to ascii art converter plugin for np++ ;-)

  • When closing a large file, NPP takes several seconds unresponsive

    Locked
    2
    1 Votes
    2 Posts
    877 Views
    Meta ChuhM

    @Alexandre-Machado

    thanks for the key information (local ssd, ntfs compression)
    i can not reproduce this delay on my ssd (non compressed folder, appx. 50mb file) using a 32 bit version of np++ 7.5.6.

    could you try to temporarily adjust some np++ settings to try out if it makes any difference ?

    settings > preferences > backup >>>
    disable following options:
    remember current session for next launch
    enable session snapshot and periodic backup
    backup on save > none

  • Issues while open txt files through mounted drive on ubuntu

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    熊适之

    Thanks for help.
    I found an option named “permissions” in ubuntu software configure just beside the option “remove”.
    Turn on “Read/write files on removable storage devices” works well.

  • How to read my document

    Locked
    2
    0 Votes
    2 Posts
    875 Views
    Claudia FrankC

    @Johnny-Shizzle

    might be but is/was this a plain text file at all?
    What is the file extension?

    Cheers
    Claudia

  • How do I strip rogue tags:

    Locked
    2
    0 Votes
    2 Posts
    807 Views
    PeterJonesP

    It’s because you’ve assumed the “convert” was in NPP, but really it’s in WordPress.

    When you copy a selection from Excel and paste into a textual context, every line ends with a newline character (so if you only select one column, every CELL ends with a newline character), and multiple columns are separated by TABs. When you paste that text into WordPress, it appears to be converting the newline into a <br />. But when you paste it into NPP, it just interprets it as an end-of-line.

    I don’t have WordPress convenient right now, but my next debugging steps would be:

    What happens if you paste into NPP, then re-copy from NPP and paste into WordPress? What happens if you paste into NPP, then use column-select (alt+drag selection), copy, then paste into WordPress?