• UDL folding closer questions

    11
    0 Votes
    11 Posts
    1k Views
    SBICNCUserS

    @peterjones It becomes a little messy if I can’t collapse sections around the child elements. There are a lot of classes and CLASS isn’t the only entity with this problem.

    I’m going to have to decide if that’s good enough or if I need to put more work into this. The whole purpose of this is that I need to start parsing some data from these files programmatically and the structure makes it very difficult to follow. The format doesn’t lend itself well to syntax highlighting.

  • How to add lines in specific locations

    21
    0 Votes
    21 Posts
    3k Views
    ImgemaI

    @alan-kilborn

    Your solution worked. I added the missing “/” in the second <thumb> part where it was needed and by using “replace all” it applied the lines in all entries.

    Thanks all for the replies :)

  • Global override exceptions ?

    3
    0 Votes
    3 Posts
    341 Views
    post manP

    @michael-vincent Works, thanks! Did not consider that

  • Parallel searching for 2 Names

    11
    0 Votes
    11 Posts
    3k Views
    Alan KilbornA

    @guy038 said in Parallel searching for 2 Names:

    SEARCH (?s-i)(?:(Name_1)|(Name_2)).{0,2000}?(?(1)(?2)|(?1))

    I think if you are making this into a generic formula, it should be:

    (?s-i)(?:(Name_1)|(Name_2)).{0,Max_chars}?(?(1)(?2)|(?1))

  • Change / Save encoding How to convert 800 txt files UTF-8 to UTF-8-BOM

    23
    0 Votes
    23 Posts
    8k Views
    EkopalypseE

    @hellena-crainicu

    That works for me too.

    e7b5ba8e-5e9f-4164-ac83-1f8e62771b78-image.png

  • Searching a file between a text and Hex value

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @aelita-stones

    Sorry, probably not many are going to click on links to websites they don’t recognize. The proper instructions for making a posting such as yours are found HERE.

  • FILE Shoot Out Menu is TOO BIG

    4
    0 Votes
    4 Posts
    367 Views
    Jdawg JdawgJ

    7ee60407-8c62-4b24-8b6f-0762a228d06a-image.png

    Thank you! You were absolutely CORRECT.

    SOLVED.

  • How to delete the last 14 characters from a string

    3
    0 Votes
    3 Posts
    348 Views
    Red Sox CenturyR

    @alan-kilborn said in How to delete the last 14 characters from a string:

    (?-s).{14}$

    Dear Mr. Kilborn -

    My word. Thank you so much for not only pointing out that I was asking about two different things but also for solving my issue. I’m so grateful. I’m going to try and work this out in my head so I understand this even though at my age its hard to concentrate on things like this. But I can still try.

    I hope you have a great day and find joy in helping this old guy work something out that IS way out of his (my) league.

    –Red

  • Debug info dialog, what does Current ANSI codepage mean?

    8
    0 Votes
    8 Posts
    1k Views
    guy038G

    Hi, All,

    Forgot to mention that I got the main information from this link :

    https://stackoverflow.com/questions/53691278/how-to-see-which-ansi-code-page-is-used-in-windows

    BR

    guy038

  • Bookmark or pass particular "replace" command via cmdline?

    6
    0 Votes
    6 Posts
    415 Views
    Alan KilbornA

    These currently-open requests for the software might be relevant, if my interpretation of the OP’s desire is correct:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5823 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4700
  • findText

    5
    0 Votes
    5 Posts
    385 Views
    Paul WormerP

    @paul-wormer I updated to version 2.0.0 via GitHub and now it works. Windows defender warned severely for viruses though, which I somewhat reluctantly ignored.

  • How to remove all leading paths from each line?

    3
    0 Votes
    3 Posts
    907 Views
    Frank TennetF

    @alan-kilborn

    Great! It works

  • Autocomplete Items Order Issue

    35
    0 Votes
    35 Posts
    7k Views
    pnedevP

    @valery-bogomolov ,

    This thread is becoming rather mixed-up.
    Please open an issue in NppGTags repo to discuss its autocomplete problem there.

    At first look it seems that the parser you are using (GTags maybe) is not recognizing some symbols in your codebase. AFAIR, the parser won’t be able to parse Unicode right if you are using it.

  • text and CSV file saving issues time stamps problem

    2
    0 Votes
    2 Posts
    402 Views
    PeterJonesP

    @john-ellenberger ,

    In general, Notepad++ does update the time stamp when it writes a file… I have no problems with timestamps not being right when Notepad++ writes a file no matter where it’s written. This is likely because it’s not really Notepad++ that handles timestamps, but the OS interacting with the filesystem.

    That said, Microsoft applies magic to lots of their tools, and Sharepoint is probably no exception.

    Unfortunately, without access to a Sharepoint that I have write permission on (and without being able to figure out how to map a sharepoint location to Windows Explorer), I cannot replicate your problem.

    Given that every MS search location for “map sharepoint drive” says something to the effect of “Mapping a network drive uses WebDav, an older technology which is slower and less reliable than syncing SharePoint files with the new OneDrive sync client. …”, I think MS is moving away from mapped sharepoint drives. If you have the option of accessing your sharepoint through OneDrive instead, that might be more reliable (and in OneDrive, if you tell it to “always keep this file on my computer”, then Notepad++ should have no problem writing to it and keeping the timestamp up to date… at least, I have never had a file saved from Notepad++ to my OneDriveForBusiness location not save the timestamp correctly).

    Sorry I couldn’t give you a nice easy solution.


    edit: rephrased first paragraph, because certain readings made it look like I was contradicting myself

  • Search and replace problem

    3
    0 Votes
    3 Posts
    779 Views
    Mike CustoderoM

    @peterjones

    Thank you so much
    Mike

  • UDL comment entries.

    16
    0 Votes
    16 Posts
    1k Views
    PeterJonesP

    @pasha-19 ,

    I must apologize for being obtuse.

    After looking into this report and this issue #11239, it looks like v8.3.1 is doing something weird with the UDL comment entries, but worked properly in v8.3 and earlier. I now think there was a regression in the UDL Comment handling in v8.3.1. Given the description you showed above – especially with the XML showing single-digit rather than double-digit in the tag value – I believe the problems you were having with Comment Line syntax are caused by the same issue.

    Hopefully it will be fixed in the next release of Notepad++ – until then, stick with v8.2.1. And again, sorry for not groking what you were trying to say.

  • Autocompletion in macro

    2
    0 Votes
    2 Posts
    243 Views
    PeterJonesP

    @martin-šulák ,

    I’ve never done that before, so I don’t know if it’s possible. However, since you think it used to be possible (but your question implies that it no longer works): my bet is that you have recently updated to v8.2.1 or v8.3.0. If so, you will have to go into Settings > Preferences > Auto-Completion, and click the checkbox on for ☑ ENTER to re-enable ENTER as the auto-completion key. Once that is done, I think your old macro might work again.

  • Notepad++ 8.3.x won't start anymore

    11
    0 Votes
    11 Posts
    1k Views
    Mark BeavenM

    I had similar symptoms - application stopping after a few seconds after the update to NP++ 8.3.1, although I didn’t get an error pup-up. I found it was caused by the plugin “Task List”. I see you have that plugin too.

    To resolve, I had to open NP++ with only a blank document (as soon as there is any text it crashes) and uninstall “Task List”. To be able to do this, you may have to delete your session file, “…\AppData\Roaming\Notepad++\session.xml”

    Any files you had opened in your session will be in “…\AppData\Roaming\Notepad++\backup” so you shouldn’t lose anything.

    Hope this helps.

  • Find and select multiple lines to change order

    18
    0 Votes
    18 Posts
    928 Views
    guy038G

    Hi, @darthdata and All,

    In this case, change the second regex S/R into this one :

    SEARCH (?-is)^.+(?:PST|MST|MDT)(?=\R(?:.+(?:PST|MST|MDT)\R)*?(Account: .+)\R(.+))|^(.+\R){2}

    REPLACE ?1\1 - $0 - \2

    BR

    guy038

  • Embed a hyperlink to text?

    3
    0 Votes
    3 Posts
    453 Views
    Alan KilbornA

    @sadicus

    Can’t be done.
    Notepad++ is a text editor; nobody using a text editor wants textual content that can’t be seen, or is obfuscated.