• Text Case Formatting

    4
    0 Votes
    4 Posts
    286 Views
    katty perryK

    @Alan-Kilborn said in Text Case Formatting:

    @Mark-Kani

    Take your pick of case-change options:

    1f961d62-bb01-4e86-8c47-eda942d1bab9-image.png

    Don’t be surprised if none of them 100% ever meet your exact need (for your data).

    If you are addicted to the right-click way of doing it, you can customize that menu to add the ones you use most; read about how to do that HERE.

    @Alan-Kilborn said in Text Case Formatting:

    @Mark-Kani

    Take your pick of case-change options:

    1f961d62-bb01-4e86-8c47-eda942d1bab9-image.png

    Don’t be surprised if none of them 100% ever meet your exact need (for your data).

    If you are addicted to the right-click way of doing it, you can customize that menu to add the ones you use most; read about how to do that HERE.

    that is really useful information which you shared , i was also facing the same problem, thanks mate!!!

  • UDL trigger modifiers

    2
    0 Votes
    2 Posts
    237 Views
    EkopalypseE

    @gibberishbc

    the official documentation is here and no, a ^ does not mean it has to be the beginning of a line. If you think this has to do with regex, then no, UDL doesn’t support regex yet.

    The ultimate truth is in the source.

  • Remove tag when using "tab" button

    3
    0 Votes
    3 Posts
    206 Views
    ?

    @PeterJones
    Ok, whatever it is, thanks, you are very helpful.
    My concern was just personal taste when seeing the text in Notepad++.

  • AutoCompletion in Dark Mode

    12
    0 Votes
    12 Posts
    1k Views
    Alan KilbornA

    @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.

  • Function lists are empty for C header files

    2
    0 Votes
    2 Posts
    211 Views
    rdipardoR

    The builtin function parser is just a simple regex matcher that expects to see a { after every parameter list. Your source file would have to implement test() for it to appear on the list.

    The smart detection you’re expecting can be provided by a tag parser. One of these plugins may help:

    https://github.com/d0vgan/TagsView/releases https://github.com/pnedev/nppgtags/releases https://github.com/vinsworldcom/nppTagLEET/releases
  • Help wanted with XML editing

    3
    0 Votes
    3 Posts
    303 Views
    PeterJonesP

    @John-Russell ,

    Notepad++ is doing its best in syntax highlighting the invalid XML you are feeding it.

    I confirmed with the Hive Mind that XML comments (<!-- ... -->) are not allowed inside the open tag (<GameData ... >)
    b3b619ac-c834-464f-b02d-920bd0e11487-image.png
    – specifically, that first match is quoting from this SO answer, which links to another one

    For example:
    c6d40b77-02ff-4325-98ca-97ff6b273d82-image.png

    6c647d96-da16-4a1a-8149-c5577c5c7191-image.png

    So the strange highlighting successfully told you that you were doing something wrong. It’s probably time for you to go study XML some more, to better understand the rules for the language. (And this Forum is not the right place for generic XML learning/questions)

  • Can not see images when opening in browser

    6
    0 Votes
    6 Posts
    2k Views
    Lycan ThropeL

    @coleg55 said in Can not see images when opening in browser:

    I will right click that alt portion and will come to a page that says my file does not exist

    In addition to what has been said by Peter and Terry, you also may not have included the full path to that picture, hence, as the document only looks in it’s current directory and if it’s not there, it doesn’t exist, but as the others have stated, that’s a problem of your HTML coding, it has nothing to do with Notepad++.

  • Setting up NP++ on new PC

    9
    0 Votes
    9 Posts
    340 Views
    Betsy GarfieldB

    @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. :-)

  • Find and Replace

    21
    0 Votes
    21 Posts
    3k Views
    TanquenT

    @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.

  • NppGtags occur "vector<T> too long" with v8.4 and later

    6
    0 Votes
    6 Posts
    580 Views
    Michael VincentM

    @goldfish-village said in NppGtags occur "vector<T> too long" with v8.4 and later:

    @michael-vincent Thanks, I got response from GitHub

    Great - @pnedev is a very responsive developer, pretty sure there’d be a fix soon, if not one already (which I seems like there was).

    Cheers,

  • How to move text block between two other text blocks?

    5
    0 Votes
    5 Posts
    462 Views
    PeterJonesP

    @hudson4351 ,

    Or alternately, column select, click-and-hold on the upper left b, then drag so the cursor is two spaces after the first bar and then drop: it will be in the new location

  • Layout breaks after a few days

    28
    0 Votes
    28 Posts
    4k Views
  • How to copy as extended, eg CRLF to \r\n

    5
    0 Votes
    5 Posts
    2k Views
    Alan KilbornA

    @patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:

    I want text with the extended notation which I can edit.

    I’ve found a method for this, with 8.4.2 software, but it is definitely not specific to this version (just documenting which version I used):

    select some multi-line data press Ctrl+f to bring up the Find window select a Search mode of Normal run a Find All in Current Document search

    Note that the Find what field now (post-search) contains text in “extended notation”, which may be copied elsewhere and edited. Note also that the Search mode has been changed to Extended.

    Example:

    Start with this text:

    456 abc 123 def

    Select text as follows:

    1fc0c11f-dffc-4944-845f-85af99617ead-image.png

    Press Ctrl+f. Set up this search (important – don’t change what was auto-populated into Find what):

    2fc7996e-d8a4-4428-aaec-8ce73b77c587-image.png

    Press the Find All in Current Document button and see how the Find what box content has changed:

    74f0195b-417c-4126-8de6-f72340aa9e89-image.png

    The Find what box data can now be copied elsewhere and edited, as it is now abc\r\n123\r\n.

    Note also that the Search mode has been changed to Extended.

    BUG:

    Repeat the experiment, but this time change the Search mode to Regular expression and change one character in the Find what data to a . before running the Find All in Current Document search:

    8f8d7cfe-846b-4e4a-9de1-b6e27199cfb8-image.png

    The result of the search: no matches.

    45a83617-4866-408a-a792-b86a8a5db8d6-image.png

    There should be 1 match. :-(

    This happens because Notepad++ changes my search from a Regular expression search to an Extended search, before the search happens. :-(

    For more info, see https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11847.

  • Very new to notepad++

    37
    0 Votes
    37 Posts
    4k Views
    John RussellJ

    Above code works perfectly 😁 Thank You 👍

  • Horizontal line question

    38
    0 Votes
    38 Posts
    10k Views
    Snabel42S

    @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

  • code occurrences bookmark on scrolling bar

    4
    1 Votes
    4 Posts
    493 Views
    Alan KilbornA

    Note that although the OP in this thread has used the term “bookmark”, what is being discussed has nothing to to with Notepad++ bookmarks.

    What the OP means is more tied to the Notepad++ Smart Highlighting feature – the feature that, if you double-click a word, Notepad++ highlights in light-green coloring all of the matches in the text of the document.

    OP would like location in the doc of such matches to be highlighted as a small rectangle on the vertical scrollbar of the document.

    This is similar to other some existing requests, to do same type of thing when a true search is run, e.g., a Find Next or a Find All in Current Document.

  • Auto-delete closing brackets after deleting opening brackets.

    4
    0 Votes
    4 Posts
    1k Views
    Lycan ThropeL

    @terry-r ,
    I agree with your analogy, but as the OP has “shown” what he starts and wants to end with, Alan’s answer is germane to the question at hand, whilst your’s evokes a new creature feature. :-)

  • How to jump to previous active tab/file with PytonScript?

    9
    0 Votes
    9 Posts
    609 Views
    Alan KilbornA

    @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.

  • Replace a string with space

    4
    0 Votes
    4 Posts
    349 Views
    MachineThatGoesP1NGM

    Highlight and press space right ? is that not what your looking for?

  • Access Violation Specifically With 'Unwrap Text' within TextFX

    15
    0 Votes
    15 Posts
    1k Views
    PeterJonesP

    @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)