• functionlist problem

    22
    0 Votes
    22 Posts
    2k Views
    PeterJonesP

    @swegmike said in functionlist problem:

    Is there a way to have the functionlist show multiple lines

    Nope

    Or where the regexp can manipulate the multiline into one for the functionlist to display it completely

    I believe the manual explicitly stated that the functionalist regex cannot change the text; it is a match-only expression

  • 2 Votes
    11 Posts
    517 Views
    swegmikeS

    @PeterJones I’ll need to think about what you wrote.

    However, this is why I was using this particular reqexp based on the help from reg101 tester website. (see their help explanation below).
    This seemed to satisfy an If statement true/false condition. For the no part, I was matching another word to see how it worked with the intent of changing this to empty. Then my named group “COND” would be null, but in reality it just matched every word and then marked them as null in the string since there was no match - not what I was expecting either.
    So if COND matched “if” show it in the functionlist and if it contained a colon before it skip it and not show it in the functionlist. Moreover, when COND is no/false that the second match of empty, this result wouldn’t be shown in the function list since its null (but I would end with alot of null matches within a line of code being parsed)…

    Lookahead conditional

    (?(?=…)yes|no)
    If the lookahead succeeds, matches the pattern before the vertical bar. Otherwise, matches the pattern after the vertical bar. The lookaround can be negative also. Global flag breaks conditionals.
    Example: Thus for true it highlights “is delicious”

    /(?(?=is)(is delicious)|(disgusting))/
    Candy is delicious or disgusting.

    Since the functionlist displays functions, I need to ignore if and while statements and not show them in the functionlist but when they are overloaded by preceding them with :: such as ::if, which can be defined by a function that gives if a modified meaning, I need to show them in the functionlist. Same for while or any operator such as + - / * = etc.

  • Save on exit preventing computer reboot

    12
    4 Votes
    12 Posts
    1k Views
    Reiner KellerR

    @Maxitrol-Mat Whether black is good or not depends on the contemporary interpretation… ^^
    I remember from my student days that we had to replace a NEXT station computer and scrap it per se because it was completely black (case, monitor, keyboard)
    But at the same time, consequently, all Windows 3.0 to at least Windows 7 computer systems should have been scrapped, because the default color is white/black and could hardly be changed and pretty much never was, which clearly violates the German workplace guidelines for eye protection…

  • View>Show All Characters not showing all

    3
    1 Votes
    3 Posts
    622 Views
    ConexorC

    @Alan-Kilborn said in View>Show All Characters not showing all:

    you have not fully embraced the Unicode concept – you probably should.

    Feels like PHP hasn’t embraced Unicode.

    I’ll read the other references in regards to options and ways to guard against this issue. Thank you.

  • Font: Folder as workspace

    2
    0 Votes
    2 Posts
    196 Views
    No one has replied
  • Season's Greetings

    2
    7 Votes
    2 Posts
    201 Views
    Lycan ThropeL

    @Terry-R ,

    And to you and yours and all the NPP people.

    My humble abode.
    HouseInLights2.png

  • How to delete ‘placeholder lines’ from a log file

    15
    2 Votes
    15 Posts
    872 Views
    K.M. RichardsK

    I just wanted to come back and thank everyone again for their help. As I had hoped, I took parts of multiple suggestions and came up with a sequence of search-and-replace steps which has reduced my log editing time to under ten minutes for a full week’s worth. Two months into the new process and not a single glitch!

    Best of all, I increased my knowledge base in the process. I love it when solving a problem results in my learning something new!

    Again, thank you all for your help.

  • User manual typing errors

    5
    1 Votes
    5 Posts
    289 Views
    datatraveller1D

    Hi @Alan-Kilborn ok thank you, I have just created the issue https://github.com/notepad-plus-plus/npp-usermanual/issues/457

  • 0 Votes
    3 Posts
    1k Views
    PeterJonesP

    @Arthur-Alunts ,

    The font you set in Notepad++ is just how the text is displayed in the entire Notepad++ application – and every text file you open. Font information is not saved inside text files. If having multiple fonts in your document is important to you, then you need to look for a “word processor”, not a text editor. Notepad++ is a text editor, not a word processor. (Word processors include the bundled-with-Windows MS Wordpad, or MS Office’s Word, or free ones like LibreOffice. But word processors are not the subject of this forum, so that’s as much as you’ll get about word processors here.)

  • XML tools > Pretty files in a folder

    6
    0 Votes
    6 Posts
    1k Views
    dinkumoilD

    @PeterJones

    Sorry for my late response, but I visit the forum only occasionally.

    It seems like you felt my last comment was in some kind offending, rude or at least harsh. If this is true I beg you pardon, it was not my intention to be like that. Maybe it seems so because English is not my mother tongue and I was not able to find an appropriate wording when I quickly fired off my comment.

    And of course no one can know every single detail of all plugins, even if they use them themselves.

  • Bookmark by style

    11
    1 Votes
    11 Posts
    3k Views
    Alan KilbornA

    The marker ID used for bookmarks changed in Notepad++ 8.4.6 (and later). It is now 20, instead of 24. So, all references to 24 in this thread and/or its script(s), should be changed to 20.

  • Bookmark Scrollbar display

    13
    2 Votes
    13 Posts
    6k Views
    Alan KilbornA

    The marker ID used for bookmarks changed in Notepad++ 8.4.6 (and later). It is now 20, instead of 24. So, all references to 24 in this thread and/or its script(s), should be changed to 20.

  • All bookmarks list view

    20
    2 Votes
    20 Posts
    5k Views
    Alan KilbornA

    The marker ID used for bookmarks changed in Notepad++ 8.4.6 (and later). It is now 20, instead of 24. So, all references to 24 in this thread and/or its script(s), should be changed to 20.

  • How to mark lines above marked lines

    14
    0 Votes
    14 Posts
    19k Views
    Alan KilbornA

    The marker ID used for bookmarks changed in Notepad++ 8.4.6 (and later). It is now 20, instead of 24. So, all references to 24 in this thread and/or its script(s), should be changed to 20.

  • New setting to adjust font sizes ?

    9
    0 Votes
    9 Posts
    375 Views
    Ian TurnerI

    @Alan-Kilborn No problems, I am just grateful that you guys were there to improve my understanding of NotePad and it’s configuration.

  • Loosing previous session on reopen

    2
    0 Votes
    2 Posts
    231 Views
    xomxX

    @Maxima-120

    Your N++ debug info? (paste here info from the N++ menu ? -> Debug Info…)

    Was there a Windows restart/shutdown involved? I mean - you (or Windows OS itself) restarted your PC while N++ was still running and then you have lost your N++ tabs after reopening the N++?

  • Hide comments mode

    11
    0 Votes
    11 Posts
    5k Views
    Alan KilbornA

    There’s a possible solution for this thread’s topic, HERE.

  • What are the red and green vertical marks on the left?

    2
    0 Votes
    2 Posts
    3k Views
    PeterJonesP

    @Juan ,

    See the FAQ

  • Wikipedia vs. NP++ character sets

    5
    1 Votes
    5 Posts
    264 Views
    Paul WormerP

    @PeterJones I corrected it, one less error in WP!

  • How about if User Defined Language could override the global theme ?

    3
    0 Votes
    3 Posts
    314 Views
    EkopalypseE

    @Soyar-Tom

    See here and here.